Commit graph

3113 commits

Author SHA1 Message Date
Android Build Coastguard Worker
dbda413de0 Snap for 8515382 from a14326cf30 to tm-release
Change-Id: I97f3661c45da467a8a730b6ad958b2d3e37becf0
2022-04-29 04:39:57 +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
Android Build Coastguard Worker
6b57032a9e Snap for 8502966 from 83601df27a to tm-release
Change-Id: I177920660f83be7b01c1c2daae8fb935d1957d81
2022-04-27 01:01:34 +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
Android Build Coastguard Worker
46dc2a934f Snap for 8498890 from 9247e99d14 to tm-release
Change-Id: I00b25fe8ed8505d05d0e5a6f59a792cd7f5d7d33
2022-04-26 01:11:28 +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
Android Build Coastguard Worker
3d929d64a9 Snap for 8492635 from 2e7610e4d3 to tm-release
Change-Id: I3fa98d4aa4a266623577597de322b49c39234542
2022-04-23 03:01:52 +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
Android Build Coastguard Worker
c8a16e6b8e Snap for 8485504 from b3a98db247 to tm-release
Change-Id: Icd302af27ec0fc60f5fa4ce14e3e21d027f93d8c
2022-04-22 01:01:41 +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
Android Build Coastguard Worker
51b4bb05c9 Snap for 8479413 from b56f1c446f to tm-release
Change-Id: I0458076b598dfdfdf977f65f5afdb358abd0561a
2022-04-21 01:01:36 +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
Android Build Coastguard Worker
90c9fae601 Snap for 8474198 from 675b52bdef to tm-release
Change-Id: I52e6c6ad1c3363f19cb7f93f7b419f46a3fe7fea
2022-04-20 01:01:43 +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
Android Build Coastguard Worker
d42706256d Snap for 8451755 from 45ea48cfc6 to tm-release
Change-Id: I69ddabdc578c8c29a8b287cc7d2ff7ed88ad47e4
2022-04-14 01:01:13 +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
Android Build Coastguard Worker
5a6bd7cddf Merge cherrypicks of [17731253] into tm-release.
Change-Id: I670c157006d65b318ea72338bee4f35ffc219d3f
2022-04-13 02:27:05 +00:00
Edwin Tung
96b31abb0d 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
(cherry picked from commit 87a5d658a1)
Merged-In: Icb4d28c9cbe19a776b356b35372326dfdaadb011
2022-04-13 02:26:59 +00:00
Android Build Coastguard Worker
ea3b114127 Snap for 8445064 from 5fd61fc6ad to tm-release
Change-Id: Ia8d72da014f8fda3d4b5b939b6bbd38f366fd20a
2022-04-13 01:01:35 +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
Eric Laurent
5fd61fc6ad [automerge] Revert "Build with spatializer feature" 2p: 1d5d80bcf7 am: 75797f2dc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17655078

Change-Id: Iff7f52350c254f63653636d009d30dc80bba5c57
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 08:30:45 +00:00
Paul Thomson
6dda8feffc Update dEQP level to 2022
Bug: b/228449928
Change-Id: Ie939c26ab5412b29f9a1d7c3a5f938854d2b1253
2022-04-11 21:13:31 +00:00
Android Build Coastguard Worker
0dca124836 Snap for 8429428 from 993b145fae to tm-release
Change-Id: I3eb77562a59a858d12f5229d51e81a56b5315f59
2022-04-09 03:02:31 +00:00
Eric Laurent
75797f2dc9 [automerge] Revert "Build with spatializer feature" 2p: 1d5d80bcf7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17655078

Bug: 223736548
Change-Id: I56b07b6ed8bbaa5efeadb5f50a1a0d1bdefa2ea9
2022-04-08 14:36:37 +00:00
Eric Laurent
1d5d80bcf7 Revert "Build with spatializer feature"
Bug: 223736548
Test: make

This reverts commit 8e6ff8503d.

Change-Id: I0c03e3b62452b92a015e13c28292e93134c294a9
2022-04-08 16:07:50 +02:00
Nicolò Mazzucato
993b145fae Revert "Enable load kernel modules in parallel"
Revert "fix path for i2c peripheral device"

Revert submission 17628085-gs101_parallel_load_enable

Reason for revert: blocking boot. see b/228549855
Reverted Changes:
I01734345a:fix path for i2c peripheral device
Ie3cd1499b:Enable load kernel modules in parallel

Change-Id: I99775d305d27e9b3a9d4874fed9415285139c7d8
2022-04-08 09:53:43 +00:00
Taeju Park
403f13f60a Disable PMU freq limit in default
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: Ic96dad155f04d4abd180ed6e399b0eb0b61dabdd
2022-04-08 05:54:48 +00:00
Edwin Tung
76af536f84 gps: update gps driver 140.20.23.532343
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

Bug: 226691677
Bug: 218580284
Bug: 213009701
Bug: 226805895
Bug: 223361838
Bug: 226112617
Bug: 223593119
Bug: 225285619

Verify test: 228173359

Test: atest VtsHalGnssTargetTest
atest CtsLocationGnssTestCases
atest GtsLocationTestCases
atest PtsChreTestRunner

Change-Id: I18dbc36fec41d148a4f9bb0f9516a7e631aaa515
2022-04-08 01:31:14 +00:00
Android Build Coastguard Worker
c987b74738 Snap for 8422005 from 9f3fe8c5e1 to tm-release
Change-Id: I97598a73e6b490b45f699ea8003b718d1985a05b
2022-04-08 01:02:10 +00:00
shawnlin
9f3fe8c5e1 Fixed status bar glitch for apps that access internal resource dimen am: c8d93dd9f7 am: 9820c19ec1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17536006

Change-Id: I1aa8bfd62e75052be09745864c6234b163869bcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:21:38 +00: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
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
Android Build Coastguard Worker
4a06e26d61 Snap for 8414751 from 52c99f6b72 to tm-release
Change-Id: I0ef1c1c9d3e0f118df34ab2706b1b6bb00fa2239
2022-04-07 01:02:24 +00:00