7827 Commits

Author SHA1 Message Date
Robert Lee
b693d60c7f device.mk: enable cs35l41 related module for gs201
Bug: 198260805
Test: Builds pass
Change-Id: I56f2b7d1c786ac3c821194dced16e2f43a85f2b1
Signed-off-by: Robert Lee <lerobert@google.com>
2021-08-31 11:50:42 +00:00
Ryan Chu
e8541c4ae1 factory: zygote and rescue party properties
Add the two properties to prevent rebooting due to crashing services
That will allow for better debugging of factory target builds
1) init.svc_debug.no_fatal.zygote true
2) persist.device_config.configuration.disable_rescue_party true

Bug: 198180802
Change-Id: Icc8ec4435b80fd271d563f837bde880be1ae4df8
2021-08-31 16:03:15 +08:00
TreeHugger Robot
7b08b14329 Merge "BT: gs201: Set default Bluetooth ON in non-factory build" 2021-08-31 06:38:03 +00:00
weichinweng
9262f5c6b9 BT: gs201: Set default Bluetooth ON in non-factory build
Bug: 189728903
Test: Build pass, BT can default enable after flash ROM.
Change-Id: Ie173809569ae6f52d05c483fa98fb1d3df8f653d
2021-08-31 06:32:46 +00:00
Sam Ou
8585eb45cf Merge "powerstats: correct TPU, GPU, several DVFS buckets and frequency unit" 2021-08-31 02:10:09 +00:00
Adam Shih
f67eea1947 make sepolicy available in aosp targets
Bug: 198214600
Test: build pass
Change-Id: I113d1855f8d71b3d837a3f02974079e12ed5ddec
2021-08-31 09:12:17 +08:00
samou
21623c73d0 powerstats: correct TPU, GPU, several DVFS buckets and frequency unit
Bug: 197152245
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie4f260c643e3d19f8080436b3a0197764196ccfc
2021-08-30 07:09:18 +00:00
Adam Shih
f5ed5632e2 review recovery related operations
Bug: 196916111
Test: make sure the files are labeled correctly (ls -Z)
Change-Id: I735de8b9635c7852a18ec8f32733cb0a0abd38f3
2021-08-30 14:45:29 +08:00
Adam Shih
ffc779eaa8 review chre
Bug: 198109521
Test: boot with chre started
Change-Id: Ibca6cc3ca0049a412d36e433cb5dcb3363d60527
2021-08-30 14:02:30 +08:00
Adam Shih
e1db507a06 review cbrs app
Bug: 198107733
Test: boot with app launched.
Change-Id: I6e32a4ff04f84bba42060bffadf82466f1c7a749
2021-08-30 13:30:56 +08:00
Adam Shih
2220917375 review bipchmgr
Bug: 198102284
Test: boot with bipchmgr started
Change-Id: I29a35ac4c93749481fe08edd3c1f25bffd013224
2021-08-30 10:40:57 +08:00
Adam Shih
175d36ced8 Merge "modularize scd" 2021-08-27 07:17:53 +00:00
Adam Shih
49784e0285 modularize gpsd
Bug: 197914244
Test: boot with gpsd started
Change-Id: I4bcb0b55f95609a770810d676e8496c389b5cc73
2021-08-27 12:08:37 +08:00
Adam Shih
d646306b48 modularize hal_gnss_default
Bug: 197914244
Test: boot with hal_gnss_default started
Change-Id: I7b3d71fb9ae151363e3ce54587721ffe04d42b55
2021-08-27 11:38:00 +08:00
Adam Shih
99ab56746a modularize lhd
Bug: 197914244
Test: boot with lhd started
Change-Id: I873a151e4dc6e512b8831b936c3e057ae544888c
2021-08-27 11:29:09 +08:00
Adam Shih
76f8e12e56 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: I5cfede43239c5d49e271bdd981be2e781c5a05ba
2021-08-27 11:17:46 +08:00
Adam Shih
8f611991f7 modularize scd
Bug: 197914244
Test: boot with scd started
Change-Id: If2c033e9aaf33b47f2fe5db3507fac052dcaef1a
2021-08-27 11:16:47 +08:00
Roger Wang
49d98956fc dumpstate: remove wifi fw symbol table
In b/183180525, vendor mentioned they won't provide
fw symbol table (logstrs.bin) in terms of their internal
concern. Hence, remove wifi fw symbol table from dumpstate.

