The first default zram write back time is 3 hours which
is for go device to quickly save more ram. For Pixel
devices, we have more working set and could bring launch
time impact if we write back too fast. Thus, adjust the
first time write back time to 24 hours which is aligned
with periodic write back time.
Bug: 166739872
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I2388dd6d75ab0a938fe0edae0563fd26e48c9908
[libfs_mgr]Warning: unknown flag: zram_loopback_path=/data/per_boot/zram_swap
[libfs_mgr]Warning: unknown flag: zram_loopback_size=512M
We don't use zram_loopback_path any longer so remove it.
We also changed zram_loopback_size with zram_backingdev_size so correct it.
Bug: 145330273
Bug: 145116439
Test: confirmed there is no warning and zram backing device was configured
Change-Id: I51be34c59203813a2f493eee6ab442c9940b75d7
Signed-off-by: Minchan Kim <minchan@google.com>
Signed-off-by: YH_Lin <yhli@google.com>
-Switch to LZ4 for better overall performance
-Set max_comp_streams to num of cores since upstream also moves this to
percpu.
-Set page-cluster to 0 as the incremental cost of reading 1 page at a
time is negligible for zram
Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
* The modem version is a minimum requirement, hence it's useless to
assert on multiple modem versions.
Change-Id: I206b05365681d2292417dfbdc78b9faf11e2a295
* When setting the doze mode to HBM, disabling AOD and enabling it again
the doze mode was still set to HBM but the listpreference was reset to
LBM.
Change-Id: Ibd9682c97757335ac4df48a21c7b64f7b36dd585
Allows us to check the idle state of the display in order to use perf
hints to improve system performance.
Bug: 69270928
Bug: 69915886
Test: Booted and cat-ed the affected files
Change-Id: I8717093e9b8ed9ed35b6ca51a20225abbf71f775
Because the arch is similiar with SDM670, we aling the setting with
bonito.
Bug: 142552311
Test: build , munaual check the settings
Change-Id: Ica44125c8ed71a85cfd6bde77c9107bceed7b094
Bug: 36367381
Test: Boot and check stune configuration effect on sysfs
Change-Id: I838c31d164684a5d88550c92284b65bb50f2ed56
Signed-off-by: Andres Oportus <andresoportus@google.com>
Signed-off-by: Arian <arian.kulmer@web.de>
* AVB's `--flags 3` arguement builds a disabled VBMeta with
disabled hashtree, so no need to set both flags individually.
Signed-off-by: raghavt20 <raghavtandon2000@gmail.com>
Enable Adaptive color mode setting.
Bug: 143513730
Test: Boot test and measure the adaptive color value
Change-Id: I969ec6c3cb1d092a33c0e3a028ff38ad7115dfe2
Accessibility transforms require a specific color mode that is not
always available for the user to select.
Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: Ia3211d5aa6e117c5361dea44d944064b23260a81
This is required with blobs and firmware from global stable Android 11 builds.
Fixes this error:
05-31 00:05:23.600 687 687 E QCOM-OEMCrypto: Error at trusted_app_decrypt_cenc : 2563
05-31 00:05:23.600 687 687 E QCOM-OEMCrypto: TA Result : 45 OEMCryptoResult : 38
05-31 00:05:23.601 687 687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.601 687 687 I QCOM-OEMCrypto: Error stack trace[5] for TA version 1:71
05-31 00:05:23.601 687 687 E QCOM-OEMCrypto: drm_get_ops_obj : 1174
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: drm_enforce_hdcp_level : 1204
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: validate_key_control_for_decrypt : 1216
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: process_subsample : 1403
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: i_widevine_session_decrypt_cenc : 1739
05-31 00:05:23.602 687 687 I QCOM-OEMCrypto: -----------------------------------------------------------------
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: Error at decrypt_data : 1874
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: Error at _oecc48 : 2322
05-31 00:05:23.602 687 687 E QCOM-OEMCrypto: Error at _oecc105 : 3119
05-31 00:05:23.602 687 687 E WVCdm : [crypto_session.cpp(1541):Decrypt] OEMCrypto_DecryptCENC failed: status = 38
05-31 00:05:23.602 687 687 E WVCdm : Decrypt error in session sid8 during a sample with protected data: 179
Change-Id: Icb7467e1e4b4e9260c34ac7a0bda6f48e5c6f34a