Commit graph

3002 commits

Author SHA1 Message Date
Sarah Chin
077ff7f226 [automerger skipped] Add location bypass package overlay am: 259aa3233b am: 8208db9f45 -s ours am: 79d488d2e5 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 1b527e8836 is already in history

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

Change-Id: Ib9c6691dbd68066387938a74b857b2cb4ab6a3fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 22:05:04 +00:00
Sarah Chin
79d488d2e5 [automerger skipped] Add location bypass package overlay am: 259aa3233b am: 8208db9f45 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 1b527e8836 is already in history

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

Change-Id: I5731fc5245525f4b738b070d15e6b793915f0a93
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 21:39:10 +00:00
Sarah Chin
8208db9f45 Add location bypass package overlay am: 259aa3233b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/18297250

Change-Id: I8a4b876be6674d13b99f5d6b96ce2978e06946a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 14:37:12 +00:00
Jiakai Zhang
0588903ced Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I03c7a72ff6b021f5556811e360b53f8d4481b4b2
2022-05-12 14:16:39 +00:00
Sarah Chin
a1ef1fd063 [automerger skipped] Add location bypass package overlay am: 1b527e8836 -s ours
am skip reason: Merged-In I93acd0083c433aaf889530464142c9a3c9b95878 with SHA-1 be3d667f8c is already in history

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

Change-Id: If289f116ee2bf25d8b6abdfaccaf618079ea6e66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 13:40:24 +00:00
Alice Kuo
2a27fb8a61 Disable LE audio related profiles for gs101
Bug: 231671426
Test: build
Change-Id: I39c98cfd51047113f203d05c6f6853e635b02c45
Merged-In: I39c98cfd51047113f203d05c6f6853e635b02c45
(cherry picked from commit c014e57ffd)
2022-05-12 10:59:14 +00:00
Peter_Liang
5223159864 Add the latest voice packs of Text-To-Speech and configs.
Move the voice packs into common makefile

Bug: 230572940
Test: manual test
Change-Id: I4b2e5cd8433a9c69a2f03d734257e30484ad7650
2022-05-12 09:34:45 +00:00
Sarah Chin
259aa3233b Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 23:08:29 +00:00
Sarah Chin
1b527e8836 Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 23:07:23 +00:00
Sarah Chin
be3d667f8c Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 22:52:06 +00:00
Edwin Tung
afe8547c8f Revert "gps: enable GNSS PPS feature"
This reverts commit 9b97563405.

Reason for revert: b/230265527 shows PPS malfunction impact gps location report. We need to disable PPS until PPS function fully functionality and robust.
Bug: 230265527

Change-Id: Iedd753fd243ec268268418629c2c7fa94ce57b9f
2022-05-11 08:49:24 +00:00
Sarah Chin
d1d22866c5 Remove config_tcp_buffers
Moved to default values

Test: build
Bug: 222323543
Change-Id: If7ebd63c586974756d3e374b8c0cbfb27a5f1819
2022-05-11 01:44:18 +00:00
Chris.CC Lee
908fbc0a20 [Gs101] Add NEARBY_WIFI_DEVICES for Restore
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.

Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.

Change-Id: I56924aa3e0250c94bc4fefe5d9b901b4e23d0c2b
2022-05-10 15:39:31 +00:00
Taehwan Kim
3d0ce54976 modify device.mk for exposing supported pool type
default : ION(1 << 16) | BUFFERQUEUE(1 << 18)
add : GRALLOC(1 << 17)

