Commit graph

533 commits

Author SHA1 Message Date
Ankit Goyal
efd8e19d57 Deprecate allocator 4.0 in favor of AIDL V1
Bug: 220910504
Bug: 228405226
Test: go/allocator4-deprecate
Change-Id: Iecb0517f1abddcf0c7f289c716552154141c7eeb
2022-05-24 21:42:02 +00:00
GOOGLE\huangaustin
90aa043beb [PixelLogger][P22] Update P22 Pixel_default.nprf to enable all channels in GP_SV_SMDT trace for NAS
bug: 214351205
Change-Id: I487fba907adc0379b05d2f1b7b058069944e0e01
2022-05-24 15:12:47 +08:00
Ricky Niu
e6cacbcff2 usb: limit the current to 1.3A when connect to accessory
For imporve USB stability, limit the current to 1.3A,
when connect to accessory.

Bug: 206635552
Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I2c1091aa7111e6242cc949923fbc86f27e54e976
2022-05-23 23:59:44 +00:00
Jaegeuk Kim
0c024a7f2b Revert "use erofs for RO partitions"
This reverts commit 554e90c439.

It turned out EROFS has app-launch time regression.

FS			Total image	App-launch	OTA size (MB)
			    size (MB)	    Time (AVG)
ext4			4040 (0%)	403.77		2252
erofs (compression)	2754 (-32%)	540.98 (+34%)	2528 (+12%)
erofs (no-compression)	4126 (+2%)	476.23 (+18%)	2277 (+1%)

Bug: 231934752
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I33f68a426ff655a9282fec66c0fa54215954aa45
Merged-In: I33f68a426ff655a9282fec66c0fa54215954aa45
2022-05-23 21:00:19 +00:00
neoyu
e8d28c6c1c Enable SET_SCREEN_STATE request for P22
Modem of P22 supports this request

Bug: 233335646
Test: manual
Change-Id: If0478657684f65d84134eb54d9a0504d5ca0d166
2022-05-23 06:20:11 +00:00
Allen Xu
aa81635cad Add notification pregrant for SCONE
Bug: 233243584
Change-Id: Id18a36486e012ce5e6749da16c51f88afa5ff278
Test: manual
2022-05-20 18:12:35 +00:00
jonerlin
06a3640fc9 Enable IBluetoothExt interface feature
Bug: 228943442
Test: Manually
Change-Id: I4669873fb316187a322422e1663370265b7a07c4
2022-05-20 05:06:29 +00:00
Aaron Tsai
354bade9b6 Enable Early Send Device Info for C10/P10
This is for supporting Softbank requirement OTR-CORE_GEN-000305,
  UE shall delete the GUTI when performing software update.

Bug: 229207853
Test: manual test
Change-Id: I613ed05ad808c166368f67f7c3c9335c59be04b2
2022-05-20 01:38:42 +00:00
Michele Berionne
4874713933 Add notification pregrant for OobConfig
Bug: 232002666
Change-Id: Iaaeb46f71c49bee72ca1ba55368e2d99860d9243
Test: manual
2022-05-19 21:31:26 +00:00
Jinting Lin
8d9f3b1cfd Update pixel stability logging mask
- LTE_L1LC, LTE_HAL
- GP_CH_NR, GP_SMPF_PROTO
- HSPA_UHAL, UHAL_COMMON, UHAL_hRX, UHAL_hTX, UHAL_IRAT, UHAL_MISC, UHAL_RAKE,UHAL_RF_RX1, UHAL_RF_RX2, UHAL_RF_TX, UHAL_RX, UHAL_SLEEP, UHAL_SRCH, UHAL_TX
- UPHY_COMMON, UPHY_DSL1RC, UPHY_hRX, UPHY_hTX, UPHY_IDLE, UPHY_IRAT, UPHY_MISC, UPHY_RAKE, UPHY_RF, UPHY_RRM, UPHY_RX, UPHY_SRCH, UPHY_TX

Bug: 232195120
Change-Id: Ib6c706fc9ee393a35798a59344461876d765481e
2022-05-18 08:31:01 +00:00
GOOGLE\huangaustin
29de81384c [P22] Update default.nprf and Pixel_Default.nprf based on s5300 0414 release
bug: 232498425
Change-Id: I5ac26ef227462832d68f6dc26da519946e5c12e1
2022-05-16 19:33:26 +08:00
Nate Myren
5a2f5e6c55 Add further notification pregrants to g201
Bug: 232469538
Bug: 232470607
Bug: 232470323
Test: manual
Change-Id: Ifc7676c5ec5ad4584a430f77a2943b2dae29631e
2022-05-13 15:47:37 -07:00
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