Commit graph

1871 commits

Author SHA1 Message Date
Ray Chi
35a0d7b464 usb: move the permission change to usb rc am: bc34b8944f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2086723

Change-Id: I55a9c5e2b71b07ee88f87c416c7dcb98dcf5b4bf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 06:52:04 +00:00
Ray Chi
bc34b8944f usb: move the permission change to usb rc
Since permission change in hal rc may be late, gadget
hal would enable USB function failed. The solution will
change the permission before USB gadget hal starts.

Bug: 206902205
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
(cherry picked from commit b30924e3599f2e92aeae498a6ae15d3b9a397930)
2022-05-04 09:39:29 +08:00
Sal Savage
249302343c Merge "Use the ?= operator so BT properties can be overridden" am: e4a5a19b77
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2079814

Change-Id: I8292a770a5296c9705b26f1b72f8187025b30982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 00:09:08 +00:00
Sal Savage
e4a5a19b77 Merge "Use the ?= operator so BT properties can be overridden" 2022-05-02 23:35:28 +00:00
Bob Badour
9551dcd091 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 733255eb8a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2079805

Change-Id: I8ad98563970ff8a62980c155563fae2d81b8a8a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 21:32:11 +00:00
Sal Savage
0eea03d28a Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.

Bug: 230638462
Test: adb shell getprop | grep bluetooth
Merged-In: I45b1786f5556ba3e7d493ea17dc955cd317a1156
Change-Id: I45b1786f5556ba3e7d493ea17dc955cd317a1156
2022-04-28 14:17:27 -07:00
Bob Badour
733255eb8a [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101
Added SPDX-license-identifier-Apache-2.0 to:
  usb/usb/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Ia02ed8b48bc532d6fbffc8bb5656be88634301c4
2022-04-28 11:32:33 -07:00
Treehugger Robot
61384462ac Merge "Migrate IUsb implementation to AIDL" am: 798dbb39f5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2045080

Change-Id: Ie660c0cf4ab12717445ea26ed6cedccfa762dc5b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:39:58 +00:00
Treehugger Robot
798dbb39f5 Merge "Migrate IUsb implementation to AIDL" 2022-04-27 16:21:29 +00:00
Sal Savage
79671e4a0f Update LE Audio profile properties to match spec and implementation am: 4e33220086
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2072118

Change-Id: I603b3899dfa54e8291ab87f7d4978288328ca6c7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 21:48:34 +00:00
Sal Savage
4e33220086 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Merged-In: I5699914c673f4bdaeabef128ff94122bf1963f97
Change-Id: I5699914c673f4bdaeabef128ff94122bf1963f97
2022-04-22 22:59:25 +00:00
Xin Li
4bf5985951 Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8433047" into stage-aosp-master 2022-04-18 23:39:19 +00:00
Sal Savage
61d84ceb4a Enable bluetooth profiles with product.prop am: 3f9ed7fc84
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2060600

Change-Id: I389d076b7ed9fd61409678fe09bbe2c0a01c1fc5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18 21:40:05 +00:00
Xin Li
0cad6be852 Merge sc-v2-dev-plus-aosp-without-vendor@8433047
Bug: 226662282
Merged-In: I87467605520d5dd168c3b03ac3b699800bd96030
Change-Id: I12365876665df7bc4405835f4abf5a35884415a3
2022-04-18 21:00:59 +00:00
Sal Savage
3f9ed7fc84 Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Merged-In: Id96e675bd0bc162329264c935d4418c0c6a52390
Change-Id: Id96e675bd0bc162329264c935d4418c0c6a52390
2022-04-12 13:06:22 -07:00
shawnlin
9820c19ec1 Fixed status bar glitch for apps that access internal resource dimen am: c8d93dd9f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17536006

Change-Id: Ia0c569e11d6babe6c2312bc61bc64cd44fd2294b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:59:35 +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
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
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
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
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
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
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
Eric Laurent
68f33d6043 Disable spatial audio feature
Bug: 225119469
Test: verify MP3 offload
Change-Id: I6a8956ed8a0873cd2426c6a81d79452cc1f5b78f
2022-03-28 20:14:16 +02:00
Badhri Jagan Sridharan
3604f56e5e Migrate IUsb implementation to AIDL
This change migrates IUsb implementation to AIDL.
Also, IUsb and IUsbGadget now run in its own processes
to improve stability and isolation.

Bug: 200993386
Bug: 199357330
Change-Id: I02753af4a41916b77ce110f9531504bf8c6a4691
Merged-In: I02753af4a41916b77ce110f9531504bf8c6a4691
(cherry picked from commit 3c97a6bb68)
2022-03-28 17:00:28 +08: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
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
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
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
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
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
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
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
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
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
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
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