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
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
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
pKVM provides a workaround for A0 hardware issue. Signal to tests that
an A0 device should not be run without it by enabling it in /misc on
first boot. We only do this on debug builds.
Bug: 266183966
Test: flash, boot, reboot to bootloader, check 'fastboot oem pkvm'
Change-Id: I9465cf816c65943cba6e04b1d939b0bb5af4395d
Performance of pKVM differs between hardware revisions. Set AVF's debug
property on A0 chips to separate benchmark results from each other.
Bug: 266183966
Test: getprop | grep 'debug.hypervisor.metrics_tag'
Change-Id: Ic7c048e1209bf957cef2373b92dc2e9de2733a9c
Change the setting of DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE from ':='
to '+=' due to that vendor services like WLC will be added before it.
Bug: 265476345
Change-Id: I1b60f69465faad3749f1e54a561d1c20c99b7237
Signed-off-by: Ken Yang <yangken@google.com>
Since we are going to remove old pid algo for zuma, don't need to have
version control anymore.
Bug: 247536326
Test: lshal debug android.hardware.thermal@2.0::IThermal/default
Change-Id: I1f6fe94f018c66156f08d66989c833547f8aa3b9