Bug: 227283773
Test: CtsMediaV2TestCases
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
Change-Id: I299e6ff0ad03de632ee3de77a6aeb89f1609272f
2022-05-09 08:15:45 +00:00
Edwin Tung
4946763008 [automerger skipped] [DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937 am: 346895302a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I30bb39542c2245120cbb8dfa7134e28f543f8032
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-09 03:40:08 +00:00
Ray Chi
b1f75858c8 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: 224699556
Test: build pass
Change-Id: Iea0aed110183d9583db00d9b182d351de41573cd
Merged-In: Iea0aed110183d9583db00d9b182d351de41573cd
(cherry picked from commit a5f995d2f6)
2022-05-05 07:08:19 +00:00
Ray Chi
ba3dc9b3da 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: 224699556
Test: dwc3 irq could be located in medium/big cores after USB function switch
Change-Id: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
Merged-In: Id993db9fc303e85a9a6337a0e41b1dfd6fc9a86a
(cherry picked from commit f363704a92fd7611cf01c8b3bcaf6e8913255207)
2022-05-05 07:08:19 +00:00
Ray Chi
7da5d4f43f 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: 224699556
Test: build pass and verified pass
Change-Id: I45c1318f647220480fa03ba3b813a81b21393d71
Merged-In: I45c1318f647220480fa03ba3b813a81b21393d71
(cherry picked from commit b30924e3599f2e92aeae498a6ae15d3b9a397930)
2022-05-05 07:08:19 +00:00
Kris Chen
14e7759e0b Add vendor/goodix/udfps/fp_utils to PRODUCT_SOONG_NAMESPACES
Bug: 229716695
Test: build and test fingerprint on device.
Change-Id: I017fef77de4709e1767f6e05e3b794b391969659
2022-05-05 02:03:43 +00:00
Will McVicker
ef12b21ded init.gs101.rc: add raw i2c-s2mpg10mfd and i2c-s2mpg11mfd nodes
This fixes the permissions for the [067]-001f and [178]-002f raw i2c
numberings for the P21-mainline driver which doesn't use the i2c vendor
hook to rename these numberings. This is required for the thermal hal to
work.

Bug: 231155356
Signed-off-by: Will McVicker <willmcvicker@google.com>
Change-Id: I2341c78b2ab146713a171eeb436f34c1c8839c6e
2022-05-04 16:10:15 +00:00
Roger Wang
8c7b81d1d3 wlan: Disable 6GHz softAp
Driver actually does not support 6Ghz softAp at
current version. Hence, disable it

Bug: 231384422
Test: SoftAp can be enabled.
Change-Id: I47b39f3d31c1a94de338a2a22dc5b5495b1af1a1
2022-05-04 15:49:33 +00:00
Edwin Tung
346895302a [DO NOT MERGE][R4O6] gps: update gps driver 129.20.23.535937
Disable SUPL OTDOA for VZW
Fix SUPL Earlyfix issue while OTDOA disabled

Bug: 230818100

Verify test: 231297970

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestCases

Change-Id: I6ebabb9d53028a05950d7d00c34ffdf33fb8ff2f
Merged-In: Ibf8e8ccf361fb5b0a58ef97c45f581fc50ab2788
2022-05-04 07:16:16 +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
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
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
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
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
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
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
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
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
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
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
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
1bcc5fc069 Updat CleanSpec.mk for USB HAL migration to AIDL
Bug: 227729582
Test: build
Signed-off-by: Albert Wang <albertccwang@google.com>
Change-Id: Ia8d49a824fd7c2c81c3cbfb5e004132aa3ac580f
2022-04-22 02:50:44 +00:00
chungkai
b3a98db247 powerhal: update new boost uclamp value
update new boost uclamp value since we update
cpu capacity

Test: PTS UIBench has no obvious difference
Bug: 224649226
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie2fd9950a98f9786b03ef4e364fd9d584dcc438d
2022-04-21 16:49:00 +00:00
Darren Hsu
334bd6d2ec powerstats: set time limit as timeout for AoC
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I5b290a53dcd5325aa55fd95a42c1af95066f550c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-04-21 04:07:54 +00:00
Xin Li
b56f1c446f Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8433047" into stage-aosp-master am: 4bf5985951 am: a3cc2e0bbd
Original change: undetermined

Change-Id: I563b91d0b624a6cc8ceded879a17dc7cdb846e0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 04:47:31 +00:00
Sal Savage
2de955a27e [automerger skipped] Enable bluetooth profiles with product.prop am: 3f9ed7fc84 am: 61d84ceb4a am: 9f67d7a1bb -s ours
am skip reason: Merged-In Id96e675bd0bc162329264c935d4418c0c6a52390 with SHA-1 52c99f6b72 is already in history

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

Change-Id: Ia7098c6f5f02536d9ac99908cc7898d69f6ae224
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 04:43:53 +00:00
ykhung
675b52bdef Add BLUETOOTH_CONNECT permission for SettingsIntelligence
Add BLUETOOTH_CONNECT permission for SettingsIntelligence, which is required for the battery widget feature to launch the detailed bluetooth settings page in the Settings

Test: build
Bug: 227265502
Change-Id: I166c0ed987b82428583243e52c343dda30a93ba4
2022-04-19 07:56:24 +00:00
Xin Li
a3cc2e0bbd Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8433047" into stage-aosp-master am: 4bf5985951
Original change: undetermined

Change-Id: Iac7df5d07b73e671b884c4407a3f847d34b9a105
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 00:08:15 +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
9f67d7a1bb Enable bluetooth profiles with product.prop am: 3f9ed7fc84 am: 61d84ceb4a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/2060600

Change-Id: I020ed5f04d996b2ec8721775a3021bbe874baeab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-18 22:12:50 +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
Edwin Tung
45ea48cfc6 Revert "gps: update gps driver 140.20.23.532343"
This reverts commit 76af536f84.

Reason for revert: The patch cause regression issue on b/228932000 and b/228935134, revert first.

Change-Id: Icb4d28c9cbe19a776b356b35372326dfdaadb011
2022-04-13 03:45:28 +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