Commit graph

521 commits

Author SHA1 Message Date
Yichi Chen
6155b7811a Revert "Revert "[Gralloc] Remove the conditional configs for Gralloc""
This reverts commit 184562c0f8.

Reason for revert: The cache coherency shouldn't be reverted. This will cause the function break.

Change-Id: I9a62e507911a3eaed704f029546e81770ef3d199
2022-05-12 22:23:35 +00:00
Alice Kuo
94b6030c5a For BR/EDR/LE device, set CoD bit 14 as LE audio feature is supported
1. Fix PTS BAP/BA/DEBD/BV-01-C
2. Follow BAP specification

Bug: 230340013
Test: Pair with the other phone, check the CoD bit in EIR
Change-Id: Icc4466ab8d52e2ed373b8c40488497f673d89936
2022-05-12 15:55:10 +00:00
Peter_Liang
96981cf4a1 Add the makefile of the voice packs into the common file.
Bug: 230572940
Test: manual test
Change-Id: Ibe8995e5c4a627f18b00179ab8abec3db8ae455b
2022-05-12 09:34:45 +00:00
Sarah Chin
072b391a62 Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I976aa466db3efb712bd960d99c38f59c726f0860
Merged-In: I976aa466db3efb712bd960d99c38f59c726f0860
2022-05-12 09:19:48 +00:00
GOOGLE\huangaustin
1ab3bb1042 [PixelLogger][P22] Update P22 Pixel_default.nprf to disable DSP trace for L1
bug: 214351205
Change-Id: Ia1bc9ee5df36206fd0c8833e0dd32b39d26e38e6
2022-05-12 06:34:12 +00:00
Jay Wang
184562c0f8 Revert "[Gralloc] Remove the conditional configs for Gralloc"
This reverts commit 15dd6c2272.

Reason for revert: Caused the power regression b/231537621

Change-Id: Ie8d74127a16cf0a938201cf5e1cb7a76fa9ade0e
2022-05-11 15:56:07 +00:00
Sarah Chin
bb2e5a0486 Remove config_tcp_buffers
Moved to default values

Test: build
Bug: 222323543
Change-Id: I8993d1e587f1d0241e54e2ddc34ca551e89d8546
2022-05-11 01:44:18 +00:00
Chris.CC Lee
b5d322b061 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: I5d23f973e4ca40a5364f7523e4adb79f2a0b119a
2022-05-10 15:39:31 +00:00
Jinting Lin
562b9dc324 Add pixel stability logging mask
Bug: 228938584
Change-Id: Id709847fbd4a3fc2db6ff9d50e466f29a1c468bb
2022-05-09 03:35:59 +00:00
Labib
1ca9284256 Change sysfs file group to allow write from RadioExt
Bug: 212601547
Test: Manual
Change-Id: Ie1638265072cc395e7292570dae2a7aadb4d20bb
2022-05-03 01:14:09 +00:00
Yichi Chen
15dd6c2272 [Gralloc] Remove the conditional configs for Gralloc
Since GRALLOC_VERSION control has been totally removed, the
corresponding conditional configs should be removed to avoid wrong
configurations.

Bug: 224911573
Test: gralloc sync function can work to avoid noise in tiktok
Change-Id: I7d48f0271a251dfef2abc13dea59b92c541a497e
2022-05-02 18:45:16 +00:00
Sal Savage
4a4cb90798 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: I3f5bb98159ee5c3f01ba51d7064e262aa9da457f
2022-04-29 02:04:11 +00:00
Yichi Chen
ebec6a203c SF: set debug.sf.layer_caching_active_layer_timeout_ms to 1000
Avoid SF cache thrashing in some cases.

Bug: 189928400
Bug: 226447218
Test: no flicking issue with the testbuld (removed displaycolor fix)
      and flicking happens after set the prop to 0
Change-Id: I24aa79001ec21cff18ae5ac8ff988f70ed121061
2022-04-29 05:09:13 +08:00
Alec Mouri
4291e02212 Force some devices to treat 170M as sRGB in SF
Bug: 229442032
Test: builds, boots
Change-Id: If144724a342be4a74f823aa25ff8a74fe3d2843a
2022-04-28 20:37:45 +00:00
Sal Savage
365111bf97 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: I0e33816b9d2572d26ddd2ee8b623e0c1733accd0
2022-04-28 19:45:14 +00:00
Minchan Kim
3846f25d8d 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: If4a07b2b40ec078f9c4553227020aff802781919
2022-04-28 17:47:19 +00:00
Jerry Huang
44b9204c52 media: update performance data for Android T
Bug: 220997041
Test:
android.media.decoder.cts.VideoDecoderPerfTest
android.video.cts.VideoEncoderDecoderTest