Bug: 197849117
Test: build pass, device can connect to AP.
Change-Id: I91f5c38b87fd099961a95ac2ddf7fb8232003cd7
2021-08-27 10:24:13 +08:00
Adam Shih
2cdc065832 Merge changes from topic "aoc-module"
* changes:
  modularize hal_audiometricext_default
  modularize hal_audio_default
  modularize aocdump
  modularize aocd
2021-08-26 02:47:17 +00:00
Adam Shih
7d4d5a8940 modularize hal_audiometricext_default
Bug: 197585437
Test: boot with hal_audiometricext_default initialized
Change-Id: I3d9aa576af2faefd2b03b911141d5ffdafc7902e
2021-08-25 15:40:02 +08:00
Adam Shih
930b449775 review hal_audiometricext
Bug: 197585437
Test: boot with hal_audiometricext initialized
Change-Id: Ia23c3d4936d4c6e86d427fbfaeeceace57ab630b
2021-08-25 14:43:35 +08:00
Roshan Pius
6ec775cffd Merge "gs201-sepolicy: Rename hal_uwb -> hal_uwb_vendor" 2021-08-25 00:49:38 +00:00
Adam Shih
d9c4ed7b59 modularize hal_audio_default
Bug: 197585437
Test: boot with hal_audio_default initialized
Change-Id: I90435ffa66d342ee5c96bcb872d2ebefe5b4ef7c
2021-08-24 15:18:53 +08:00
Adam Shih
ee94f61357 modularize aocdump
Bug: 197585437
Test: build ROM with aocdump labeled correctly
Change-Id: Ia2c2877a337bca6711d0f15a309b9012624ce76b
2021-08-24 14:31:54 +08:00
Adam Shih
1eeb466b55 modularize aocd
Bug: 197585437
Test: boot with aoc started
Change-Id: Ib8f3aad606f8a2c3d5d5a75287816ab4cb8318a8
2021-08-24 13:57:53 +08:00
Adam Shih
0f853db94c modularize aocd
Bug: 197585437
Test: boot with aoc started
Change-Id: I61560751a5d81816b7ecdc2e1be0eaae025a29e3
2021-08-24 11:48:00 +08:00
Roshan Pius
6fc63f75c3 gs201-sepolicy: Rename hal_uwb -> hal_uwb_vendor
Since we are now creating an AOSP HAL for uwb. Rename qorvo's internal
HAL to hal_uwb_vendor to avoid conflicts with the AOSP HAL sepolicy
rules.

Bug: 195308730
Test: Compiles
Change-Id: I0c06a9d191d6bf2f2e5c66f70be0c7f8e8aa96b4
2021-08-23 13:05:58 -07:00
weichinweng
df5cec3e17 BT audio: gs201: set A2DP offloading default OFF
Support the A2DP offloading feature, and default OFF. So, we can
switch to ON manually without compiling.

