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
(cherry picked from commit e6cacbcff21d315763943469038c9ca8822a7f37)
The class of device is a string with a list of uint8t values:
90,66,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 14: LE audio
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x42 -> 66 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 268583002
Test: Check COD
Change-Id: I46b62aa06296f3b565cd35da5d6742ab0b30fab8
Test: sanity test at b/268167428
Test: sanity test at b/268166962
Test: atest CtsLocationGnssTestCases
Test: atest VtsHalGnssTargetTest
Bug: 268165042
Change-Id: Iadba50f626c23a01eb0643cc78b750458b5e12bf
This reverts commit 6191ab4e6b.
Reason for revert: Enable DSP Saliency and ESP by default.
Bug: 258342843
Test: Stability test passed (b/264671175)
Change-Id: Ib1ec0525511748567e96cbfdf830073687c85b8b
Fix prefix-correlation weakness in filenames encryption by switching to
AES-256-HCTR2. Enabling HCTR2 fixes a longstanding known weakness in
filenames encryption.
Also enable HCTR2 for adoptable storage. Pixel phones don't have an SD
card slot. So they can only have adoptable storage through the "Virtual
SD Card", which is for testing only.
Bug: 265046004
Test: Equivalent changes were tested on P21 since I don't have a P23.
Will be tested with storage-qa.
Change-Id: I0666eb07c4b93b1bab4da41e3b4f5019ac38c213
SYNC mode increases report quality. It slightly degrades performance
over ASYNC, but for early dogfooding we value debuggability over
performance, as performance is not representative yet.
SYNC is prohibitively slow on the big core.
Test: cat /sys/devices/system/cpu/cpu?/mte_tcf_preferred
Bug: 239832365
Change-Id: I71f552898808ffceba13de74526b7e50538e290f
This folder was created previously by a factory calibration script. On some 2023 devices, auto calibration will replace factory calibration, so the folder won't be automatically created in the factory anymore. We create the folder as part of the device initialization, so it is available by the time we try to write a new calibration file into the folder.
Bug: 246991030
Test: test on device
Change-Id: I8548bc7f7058f435cf3df6734de33bed62b86469
Bug: 264833502
Test: Verified that head tracker feature is set and sensor feature CTS
test passes.
Change-Id: If0180602903114016ef538b7a383b92f473cdb59