Change-Id: I1c1d072a98628a3fa8b4c5a201db7d850faabcfa
2022-04-28 08:39:50 +00:00
GOOGLE\huangaustin
41fa4d9099 [PixelLogger][P22] Correct switch value of GP_SV_SMDT to true in P22 default.cfg and P22 Pixel_default.cfg for IMS team
bug: 230447442
Change-Id: I020c94459dc4421b3af96550ef2df96a696ac0ad
2022-04-28 04:03:08 +00:00
Aman Gupta
b8f826bf65 Enabling MEP feature for P10/C10 device.
Test: build
Bug: 216823287
Change-Id: I73851779950b7da35d2f23b01480440d780e2eca
2022-04-27 21:50:33 +00:00
Luigi Zevola
f8121ea9ba dumpstate: Increase MIF stats timeout
Increase command timeout to allow full printing of MIF request stats

Bug: 225585054
Test: On R4
Signed-off-by: Luigi Zevola <zevola@google.com>
Change-Id: I6dbce4d1d0e31d3e82da825b8b1a0e8de3041842
2022-04-27 02:40:16 +00:00
Ted Wang
7ac5f71ed9 Switch BluetoothCcc hal to 1.1
Bug: 229710243
Test: make
Change-Id: I3aacc422339486981ba3a54146c06dcb5ac739b4
2022-04-26 10:07:23 +00:00
Kris Chen
8efde59fb6 Remove the temporary FCM setting for fingerprint
Bug: 223118104
Test: m check-vintf-all
Test: atest vts_treble_vintf_vendor_test
Change-Id: I08de753408d4ae1ec503ad8037d3dfd22d400e80
2022-04-25 06:28:09 +00:00
Kelly Rossmoyer
f2fa5042d8 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: I84f5173aada0539d8c91d18d36a841bc9f3e3c9a
2022-04-25 03:56:51 +00:00
Kyle Tso
ef25209b6b usb: Modify the controller name
The name is 11210000.dwc3.

Bug: 229960483
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I671efc2e07b7057220b190181b0ef1bcef1e0dd4
2022-04-25 01:37:42 +00:00
Sal Savage
2d14aaae21 Update LE Audio profile properties to match spec and implementation
Bug: 217448211
Test: atest BluetoothInstrumentationTests
Change-Id: I27cecf0b6f4d56b36d82af6ffcd827653e32cff8
2022-04-22 22:06:39 +00:00
SalmaxChang
513166f781 dumpstate: change log compression timeout to 20s
The duration of dumpstate board binary is only 45s.
Change the log compression timeout from 120s to 20s.

Bug: 229932116
Change-Id: I2403ade04d69773b91ee90f591d40416ed684f71
2022-04-21 10:59:31 +00:00
Stephane Lee
87b68b782d ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I9627b35c6294aefb98e0e957f2a6b64aab0c2ae1
2022-04-21 09:18:50 +00:00
Darren Hsu
78364766c5 powerstats: set time limit as timeout for AoC
Bug: 219630658
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I725c00745890350f4227fc9408d926abc783ea66
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-04-21 04:07:54 +00:00
Jimmy Shiu
d9b7c62fd1 ADPF: deprecate the reporting rate from property
Use powerhint.json profile to define reporting rate.

Bug: 198379880
Test: build & manual test
Change-Id: Ia72845feac0b221034ab716240be2929dc449eac
2022-04-20 13:47:14 +00:00
Jinting Lin
3d30f2e370 Copy the pixel default logging mask to target folder
Bug: 214351205
Change-Id: I6a8890cb4a6af53f6906dfb4af23359c721883ce
2022-04-20 03:54:36 +00:00
Chung-Kai (Michael) Mei
7260497897 Revert "Enable load kernel modules in parallel"
Revert "fix path for i2c peripheral device"

Revert submission 17338969-gs201_parallel_load_enable

Reason for revert: b/229241620 RamdumpTest failed
Reverted Changes:
Ib0b4f19f4:Enable load kernel modules in parallel

Change-Id: I1dfea73fc9cd1549721201916fbf6e1184d56e56
2022-04-20 02:57:08 +00:00
Labib
13e063511a Upgrade RadioExt HAL Version
Bug: 220493359
Test: Manual
Change-Id: I1703c9ae65e232a5268cb2d9900031402fb225ee
2022-04-20 01:27:03 +00:00
Paul Thomson
9238919dcc Update dEQP level to 2022
Bug: b/228449928
Change-Id: I2ec7c9cadd858422b9e4e10324bc6a9621b24cc6
2022-04-19 15:37:13 +00:00
Sam Dubey
89f11fce86 Make IBluetoothEwp optional
Change Ie21bf80e294825b299ce54e0bfa4b3e95212db93 caused some broken targets like T6Pro. To mitigate the breakages on targets which are using the same framework matrix but weren't separately enabled/worked around with the BT EWP feature, making the hal optional.

