Commit graph

2876 commits

Author SHA1 Message Date
Xin Li
27450147f9 [automerger skipped] Merge Android 12L am: 77d235d6b9 -s ours am: 6d4406037f -s ours am: 08d4de7e0d -s ours
am skip reason: Merged-In I947ab15dae07501ee61edbd94cb937c2299f865b with SHA-1 38aba3e97b is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2012790

Change-Id: I9fa27e6a4d9e230e3b440cdbbcd186d4fe327e0d
2022-03-09 10:02:52 +00:00
Xin Li
08d4de7e0d [automerger skipped] Merge Android 12L am: 77d235d6b9 -s ours am: 6d4406037f -s ours
am skip reason: Merged-In I947ab15dae07501ee61edbd94cb937c2299f865b with SHA-1 38aba3e97b is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2012790

Change-Id: Ifa6c79ea37f878d57ee11ba0c6df16d37d68730d
2022-03-08 11:04:22 +00:00
Alessio Balsini
48efd7d6bd FUSE-BPF: force disable sysprop flag
The FUSE-BPF feature has been enabled on some testing devices through
the system property flag "persist.sys.fuse.bpf.enable", but the flag
enabling change has been reverted as soon as failures has been reported.
Unfortunately, being the system property persistent, reverting the
enabling change is not sufficient to turn the feature down on devices
which already have it enabled, for which it has to be manually set to
"false".

Bug: 221812566
Test: getprop persist.sys.fuse.bpf.enable
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I87c93ddaefd79dfcf900eb2cbe2fe7518bf24755
2022-03-08 11:00:13 +00:00
Xin Li
6d4406037f [automerger skipped] Merge Android 12L am: 77d235d6b9 -s ours
am skip reason: Merged-In I947ab15dae07501ee61edbd94cb937c2299f865b with SHA-1 38aba3e97b is already in history

Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2012790

Change-Id: If8a146713d301f5f55fb305c7b81ab7febf31ca8
2022-03-08 10:19:32 +00:00
Minchan Kim
bdef8f522a gs101: remove chown for page_pinner
Since page_pinner provides enough permission frmo aosp/1742590,
it doesn't need to call chown.

Bug: 190337297
Test: adb bugreport and confirmed page_pinner dump working
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I0593e61cb4fc439c52dc884ecb52b982e1db4704
2022-03-08 05:43:46 +00:00
GOOGLE\huangaustin
70a874c5aa [PixelLogger][P21] Disable L1 relevent group/channels in default.cfg for battery drain issue
Bug: 216050634
Change-Id: I764e7f0cad6ac193b92ae418b852340e2d12723e
(cherry picked from commit 14d8556587)
2022-03-08 04:38:37 +00:00
Edwin Tung
99461f3c67 gps: Set RTO/SUPL download interval to 20 min
Bug: 220457118

Verify test: 222416929
Test: TTFF and RTO download

