Commit graph

3255 commits

Author SHA1 Message Date
chungkai
e183962b5e Enable load kernel modules in parallel am: 7b2197e8af am: 12fd471dad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17442327

Change-Id: I0e583df91dabc0127ac4c8c75162b670fcfb1be2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:52:57 +00:00
chungkai
cb8ca0b4c1 init: modify path of i2c peripherals am: deca07793f am: 8bb49e627f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17607092

Change-Id: I86abe0547f6587fb579d255d13de50b860ffe1d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:52:21 +00:00
chungkai
12fd471dad Enable load kernel modules in parallel am: 7b2197e8af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17442327

Change-Id: I588f907c6e92585280f53cccb4bb91edfa7a08e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:31:24 +00:00
chungkai
8bb49e627f init: modify path of i2c peripherals am: deca07793f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17607092

Change-Id: Iee10c4c9240d5d2202abd74134259e4820f3137c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 10:30:59 +00:00
chungkai
7b2197e8af Enable load kernel modules in parallel
Test: enable successfully without avc denial
Bug: 180676019
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie3cd1499b2a7e00e0aa38a9c1fee29bc0f0f74bb
2022-04-07 09:33:52 +00:00
chungkai
deca07793f init: modify path of i2c peripherals
add potential paths when enable parpllel module loading

Test: build pass
Bug: 228181404
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I929669a2ddc9155ad4dac1f40f808ffcb4c914f2
2022-04-07 09:33:25 +00:00
Sal Savage
2b861fddc9 Enable bluetooth profiles with product.prop am: 52c99f6b72 am: 5410c89e20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17225107

Change-Id: Ib7cf5b3afb4ff8556a20b0e5bb82f7a3ea3d8534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 16:30:27 +00:00
Sal Savage
5410c89e20 Enable bluetooth profiles with product.prop am: 52c99f6b72
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17225107

Change-Id: I2784a05dbc7e13478e7fa6cf3858561d9def395d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 16:26:05 +00:00
Sal Savage
52c99f6b72 Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: Id96e675bd0bc162329264c935d4418c0c6a52390
2022-04-05 16:09:24 -07:00
Xin Li
1630ea5967 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: 2201804c6b -s ours am: 6e217905f3 -s ours am: 3178ffe865 -s ours am: 3cbc2d2ca4 -s ours
am skip reason: Merged-In I56e2296651999e37048f8be4c53d7c5b9281666f with SHA-1 bca92bdc76 is already in history

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

Change-Id: Ideffc5df7e5eaedb3c14f48b1700b06d0dfbca92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 09:09:03 +00:00
Xin Li
3cbc2d2ca4 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: 2201804c6b -s ours am: 6e217905f3 -s ours am: 3178ffe865 -s ours
am skip reason: Merged-In I56e2296651999e37048f8be4c53d7c5b9281666f with SHA-1 bca92bdc76 is already in history

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

Change-Id: I45b758d6ba4ddbb245fc0a35729a3454a0786353
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 08:31:09 +00:00
Xin Li
3178ffe865 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: 2201804c6b -s ours am: 6e217905f3 -s ours
am skip reason: Merged-In I56e2296651999e37048f8be4c53d7c5b9281666f with SHA-1 bca92bdc76 is already in history

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

Change-Id: Ic5fe62a1b7898212c7acd9cc794b320f717e4b6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 07:43:59 +00:00
Xin Li
6e217905f3 [automerger skipped] Merge Android 12 QPR3 ab/8391262 am: 2201804c6b -s ours
am skip reason: Merged-In I56e2296651999e37048f8be4c53d7c5b9281666f with SHA-1 bca92bdc76 is already in history

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

Change-Id: I51b157da898e69fc63a95e34f60d4c07b1285073
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-03 07:11:59 +00:00
Kelly Rossmoyer
89303d1740 Revert "powerstats: set time limit as timeout for AoC" am: 7eb5f7e1db am: eb73b18611
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17544421

Change-Id: I9f5e4b84f7c5aabfecda536cc0fe6453ef86f6dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:55:49 +00:00
Kelly Rossmoyer
eb73b18611 Revert "powerstats: set time limit as timeout for AoC" am: 7eb5f7e1db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17544421

Change-Id: I9604778d4f2293f7df563d03e1e1b843aaaf3752
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 22:35:55 +00:00
Kelly Rossmoyer
7eb5f7e1db Revert "powerstats: set time limit as timeout for AoC"
Revert "powerstats: set time limit as timeout for AoC"

Revert "powerstats: timeout mechanism for AoC data provider"

Revert submission 17442015-powerstats-aoc-timeout

Reason for revert: Causes PowerStatsHAL crashes (b/227578192)
Reverted Changes:
I9a9eb27fa:powerstats: set time limit as timeout for AoC
Ib70000580:powerstats: timeout mechanism for AoC data provide...
Ied599054c:Revert "powerstats: disable AoC power stats report...
Iaf5af43eb:powerstats: set time limit as timeout for AoC