Bug: 229722326
Change-Id: Iaa01dc7fed832981e73fe445e0ac67e500120f13
2022-04-19 15:18:25 +00:00
ykhung
e1a5177c81 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: Iac2cb88aed1abfcef9960438f0e4b198b3d9c12c
2022-04-19 14:12:07 +00:00
Patty
1c08d08e80 Enable EWP feature
Bug: 220121592
Test: Manual
Change-Id: Ie21bf80e294825b299ce54e0bfa4b3e95212db93
2022-04-19 11:40:00 +00:00
GOOGLE\huangaustin
06d178344e [PixelLogger][P22] Update P22 Pixel_default.nprf for L1
bug: 214351205
Change-Id: I003f7f3d8cd902f53d4f119836689abad0b0dc34
2022-04-14 11:32:33 +08:00
Michael Ayoubi
b371b9f1aa Add EuiccSupportPixelOverlay
Bug: b/228399053
Test: TH & test on device
Change-Id: I800e02be227f3985b9b56380430914b9352fe4f6
2022-04-13 21:28:09 +00:00
Long Ling
8f1c3091ba display: remove boosted mode
Remove boosted mode from the available modes list. Also remove boosted
color data from display_colordata_cal0.pb

Bug: 226204397
Change-Id: I5d889f6aff8dc0c5ac745087a639bb85b04a3fe5
2022-04-13 20:48:30 +00:00
Wayne Lin
91a91876a7 Revert "gps: update gps driver 140.20.23.532343"
This reverts commit 6ff778c951.

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

Change-Id: Ibbe3dafd529aa6daf48854b5af2fd08b41deacf2
2022-04-13 03:37:12 +00:00
Kyle Tso
e2c9e7a4b5 usb: Correct the i2c path
Bug: 228780694
Signed-off-by: Kyle Tso <kyletso@google.com>
Change-Id: I59a4fa0870264e5f2ca275d5a228f11fcc6bf4be
2022-04-11 14:26:48 +00:00
Wayne Lin
6ff778c951 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: 228251092

Test: Build pass and GNSS verify test pass
Change-Id: I5daa4f9cbcbdda827ceaf73f24562085d2876315
2022-04-08 09:10:26 +00:00
Taeju Park
7eefb31fcd Disable PMU freq limit in default
Bug: 223688700
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I8f1e583d3208d7cc7191a5601049118aca2e1d6e
2022-04-08 05:54:48 +00:00
Stephane Lee
2ac03d73b3 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I8a9db20276e75af57c27cba7b25ac3661364329d
(cherry picked from commit 5063a9afbf)
2022-04-08 02:49:40 +00:00
chungkai
7bb2178bc3 Enable load kernel modules in parallel
Test: boot successfully
Bug: 223463247
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ib0b4f19f46a029113bd71371e50c318218b517fd
2022-04-08 02:20:40 +00:00
Sam Dubey
fc62bbc886 Revert "ODPM: Fix rail selection file permissions"
This reverts commit dc0d3c1b05.

Reason for revert: Breaking linux denials check

Bug: 228414883
Change-Id: If80be482eadc75e9f0cae794a1d8aec5f33f4492
2022-04-07 13:04:21 +00:00
weichinweng
98d194bd7b Enable bluetooth profiles with product.prop
Bug: 217448211
Test: make -j
Change-Id: I76393f0567da7a76a7ce682b7818f6595d2a2ab0
2022-04-07 06:41:41 +00:00
Stephane Lee
dc0d3c1b05 ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions
Bug: 228112997
Change-Id: I2fc58c7c504f4a18ee2245569258d52dc42da680
(cherry picked from commit 5063a9afbf)
2022-04-07 00:45:23 +00:00
Long Ling
dd3caffc1d display: update adaptive color data
Bug: 209405107
Change-Id: Ie85ea94446eed9092fcbaf0e22d77c5fcad027ca
2022-04-06 23:54:13 +00:00
Mason Wang
0f7a0cb1a6 dumpstate: Dump P10 touch information.
Dump the touch information and rawdata when bugreport is triggered.

Bug: 199105131
Test: adb bugreport

Change-Id: Ie2450a3530ebd615067eaa70f1a0d74985d0e758
2022-04-06 10:03:14 +00:00