Change-Id: Ib8560400676b2edc59e31c0211c5d6c7b7f2d8f8
2022-03-08 03:48:40 +00:00
Xin Li
77d235d6b9 Merge Android 12L
Bug: 222710654
Merged-In: I947ab15dae07501ee61edbd94cb937c2299f865b
Change-Id: I56878913a9985115efdac74dba665228cc244ee3
2022-03-08 00:15:27 +00:00
Midas Chien
bd1dfae7be display: allow composer to access panel idle handle exit node
Bug: 202182467
Test: composer can access panel idle handle exit node
Change-Id: Ic0269cb7cb6e2597519fdd8f032de0c536dc91eb
2022-03-04 06:55:04 +00:00
Josh Wu
aad12bba4d Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2022-03-02 17:44:39 +00:00
Edwin Tung
80aaf7102c [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528101 am: a4f6715b0f -s ours am: f026300559 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16945484

Change-Id: I56c18bc63677e915416a84528a85a86adf5452cb
2022-03-02 11:25:36 +00:00
Edwin Tung
f026300559 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528101 am: a4f6715b0f -s ours
am skip reason: Merged-In I939183a899c23af7d0fb59dcd86012aa10b50b62 with SHA-1 6a2550a324 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16945484

Change-Id: I3c4e0905d5f7f6f5bd3834fa968a7355abb9adad
2022-03-02 11:00:59 +00:00
Edwin Tung
a4f6715b0f [DO NOT MERGE] gps: update gps driver 129.20.23.528101
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Iadc3a43a581103e4540bcc3acc63fa5d3e8de8fd
Merged-In: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-03-02 10:32:59 +00:00
George Lee
45db07e592 bcl: Increase hardware clock divider count am: 022020ed96 am: 1050ecb28b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: If0f23dd7f6845baa7d2b6f0fc15be9cae11fead2
2022-03-02 02:57:38 +00:00
George Lee
812b753546 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06 am: ce27c0d216
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: I2c8655ff6c9515a71611dda9f69ff31a51aeca40
2022-03-02 02:57:25 +00:00
George Lee
1050ecb28b bcl: Increase hardware clock divider count am: 022020ed96
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Change-Id: Id55132e28a32075d5d7df03119c14fdf5307d4dc
2022-03-02 02:56:39 +00:00
George Lee
022020ed96 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-03-02 02:36:56 +00:00
Ankit Goyal
9a57dded37 Include allocator AIDL service in the build
Bug: 220910504
Test: Boots to home
Test: VtsHalGraphicsAllocatorAidl_TargetTest
Change-Id: I8a36ecb0525d52022e1c21363a998cb0321bde7b
2022-03-02 01:56:58 +00:00
Rick Yiu
4f3baf3b80 Support SetProcessProfiles for vendor groups
Add ProcFilePath for vendor group change of a process.

Bug: 218684257
Test: function works
Change-Id: I2d87a1a5d27dee699b37de6fac8d8b52334ba54e
(cherry picked from commit 72b0f768ee)
2022-03-01 04:23:36 +00:00
Edwin Tung
be81c50641 gps: update gps driver 129.20.23.528102
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I6be87ae025495dd914d391905e288a2084a1393e
2022-03-01 02:16:47 +00:00
George Lee
ce27c0d216 [automerge] bcl: Increase hardware clock divider count 2p: 2f0d3bcc06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16995825

Bug: 221077697
Change-Id: I8d1101481bf4a6dc2655d378d31ca6e1579345e4
2022-02-26 21:33:43 +00:00
George Lee
2f0d3bcc06 bcl: Increase hardware clock divider count
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221077697
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I950fab2e3d70acd76b29f05acff8eec783a0546d
2022-02-26 13:33:23 -08:00
Edwin Tung
e59391675b [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528102 am: 6a2550a324 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16966310

Change-Id: Ibed6ad3c55834eb0f91d959730cc9a90a5c98ccc
2022-02-26 07:41:21 +00:00
Edwin Tung
6a2550a324 [DO NOT MERGE] gps: update gps driver 129.20.23.528102
Rescale DBH accuracy and add timestamp
Pick newest FLP location for LPPe DBH
Not to request DBH location for the non-emergency NI
Keep reqporting PPS in duty-cycle
Release SUPL wakelock while framework restart
Fix NI AGPS accuracy and hot start accuracy issue
Fix cts testRequestFlush issue
Fix gps crash issue
Fix re-calibration on the fly issue
Fix OnChip mode TTFF issue
Fix OnChip mode GnssStatus no el/az issue

Bug: 214399728
Bug: 211171235
Bug: 218586958
Bug: 215660420
Bug: 207804509
Bug: 208178903
Bug: 214551540
Bug: 213792299
Bug: 205770623
Bug: 205776935
Bug: 213009701
Bug: 218457536
Bug: 215660420
Bug: 215660420
Bug: 213388910
Bug: 218608516

Verify test: 220461118

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I939183a899c23af7d0fb59dcd86012aa10b50b62
2022-02-26 07:17:52 +00:00
Badhri Jagan Sridharan
31fb891398 Implement callbacks for limitPowerTransfer
Implements limiting the source current when limitPowerTransfer
is invoked.

Bug: 200993386
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Change-Id: Ia34dc127c1eb20254caa932db882e26e6092b945
2022-02-25 21:31:46 +00:00
Alessio Balsini
a6530a8bf6 Revert "Use FUSE BPF by default"
This reverts commit fb8a0383e3.

Reason for revert: b/221093504

Change-Id: I808f9dd315ec7b57916385c64435808d3467a244
2022-02-25 20:11:45 +00:00
TeYuan Wang
3d663b247e dumpstate: add more cooling device debug info am: 775721627a am: e75b039c88
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I637f6ad6170cff9ce072c6423e6b07fa329acc4e
2022-02-25 17:25:48 +00:00
TeYuan Wang
355788d687 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e am: 43616f9959
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: I4a74c2e3ff82caf66d60ed0d5bb63b7e861795c4
2022-02-25 17:25:40 +00:00
TeYuan Wang
e75b039c88 dumpstate: add more cooling device debug info am: 775721627a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Change-Id: Ie655d3e02e9aa2286323e8cc54d8dce9aee471a6
2022-02-25 17:25:31 +00:00
TeYuan Wang
775721627a dumpstate: add more cooling device debug info
Bug: 221369360
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
(cherry picked from commit 125d1d5833)
2022-02-25 16:52:59 +00:00
TeYuan Wang
43616f9959 [automerge] dumpstate: add more cooling device debug info 2p: 66f3f5b10e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16607169

Bug: 221369360
Change-Id: I07c5bd6ef4c7a9b445d959f894c8600f51cd69a8
2022-02-25 16:49:42 +00:00
TeYuan Wang
66f3f5b10e dumpstate: add more cooling device debug info
Bug: 221369360
Test: check dumpstate_board.txt
Change-Id: Ice04536c321d35553a948cdea2e6a1add207c2c7
(cherry picked from commit 125d1d5833)
2022-02-25 16:49:34 +00:00
Edwin Tung
e0c7482bbb [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528152 am: 623a33b4d4 -s ours am: e38f23f397 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16983909

Change-Id: Iea23ec3f8b653a6f773293bbbf22e937c3ebae29
2022-02-24 17:39:48 +00:00
Edwin Tung
e38f23f397 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528152 am: 623a33b4d4 -s ours
am skip reason: Merged-In I943fa1e906d8b0b80b6395accd71c68f97f7ed43 with SHA-1 2df653b72c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16983909

Change-Id: I600788b6d3ac65b3c14136a67334a38b747082c7
2022-02-24 17:17:28 +00:00
Edwin Tung
036a66cf50 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.528152 am: 2df653b72c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16996816

Change-Id: I707dad41352f7e2f0e8bdd5f8867251928171be5
2022-02-24 15:23:41 +00:00
Edwin Tung
623a33b4d4 [DO NOT MERGE] gps: update gps driver 129.20.23.528152
Added CpLppeE911PreferredAccuracyMeter (default=10) xml attribute
to force Control Plane singleshot accuracy

Bug: 215660420

Verify test: 220990700

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I7a0b6ffe079c10a1ca380feb7ba6bf2fd9498050
Merged-In: I943fa1e906d8b0b80b6395accd71c68f97f7ed43
2022-02-24 15:13:17 +00:00
Edwin Tung
2df653b72c [DO NOT MERGE] gps: update gps driver 129.20.23.528152
Added CpLppeE911PreferredAccuracyMeter (default=10) xml attribute
to force Control Plane singleshot accuracy

Bug: 215660420
valid test: 220990700

Test: atest VtsHalGnssTargetTest && atest CtsLocationGnssTestCases
&& atest GtsLocationTestCases && atest PtsChreTestRunner

Change-Id: I943fa1e906d8b0b80b6395accd71c68f97f7ed43
2022-02-24 09:31:10 +00:00
Alessio Balsini
fb8a0383e3 Use FUSE BPF by default
Enable the persist.sys.fuse.bpf.enable flag in the system configuration to
enable the FUSE BPF feature.
This feature has already been tested on Cuttlefish devices and no issues have
been detected yet.

Bug: 220151842
Bug: 202785178
Test: 'adb shell getprop | grep persist.sys.fuse.bpf.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: Ic4114fd23f6745992b513c0cf16d96aff73ad94a
2022-02-23 11:35:23 +00:00
Rick Chen
3fbbc5c703 Move sensor debug property to USF common folder.
Bug: 220215673
Test: lshal debug android.hardware.sensors@2.1::ISensors/default
      See sensor events output.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I2c206bd917f0997d2ce0c569b8f376897cff9863
(cherry picked from commit e69afb4814)
2022-02-23 02:10:08 +00:00
Robert Shih
2d94f8212b whitechapel: enable AIDL DRM HALs
Bug: 219538389
Test: atest GtsMediaTestCases
Change-Id: I431554dcbef014f8235f048ee062a218a2131f9c
2022-02-23 01:08:17 +00:00
Lais Andrade
e8dfddc978 Add default alarm and media vibration intensity settings
Fix: 219692498
Test: manual
Change-Id: I1fa7443b36d93906e7def15629b87213edf30727
2022-02-18 11:12:21 +00:00
Jack Diver
42eba1b8e6 gs101: Add pixel_mali_soc config var
* Add gs101 soc soong_config_variable
* Remove unused mali soong namespaces

Test: Build UMD from source for gs101, gs201 and zuma
Test: checkbuild
Bug: 185349920
Bug: 174232579
Signed-off-by: Jack Diver <diverj@google.com>
Change-Id: I8eceaf939f8c498b26a3df9b890c2b3848de9a99
2022-02-17 12:53:42 +00:00
Victor Liu
c85025d971 uwb: add calibration script to device folder
copy calibration script in uwb make

Bug: 219611318
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I3d75f4cbdc046082c7ce005e58a2b68e1d65ddfe
2022-02-15 19:52:43 +00:00
Nate Myren
d945dc90a1 Add notification pregrants to gs101
Test: build
Bug: 218409412
Change-Id: Ib1a02bb00cdbb0778043fa9c279db1a5451e2ebb
2022-02-15 17:18:16 +00:00
Carter Hsu
c0ee644bda audio: update AUdioExt to 3.0
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I79b3fc0ecf9d7e5a6a860029da06deca36ba9573
2022-02-15 09:13:54 +00:00
Bob Badour
0022b191e2 Declare license metadata for copied files. am: 445d07a51b am: 38aba3e97b am: 8e7c4bd61a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1984509

Change-Id: Iaceda1844e1410b302cb5e84b40722fcf547d514
2022-02-15 01:47:44 +00:00
Bob Badour
8e7c4bd61a Declare license metadata for copied files. am: 445d07a51b am: 38aba3e97b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1984509

Change-Id: I5a68f0f8bc2827555f466aad377d8d26d641359e
2022-02-15 01:31:29 +00:00
Bob Badour
38aba3e97b Declare license metadata for copied files. am: 445d07a51b
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1984509

Change-Id: I947ab15dae07501ee61edbd94cb937c2299f865b
2022-02-15 01:18:42 +00:00
Xin Li
2effebe37b [automerger skipped] Merge SP2A.220305.012 am: f4d329ec8a -s ours am: a1dad8367b -s ours
am skip reason: Merged-In If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4 with SHA-1 3d54c6f3a5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16873058

Change-Id: Ia2bd23af21f77c2509a108d8c9d10e69e96794a3
2022-02-15 00:35:24 +00:00
Xin Li
a1dad8367b [automerger skipped] Merge SP2A.220305.012 am: f4d329ec8a -s ours
am skip reason: Merged-In If597efa6bfc9d0a606a12bf09babb32e1ee3d3b4 with SHA-1 3d54c6f3a5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/16873058

Change-Id: I614f50d1058b52463fa84da529e77532a6cb6179
2022-02-15 00:14:50 +00:00