Commit graph

3183 commits

Author SHA1 Message Date
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
Jenny Ho
173e417171 dumpstate: add max77759_chg/max77729_pmic register dump am: 93baf1e97e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17950760

Change-Id: I20f56f01448c5b05d06f6d77c6880f9ad6d9dcfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 13:30:43 +00:00
Jenny Ho
93baf1e97e dumpstate: add max77759_chg/max77729_pmic register dump
Bug: 230360103
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I4042e58370d70b97dc1e84e72a8c927b68e08b17
2022-05-03 10:39:20 +00:00
Sal Savage
0c750bfcc8 [automerger skipped] Merge "Use the ?= operator so BT properties can be overridden" am: e4a5a19b77 am: 249302343c -s ours
am skip reason: Merged-In I45b1786f5556ba3e7d493ea17dc955cd317a1156 with SHA-1 3cb7308fd5 is already in history

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

Change-Id: I64b6cb1ae8075da8bddbdaadbc4079522eeafbec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-03 02:22:43 +00: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
Vincent Palomares
d78e70877b Add r4o6 perf setup script am: f78d6a1af5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18098722

Change-Id: Iab954d7a4577b2df7d377a2a760748c5de7c24bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 22:30:23 +00:00
Bob Badour
4a26099af1 [LSC] Add LOCAL_LICENSE_KINDS to device/google/gs101 am: 733255eb8a am: 9551dcd091
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2079805

Change-Id: I7ce838de503ea80c61b1460ff2d80e6496fd0f98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-02 22:08:44 +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
Vincent Palomares
f78d6a1af5 Add r4o6 perf setup script
Bug: 204892459
Test: none
Change-Id: I91e73f6f127e4eebadd87feecbd07ebf3da02d7b
Signed-off-by: Vincent Palomares <paillon@google.com>
2022-04-29 20:30:52 +00:00
Roshan Pius
db6977c5c0 Revert "move uwb feature to system_ext" am: 029a68a943
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18091425

Change-Id: Iba0000b02bf8052f7c63f9dd8c97bdb48d02fa9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 19:54:36 +00:00
Roshan Pius
029a68a943 Revert "move uwb feature to system_ext"
This reverts commit 52317f994bd8caef923d98d19a7f35268a05e7ca.

Reason for revert: Qorvo's vendor HAL is installed in vendor partition for Android T.

Bug: 230788105
Test: Regression tests

Change-Id: I71e86737ab17a35eb31f6dc63456f8f1d7617c23
2022-04-29 19:31:33 +00:00
Treehugger Robot
1b1906c1a3 [automerger skipped] Merge "Migrate IUsb implementation to AIDL" am: 798dbb39f5 am: 61384462ac -s ours
am skip reason: Merged-In I02753af4a41916b77ce110f9531504bf8c6a4691 with SHA-1 3c97a6bb68 is already in history

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

Change-Id: I7c06bb419bf713d28e68bc6161b2ba2444b911e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 18:01:30 +00:00
Sal Savage
364fc9fda6 Set default the Bluetooth class of device am: a14326cf30
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17943944

Change-Id: I34fcb1d1b2eca951c9ef74fb0b59fbcb6026da47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 16:56:40 +00:00
Stephane Lee
9de9d6363f Add thermal stats permissions for clearing am: 945cc1ede4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18010869

Change-Id: I36bfb42fc7053df450f0473ff0eed9f2ebf5dde9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 16:55:53 +00:00
Alec Mouri
0d224fbe19 Force gs101 to treat 170M as sRGB in SF am: 36c1e08127
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17946173

Change-Id: Id5887148bdfa317125a762c825cce9f0e51f9f43
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 15:44:19 +00:00
Sal Savage
a14326cf30 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

Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
2022-04-29 02:04:11 +00:00
Stephane Lee
945cc1ede4 Add thermal stats permissions for clearing
Bug: 227199213
Test: echo 2 > /dev/thermal/cdev-by-name/dc_icl/cur_state
   Verify logcat | grep pixelstats. Ensure there are no errors
Change-Id: Id4e1cd82291b8981cd6e62e72dd54541b7ceb4db
2022-04-28 21:43:15 +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
Sunil Ravi
b7f95e9e21 WiFi: Enable radio stats aggregation am: cadd5f8a4c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17968013

Change-Id: Ic40f2333ac23d30a1c640900abe51c269fd76e56
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 20:40:15 +00:00
Sal Savage
706f807686 Use the ?= operator so BT properties can be overridden am: 3cb7308fd5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17991841

Change-Id: Ie401e14497434f27581949b99e9ea2da2ad71cc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 20:39:50 +00:00
Minchan Kim
2e31757b26 dumpstate: change page_pinner output file name am: b584dfcbac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17992446

Change-Id: I8deaba788f202eeae6dc81593a45a6f66977d973
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 20:39:20 +00:00
Alec Mouri
36c1e08127 Force gs101 to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: I2910f9d025ca6a6f3e73544e8f14346cfb0bc177
2022-04-28 20:37:45 +00:00
Sunil Ravi
cadd5f8a4c WiFi: Enable radio stats aggregation
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.

Bug: 211890916
Test: atest com.android.server.wifi.WifiVendorHalTest
Test: Manual - Dump the link layer stats and validated the results.
Change-Id: Id72778d0e474406f51b5eb4a4be1d57828add934
2022-04-28 20:04:22 +00:00
Sal Savage
3cb7308fd5 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
Change-Id: I45b1786f5556ba3e7d493ea17dc955cd317a1156
2022-04-28 19:45:14 +00: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
Minchan Kim
b584dfcbac dumpstate: change page_pinner output file name
Change konb name to "buffer"