Bug: 194607800
Test: manually
Change-Id: Ibe5f799d757344df8a3106e904ab65f74826ac96
2021-08-23 11:50:29 +00:00
Adam Shih
d653791dd6 Merge "reuse gs101 confirmation UI" 2021-08-23 06:40:19 +00:00
Adam Shih
00a3bf0a8b Merge "reuse gs101 pktrouter" 2021-08-23 06:40:06 +00:00
Adam Shih
72ad95d1eb review vcd and remove obsolete declarations
Bug: 196916111
Test: boot with vcd started
Change-Id: Ic82975e998dad4437c38afc625a7a88428417b7a
2021-08-23 14:06:17 +08:00
weichinweng
6159256942 Add legacy bluetooth audio hal into audio hal
Bug: 194607747
Test: build pass, legacy A2DP pass.
Change-Id: Ic8c09bcaad57945ffdd58ea5f8136a93350fa9a3
2021-08-23 13:46:52 +08:00
Adam Shih
dcf0597594 review sced
Bug: 196916111
Test: boot with sced started
Change-Id: I9140b5bc0f7ad4efedbbbcf58f9e773e5246df74
2021-08-23 11:45:31 +08:00
Adam Shih
5656f81f62 reuse gs101 confirmation UI
Bug: 196916111
Test: boot with confirmation UI started
Change-Id: I39ff3c0eecb017bb78118a1f7b42c8ce87eda971
2021-08-23 10:56:10 +08:00
Adam Shih
6dc0391fab reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: Ie901adcba877aa11fcae188e360538c38184db00
2021-08-23 10:26:58 +08:00
TreeHugger Robot
af11b608f1 Merge "Enable CHRE components for gs201" 2021-08-18 17:24:05 +00:00
Richard Hsu
44e7ad27ed Merge "[Bringup] Enable darwinn EdgeTPU implementation of NNAPI on PRO." 2021-08-18 09:22:53 +00:00
Adam Shih
859c4dc028 reuse gs101 confirmation UI
Bug: 196916111
Test: boot with confirmation UI started
Change-Id: I8bd3f8fa83c2ec57338a4e842f9a717afc01c2bc
2021-08-18 12:58:41 +08:00
Adam Shih
d242564abd reuse gs101 pktrouter
Bug: 196916111
Test: boot with pktrouter launched
Change-Id: I10bdeccd32db50152993b64bb4b7ee2e303da017
2021-08-18 12:48:41 +08:00
Adam Shih
e7538e644a review modem_logging_control
Bug: 196916111
Test: boot with modem_logging_control launched
Change-Id: I16c810298343310003a626397d88861f47c5a207
2021-08-18 11:21:15 +08:00
Adam Shih
b12473a9de review modem_diagnostic_app
Bug: 196916111
Test: boot with modem_diagnostic_app running
Change-Id: Ic79f2048f840845ba73cc4d0853371a50ce63317
2021-08-18 11:07:37 +08:00
Adam Shih
c2582ecc01 review dmd sepolicy
Bug: 196916111
Test: boot with dmd launched successfully
Change-Id: Ic962ab09dcd7697c27f9b2ab68400a0060573888
2021-08-18 09:46:29 +08:00
Adam Shih
c1ffe9c177 Initialize gs201 to zero
Bug: 196916111
Test: boot to home with all services launched
Change-Id: I3453fc01cec5fd7b2b2a44a6f20c64e818ce1acd
2021-08-18 09:46:14 +08:00
Petri Gynther
471fb507d1 Add vbmeta_vendor_[ab] to file_contexts
Bug: 197026498
Change-Id: Icd6a6ac7b2cd302a7bc2032241ff1a540eaa5024
2021-08-17 17:30:47 -07:00
Anthony Stange
44cf3700a7 Enable CHRE components for gs201
Bug: 194284732
Test: Build and flash firmware
Change-Id: I896cc666fba238e9b429941a51e8a8a3485049e5
2021-08-17 22:54:38 +00:00
TreeHugger Robot
2d2ddfca10 Merge "storage: update sepolicy for hardwareinfoservice" 2021-08-17 21:26:55 +00:00
Ocean Chen
827b204adb storage: update sepolicy for hardwareinfoservice
Bug: 188793183
Test: run pixel/022
Change-Id: I921c4eae0744278896007183a7947f281925b24f
2021-08-17 16:25:46 +00:00
Albert Wang
09e106422b Merge "Move init.gs201.usb.rc under hw/" 2021-08-17 06:46:38 +00:00
Michael Eastwood
bdd18706de Attach the latest .cpa file to bugreports (gs201).
* Latest is determined by alphabetical order
* To find the .cpa file, unzip the bug report and run
  `tar -xvf dumpstate_board.bin`
* The .cpa file can then be found under the `camera/` directory
* This can be disabled with the prop
  `vendor.camera.debug.camera_performance_analyzer.attach_to_bugreport`

Bug: 191169822
Test: m -j
Change-Id: Iee7fbe45dfd5bbd67af0e5ebd965884b84e531ff
2021-08-16 13:28:38 -07:00
Richard Hsu
b60bfdd875 [Bringup] Enable darwinn EdgeTPU implementation of NNAPI on PRO.
The NNAPI is now fully functional and passes all the tests. This CL enables the Darwinn NNAPI
service by default on the master branch.

Adding an OWNERS file to edgetpu part of gs*01 to make review process
easier in the future.

Bug: 186425023

Test: run_nnapi_test. tflite to nnapi test.

Change-Id: I4caeb01f23526f4094799df968c96646d52e2131
2021-08-16 00:24:35 -07:00