Change-Id: I7b7a42d3f94769bf937a4d9693444a5f4550dc3f
2022-04-01 22:16:22 +00:00
Xin Li
2201804c6b Merge Android 12 QPR3 ab/8391262
Bug: 226662282
Merged-In: I56e2296651999e37048f8be4c53d7c5b9281666f
Change-Id: I53581f8c0cd4d3e220faf53468f4d571cb823f4c
2022-04-01 20:32:11 +00:00
Eric Laurent
1665284886 Revert "Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e"" am: 9e1de421e6 am: 942593b9f1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17538129

Change-Id: Ib628fc41b29aa3ca8829e0319e460ee3bf531f7b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:34:43 +00:00
Eric Laurent
942593b9f1 Revert "Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e"" am: 9e1de421e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17538129

Change-Id: Ibe6804231633167acefa88e39e70b374d56eee02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-01 19:13:24 +00:00
Eric Laurent
9e1de421e6 Revert "Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e""
This reverts commit 2dc3c4cb18.

Reason for revert: Spatial audio demo

Change-Id: Ia3288900ca86f9555750c469385f365031d989f4
2022-04-01 18:51:54 +00:00
shawnlin
c8d93dd9f7 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I87467605520d5dd168c3b03ac3b699800bd96030
2022-04-01 16:37:55 +08:00
Edwin Tung
df49a2dfc4 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.529478 am: bca92bdc76 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I601d306c39afeb7bd2a862540762ba498eec0c12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 05:28:36 +00:00
Edwin Tung
bca92bdc76 [DO NOT MERGE] gps: update gps driver 129.20.23.529478
Fix NI control plane issue
Add NFW IPC between AP and CP
Ignore RTI in cold start
Fix OnChip logging issue

Bug: 221337679
Bug: 216098015
Bug: 219856838
Bug: 213009701

Verify test: 224635609

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I56e2296651999e37048f8be4c53d7c5b9281666f
2022-03-31 05:12:19 +00:00
Edwin Tung
8a7f261ef7 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.529475 am: f1a2063e14 -s ours am: 8d71c97361 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ibdea2d11208517b06d867cd45f9ae2d46183d447
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 01:06:01 +00:00
Edwin Tung
8d71c97361 [automerger skipped] [DO NOT MERGE] gps: update gps driver 129.20.23.529475 am: f1a2063e14 -s ours
am skip reason: skipped by user edwintung

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

Change-Id: I44b43b854d4c7e25235570bfe43e10209434b8ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-31 00:41:26 +00:00
Eric Laurent
2dc3c4cb18 Revert "[automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e"
This reverts commit 6618135690.

Reason for revert: Spatial audio demo

Change-Id: Ie44a31102cc6e335eaf922fa7c42c944a60b0920
2022-03-30 18:02:56 +00:00
Edwin Tung
f1a2063e14 [DO NOT MERGE] gps: update gps driver 129.20.23.529475
Add NFW IPC between AP and CP
Fix NI control plane issue
Ignore RTI in cold start
Fix OnChip logging issue

Bug: 216098015
Bug: 221337679
Bug: 219856838
Bug: 213009701

Verify test: 224635609

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I89fcf1f61fce350201e6b433895289d3a3912c61
2022-03-30 11:33:18 +00:00
Darren Hsu
0be3bbd083 powerstats: set time limit as timeout for AoC
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I9a9eb27fab549f4351bcfae6e335e050c48fc753
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-30 08:05:25 +00:00
chungkai
c99aafcbc9 init: add uclamp threshold setting
To filter tiny task, add uclamp threshold setting

Test: build and boot pass
Bug: 214098855
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I20c7d5228b81b9ef27660f5b4d120b3c4c584276
2022-03-30 03:50:02 +00:00
Presubmit Automerger Backend
6618135690 [automerge] Disable spatial audio feature 2p: 68f33d6043 am: 95c69ea86e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17435542

Change-Id: I598c374685ab2e891054167fc0c69e8fe4fbcac5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 17:37:26 +00:00
Presubmit Automerger Backend
95c69ea86e [automerge] Disable spatial audio feature 2p: 68f33d6043
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17435542

Bug: 225119469
Change-Id: I8e22f367c4815081e403f3f5c3d6be0b2928e193
2022-03-29 14:10:50 +00:00
chungkai
abf92a16d6 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Id9d85bb742dbfe96cc7e9fe8572a6a610a9f592e
2022-03-29 10:02:47 +00:00
Jenny Ho
1549259d37 dumpstate: dump AACR related data
Add charging table and capacity dump for
Age Adjusted Charge Rate (AACR) feature

Bug: 209987670
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ic9dd435557bf4e941fcbdb48fb134c938dd5be83
(cherry picked from commit 5b71630967)
2022-03-29 08:10:15 +00:00
Luigi Zevola
f0cc850c9a dumpstate: remove tasks prints and clean up
Remove tasks printing when dumping state and clean up format