Bug: 230651222
Test: check dumpstate_board.txt from adb bugreport
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4fbab07047af73e38bad3c4a222ba191d045a961
2022-04-28 17:47:19 +00:00
Jerry Huang
ecca212ed7 media: gs101: update performance data for Android T am: a383848cc1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17898287

Change-Id: I7be1dbfaae2a8588f594cf2f6f49e68baee73589
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 09:23:34 +00:00
Jerry Huang
a383848cc1 media: gs101: update performance data for Android T
Bug: 226805912
Test:
android.media.decoder.cts.VideoDecoderPerfTest
android.video.cts.VideoEncoderDecoderTest

Change-Id: If01b4774445a47ddabef64e3800db281b106e219
2022-04-28 08:39:50 +00:00
Edwin Tung
daea6c950b gps: update gps driver 142.20.23.534799 am: eff3df6d75
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17925911

Change-Id: Iae1a3c943b91afcb9d3c24ee78d877c96d25914d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 07:53:01 +00:00
Edwin Tung
eff3df6d75 gps: update gps driver 142.20.23.534799
Migrate GNSS HIDL HAL to AIDL HAL
Add a gps.xml configuration parameter for CHRE/CHPP baud rate
Fix for PVT assertion at patch_pvt_engine_cbs line=0078
Additional field in SatellitePVT
Prevent the wrong common bias delta estimation
Prevent wrong unhealthy satellites selection
Fix LPPe UBP rounding error
Fix LPPe UBP error message
Fix ADR issues
Add debug log for ADR and clk Bias
Support pressureNotAvailable in LPPe
Fix AIDL2 measurement corrections issue
Fix unregistered pressure data after LPPe session
Fix dereferenced null pointer
Handle LTE B13/14 band handover
Fixed the ordering of the GLNS satellites based on the ephemeris availability
Report AGC values by constellation and central frequency

Bug: 226691677
Bug: 218580284
Bug: 213009701
Bug: 226805895
Bug: 223361838
Bug: 226112617
Bug: 223593119
Bug: 225285619
Bug: 224969521
Bug: 225278936
Bug: 225285619
Bug: 228301290
Bug: 228405504
Bug: 229038024
Bug: 228288159
Bug: 229032461
Bug: 228791446

Verify test: 230286350

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: Ia074bc30bf2ff52ea7ba26324c52c06c00b70979
2022-04-28 07:08:47 +00: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
59119754b9 [automerger skipped] Update LE Audio profile properties to match spec and implementation am: 4e33220086 am: 79671e4a0f -s ours
am skip reason: Merged-In I5699914c673f4bdaeabef128ff94122bf1963f97 with SHA-1 2e7610e4d3 is already in history

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

Change-Id: I0fd315338c1df4c339f5309d8a8092501ed7e4dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 22:55:14 +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
Ted Wang
3e780709f2 Switch BluetoothCcc hal to 1.1 am: 83601df27a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17887240

Change-Id: I7e1b61285a15fa3b2c0b9fb15807a72379e9aa55
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 11:33:44 +00:00
Ted Wang
83601df27a Switch BluetoothCcc hal to 1.1
Bug: 229710243
Test: make
Change-Id: I991da922b0c290992c63632efffbabff46c537cb
2022-04-26 10:07:23 +00:00
chungkai
d34d3765c6 powerhal: update new boost uclamp value am: 267e8bb958
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17943624

Change-Id: Id621135ce13349aa9b03ce13fb684c2cd1c0c7dd
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 06:20:26 +00:00
chungkai
267e8bb958 powerhal: update new boost uclamp value
set 160 back to 161 since RT task will select
little cores

Test: build pass
Bug: 230247757
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2a1e761370a686e0e3c11202de93d5fd91e47b56
2022-04-26 06:00:35 +00:00
Kelly Rossmoyer
2f145d4c2e Revert "powerstats: set time limit as timeout for AoC" am: 9247e99d14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17935514

Change-Id: I040df95b69930a73aadc44092ef3231e28a683b4
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 04:16:51 +00:00
Kelly Rossmoyer
9247e99d14 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 17800080-power-stats-aoc-timeout

Reason for revert: Causing crashes due to improper thread sync
Reverted Changes:
I71a9e6817:powerstats: timeout mechanism for AoC data provide...
I725c00745:powerstats: set time limit as timeout for AoC
I5b290a53d:powerstats: set time limit as timeout for AoC

Change-Id: Iac058ba7f0984bb86c505738c1eb20b7b6ddff83
2022-04-25 03:56:51 +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
Sal Savage
e444e21178 Update LE Audio profile properties to match spec and implementation am: 2e7610e4d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17647386

Change-Id: Id8b4f1a21f2da905407668094365e36a7d26b8ea
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 22:40:23 +00:00
Sal Savage
2e7610e4d3 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I5699914c673f4bdaeabef128ff94122bf1963f97
2022-04-22 22:06:39 +00:00
Albert Wang
b1698b7859 Updat CleanSpec.mk for USB HAL migration to AIDL am: 1bcc5fc069
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17822613

Change-Id: I05cd2056b21df20f68beb4ad97777ed5351f12e2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 03:28:19 +00:00