Commit graph

1882 commits

Author SHA1 Message Date
Kyle Tso
d1e76e74ef dumpstate: Dump logs am: 21502f2978
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2098913

Change-Id: I4a7de39f80fc91443c3405278c66d48cc0a5ff61
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-19 07:56:40 +00:00
Kyle Tso
21502f2978 dumpstate: Dump logs
Bug: 232556226
Test: log dumped in bugreport
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: Iacd4db38dd56c1d5ba6f58c757f023795a9c3a3b
2022-05-19 02:12:58 +00:00
Alice Kuo
eac4ac0ebe Disable LE audio related profiles for gs101 am: c014e57ffd
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2093886

Change-Id: I093fe819ddbad7d2ca70165e1bab358623c91b20
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 12:17:05 +00:00
Alice Kuo
c014e57ffd Disable LE audio related profiles for gs101
Bug: 231671426
Test: build
Change-Id: I39c98cfd51047113f203d05c6f6853e635b02c45
2022-05-11 08:48:54 +08:00
Sal Savage
c0014f19cc Merge "Set default the Bluetooth class of device" am: fff19eff05
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2084046

Change-Id: Ia6182eac0124c5fb5b604eaaf27a187ad7293a85
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-05 02:40:17 +00:00
Sal Savage
fff19eff05 Merge "Set default the Bluetooth class of device" 2022-05-05 02:11:16 +00:00
Ray Chi
b0e42703dc usb: remove set_usb_irq script for irq change am: a5f995d2f6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2086725

Change-Id: Ibb7033758bec0c996ad1f56a3f244f126f54ae22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 06:52:11 +00:00
Ray Chi
c64676a8f3 tune usb irq (dwc3) in usb gadget hal am: 49a9b9f3dd
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2086724

Change-Id: If8a89675a8de03ede087e8ffbc72869a23c65182
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-04 06:52:07 +00:00
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
a5f995d2f6 usb: remove set_usb_irq script for irq change
Since the dwc3 irq is moved by USB gadget hal now, the
script is not needed.

Bug: 194346886
Test: build pass
Change-Id: Iea0aed110183d9583db00d9b182d351de41573cd
2022-05-04 09:43:58 +08:00
Ray Chi
49a9b9f3dd tune usb irq (dwc3) in usb gadget hal
Since affinity permission is changed from root to system, original
permission change by script can't be used. Therefore, this patch
will move the functionality to usb gadget hal.

Bug: 220996010
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
(cherry picked from commit f363704a92fd7611cf01c8b3bcaf6e8913255207)
2022-05-04 09:39:42 +08: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
15407fe4e9 Set default the Bluetooth class of device
The class of device is a string with a list of uint8t values:
90,2,12

The meaning is as follows:
{Service Field, Major class, Minor class}

Service Field: 0x5A -> 90
    Bit 17: Networking
    Bit 19: Capturing
    Bit 20: Object Transfer
    Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)

Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct

Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-05-02 13:29:47 -07: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