Bug: 226718218
Test: On R4
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I596dc6ffa047d951cb87a9905d145cdaa8365d2e
(cherry picked from commit 734c360052)
2022-03-28 21:46:09 +00:00
Eric Laurent
68f33d6043 Disable spatial audio feature
Bug: 225119469
Test: verify MP3 offload
Change-Id: I6a8956ed8a0873cd2426c6a81d79452cc1f5b78f
2022-03-28 20:14:16 +02:00
Alessio Balsini
55b3a32128 FUSE-BPF: Disable the feature
FUSE-BPF has been identified to be causing issues with the Audible app.
Disable the feature to mitigate the breakages while investigating the
issue.

Bug: 227042065
Test: adb shell getprop ro.fuse.bpf.enabled | grep false
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I9edbf4bcbc7c293f541936baf80e318a87eeb2a3
2022-03-28 11:55:29 +00:00
Treehugger Robot
20f5c3391f Merge "powerstats: add AoC restart count stats" am: 7dd7e93a03 am: 225dd70fe3 am: a5107c2a27
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2044845

Change-Id: I12d6ac32aafd604b8f29b88fab9af85a2e2963e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 08:41:17 +00:00
Treehugger Robot
a5107c2a27 Merge "powerstats: add AoC restart count stats" am: 7dd7e93a03 am: 225dd70fe3
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2044845

Change-Id: I505f8088328b950ab7dc40823f90c0f6b2ad8c8f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 08:17:33 +00:00
Treehugger Robot
225dd70fe3 Merge "powerstats: add AoC restart count stats" am: 7dd7e93a03
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2044845

Change-Id: I4687eb012e379fba3b24fc9ef0ab1a4d4ce89746
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 07:51:38 +00:00
Treehugger Robot
7dd7e93a03 Merge "powerstats: add AoC restart count stats" 2022-03-28 07:32:15 +00:00
Jenny Ho
31d519c4b4 init.gs101.rc: set dev_sn for battery pairing
Bug: 216583288
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I58a243b711025d0dd6f3980c84462d8f392841cc
2022-03-28 01:45:03 +00:00
Cole Faust
10e96ef8d5 Remove usage of intermediates-dir-for am: 4293b68380 am: 4449d053d5 am: fe6f545c69
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2042723

Change-Id: I005566c7911846554790aca235206cc281058d79
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 18:39:33 +00:00
Cole Faust
fe6f545c69 Remove usage of intermediates-dir-for am: 4293b68380 am: 4449d053d5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2042723

Change-Id: I32a1757d9e9bab23dcd3741c924c1b9907b29692
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 18:18:42 +00:00
Cole Faust
4449d053d5 Remove usage of intermediates-dir-for am: 4293b68380
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2042723

Change-Id: Ic8d95d6fcc995ad1ce6b3197a35bda0acc371aa0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 17:54:18 +00:00
Sam Dubey
293b0c871d Revert "Enable load kernel modules in parallel"
This reverts commit 264b325dd1.

Reason for revert: Boot crashes on gs101 devices

Bug: 226705295
Change-Id: Id074bbc5fdc9f747f45d01405f5b08f37e5617f3
2022-03-25 10:30:47 +00:00
Darren Hsu
cce5e9f8b0 powerstats: add AoC restart count stats
Bug: 226173008
Test: dump power stats and verify restart count increased
Change-Id: Ia0cfcd9f9dae68dc21c33074147e8b6db547ebc9
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-25 07:04:11 +00:00
Darren Hsu
668acb9fb6 powerstats: add AoC restart count stats
Bug: 226173008
Test: dump power stats and verify restart count increased
Change-Id: Ibfdea3bff33d79ad6a56a6eab9e109617ddb7f2d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-03-25 11:18:43 +08:00
chungkai
264b325dd1 Enable load kernel modules in parallel
Test: enable successfully
Bug: 180676019
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I61678ea8123123af4a4b1d2b45a3cf78bfd5d4f7
2022-03-25 02:33:18 +00:00
Etienne Ruffieux
3fec66cbb6 Removed audio A2dp and Hearing Aid from device.mk
Bug: 220306859
Test: atest
Tag: #feature
Change-Id: Ia1d4fbe0e406e895d295936c524c5dbba6c269cd
2022-03-25 00:27:30 +00:00
Cole Faust
4293b68380 Remove usage of intermediates-dir-for
intermediates-dir-for relies on several variables that
haven't been set at the time the board configuration
runs. The board configuration got around that by using
deferred expansion, but deferred expansion is something
that starlark doesn't support. Remove intermediates-dir-for
by switching to TARGET_RECOVERY_FSTAB_GENRULE, which
accepts a genrule module to use instead of a file.

Bug: 201700692
Test: Presubmits
Change-Id: I6ebb75073abeebce71873f414129759789096b0f
2022-03-24 11:22:21 -07:00