Commit graph

3288 commits

Author SHA1 Message Date
Edwin Tung
9b97563405 gps: enable GNSS PPS feature
Bug: 223072369
Test: Gnss measurement elapsedrealtime work && suspend/resume work
Change-Id: I885e33876bb73e9dc3ceb44355b3f2e4bf403187
2022-03-10 07:11:06 +00:00
Ytai Ben-Tsvi
21c3130038 Build with spatializer feature am: 8e6ff8503d am: c26928324e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17002491

Change-Id: Iaf4c3aa6762af14c19c7f12e2dd64bf77ff62620
2022-03-09 11:25:32 +00:00
Eric Laurent
8c4393fcd7 Merge changes from topic "presubmit-am-36a18669628e494aa03061fbd2edd086" into sc-v2-dev-plus-aosp am: f2eebe6844
Original change: undetermined

Change-Id: Ia67361f3c9d38c3f35c6b62c0624ab5f97cf6dbe
2022-03-09 11:23:13 +00:00
Wen Chang Liu
b4dd3ff90f Merge changes from topic "presubmit-am-836e4405ee234d149e41027dcbd9bc29" into sc-v2-dev-plus-aosp am: a718bbd1b9
Original change: undetermined

Change-Id: I5740193201a0c0f61da48c61bb3c5a46cfb7ab0b
2022-03-09 11:00:32 +00:00
Ytai Ben-Tsvi
c26928324e Build with spatializer feature am: 8e6ff8503d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17002491

Change-Id: I980fe37a5c08d01947943ae72b87fbb4d1250e49
2022-03-09 10:22:20 +00:00
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
Ytai Ben-Tsvi
8e6ff8503d Build with spatializer feature
Build with Decibel spatializer library and enable spatial audio
feature

Bug: 189423448
Test: make.
Change-Id: Iff997d4100dcd2aabfdaf62b8abdba788cb9741c
2022-03-09 10:00:08 +00:00
Eric Laurent
f2eebe6844 Merge changes from topic "presubmit-am-36a18669628e494aa03061fbd2edd086" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Build with spatializer feature 2p: 9b73dc2c31
  Build with spatializer feature
2022-03-09 10:00:08 +00:00
Wen Chang Liu
a718bbd1b9 Merge changes from topic "presubmit-am-836e4405ee234d149e41027dcbd9bc29" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Update correct max block counts 2p: 1012636603
  Update correct max block counts
2022-03-09 08:28:36 +00:00
Presubmit Automerger Backend
41f38b188c [automerge] Build with spatializer feature 2p: 9b73dc2c31
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17002491

Bug: 189423448
Change-Id: I7e694ecd7c2e2bef749f39b80990103e58f020b9
2022-03-08 15:25:29 +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
Ytai Ben-Tsvi
9b73dc2c31 Build with spatializer feature
Build with Decibel spatializer library and enable spatial audio
feature

Bug: 189423448
Test: make.
Change-Id: Iff997d4100dcd2aabfdaf62b8abdba788cb9741c
2022-03-07 17:48:40 +01:00
wenchangliu
f04b8aba5e [automerge] Update correct max block counts 2p: 1012636603
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17103242

Bug: 222095724
Change-Id: I60326ca0cbaf4595452df710a0d5067fe5fd68a5
2022-03-07 09:37:06 +00:00
wenchangliu
1012636603 Update correct max block counts
Fix incorrcet video resolution capability report from
media_codecs_aosp_c2.xml.

Bug: 222095724
Test: demo-transformer HEVC 2160p transcoding
Change-Id: Ie0bb25c88440f7806b01bcaa49b23980d7f4e45f
2022-03-07 09:35:56 +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