Commit graph

952 commits

Author SHA1 Message Date
Jaegeuk Kim
19eb98145d DO NOT MERGE - Run fsck to resolve possible data corruption
Cherry-picked from http://ag/25163335.

Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe

Change-Id: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Merged-In: Ie6b9fc94752d91e77e8fc48979216917c1fd9ec3
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2023-10-26 01:13:46 +00:00
Vincent Palomares
69b275d019 Revert "Revert "init.zuma.rc: Disable util-awareness for mids and bigs""
This reverts commit 1bf61f399f.

Reason for revert: addressed b/296600315 (that caused the revert)

Bug: 289293494
Change-Id: I82e01459738794a387ea6cc50e3b8a8f1a3433d8
2023-09-06 00:12:06 +00:00
KRIS CHEN
0a77f9c0d2 Merge "Add task_profiles MaxPerformance for storageproxyd" into udc-d1-dev 2023-08-21 06:00:35 +00:00
Ken Sun
1bf61f399f Revert "init.zuma.rc: Disable util-awareness for mids and bigs"
This reverts commit 4c559d3334.

Reason for revert: Cause Wifi Speed regression issue

Bug: 296539490
Change-Id: Ifd11f6ada4025723839ca6ed9d468e59c2d49ef0
2023-08-18 16:09:37 +00:00
Kris Chen
a4bca41a16 Add task_profiles MaxPerformance for storageproxyd
It adds the storageproxyd to top-app group.

Bug: 290709897
Test: enroll fingerprint
Change-Id: I8f9a54bc374ff203e34f2ad7bcb9aabd319767fa
2023-08-18 16:30:20 +08:00
Qais Yousef
4c559d3334 init.zuma.rc: Disable util-awareness for mids and bigs
There are power regression reports for low activity use cases on mids
and bigs. Disable util-awareness on mids and bigs for now until this is
better investigated and either use a slightly higher threshold or fix
any potential root cause that is causing unnecessary higher activities
on these cores.

Bug: 289293494
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I7ab2dca998c749567c5e1908d57b2174313e8390
2023-08-15 00:35:25 +00:00
Renato Grottesi
06b3d41677 Disable armnn nnapi backend
Discontinue maintenance and active support of ArmNN on Pixel phones.

Bug: 294459623
Test: Local nnapi_info
Merged-In: I3eb3f880671bea091ff6c798d8def2f559a5e291
Change-Id: Ib6140584a724b5e1fd3634e414773092da49b41a
2023-08-08 05:24:28 +00:00
SaiChand Duppala
23b72ce780 Disable dumpstate strict-run flag
The change disables the dumpstate strict-run flag, which is enabled by default. Disabling this flag increases the timeout for capturing incident report to 120 seconds, from the default 20 seconds. This is done because 20s isn't enough to capture incident report proto in some cases, especially when device is throttling.

Bug: 283326935

Test: Booted both P23 devices along with other strict_run changes. Then manually thermal throttled the devices and captured bugreports. In some tests Incident report took lot more than 20s, and in all these cases it was succesfully captured.

Change-Id: Ie6e688ed7fb0218c1ace70d623f98378c7e6c1de
2023-08-02 13:27:34 -07:00
wenchangliu
fe8a7f9796 Update media_codecs_performance_c2.xml for meet device performance
The original performance number may not able to meet from CTS since
cpu scheduling is changed in P23 for power saving. We align hevc/h264
encoder lower bound performance as P22's result to get the stable test
result for CTS.

Bug: 291689152
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Change-Id: I17a7f832c421d873a68a87eea0131d141afdc108
2023-07-27 00:56:57 +00:00
Robin Peng
d5f885d7ce do not mount the debugfs on userdebug builds
Bug: 278988913
Change-Id: I5c703310a4f82acf52fad87854682ca6e668d99b
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-07-25 04:05:57 +00:00
Jason Chiu
bdb2edd63c Merge changes from topic "bootctrl_aidl_zuma" into udc-d1-dev
* changes:
  zuma: use android.hardware.boot aidl interface
  zuma: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
  zuma:interfaces:boot: add aidl interface support
2023-07-21 02:16:41 +00:00
Manish Kushwaha
b6988b3a51 Merge "update aoc node syspath for p23" into udc-d1-dev 2023-07-20 23:44:07 +00:00
Jason Chiu
309ea3aa47 zuma: use android.hardware.boot aidl interface
Bug: 282670401
Change-Id: I3b2d4f8ad2ac68c2bc730df1b75d2a3b96419b39
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-07-20 13:56:04 +00:00
Jason Chiu
c9cc7c3c68 zuma: update manifest HAL android.hardware.boot from hidl 1.2 to aidl
Bug: 282670401
Change-Id: Ifb24eba785a6609d2aef8612b6631bb0baee99a2
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-07-20 13:55:55 +00:00
Jason Chiu
193e5e8216 zuma:interfaces:boot: add aidl interface support
bootctrl aidl interface is based on hidl 1.2 interface implementation
code and migrate to aidl interface

Bug: 282670401
Test:
  - boot to home
  - OTA successfully in Recovery mode
  - OTA successfully in OS mode
Change-Id: I5221ddc997d06dc24e46816885d617f4cf193502
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-07-20 07:34:32 +00:00
Renato Grottesi
18dd617a65 Merge "Remove settings for old ArmNN HIDL backend" into udc-d1-dev 2023-07-20 06:37:16 +00:00
Manish Kushwaha
bb88de98d1 update aoc node syspath for p23
Bug: 291703347
Test: presubmit
Change-Id: Ifd1abc8fe9be19962cbf0b6c0b2de33ec3e38b30
2023-07-19 10:42:07 -07:00
Treehugger Robot
351d404ec5 Merge "init: Remove SICD in charger mode" into udc-d1-dev 2023-07-19 01:22:43 +00:00
Treehugger Robot
2af6795812 Merge "EGL: Configure multifile cache" into udc-d1-dev 2023-07-18 19:06:15 +00:00
Jason(HeWei) Sung
5627d40608 init: Remove SICD in charger mode
Bug: 290861377
Change-Id: I8fb2b67dd84af9713bcd36819ecaa9dcc4000ccb
Signed-off-by: Jason(HeWei) Sung <jasonsung@google.com>
2023-07-18 12:44:39 +08:00
Treehugger Robot
4b147a4ed7 Merge "Add missing android.permission.POST_NOTIFICATIONS" into udc-d1-dev 2023-07-17 03:16:46 +00:00
Cody Northrop
d67b5479af EGL: Configure multifile cache
Start with 32MB cache size limit.

Bug: 291316306
Change-Id: Ib917c3199ac9a205d72ae6c32c0ee82b4b0aebe7
2023-07-14 21:47:58 +00:00
Allen Xu
17f84089b4 Merge "Add missing notification pregrant for SCONE on P23" into udc-d1-dev 2023-07-14 18:15:59 +00:00
Allen Xu
805dbdcc85 Add missing notification pregrant for SCONE on P23
Bug: 291294626
Change-Id: I21ee38208d856e89ce6aa923d3c82b3e336a463b
Test: manual
2023-07-14 17:43:31 +00:00
Renato Grottesi
230b5846c7 Remove settings for old ArmNN HIDL backend
Compile ArmNN shim over the support library.

Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Merged-In: I57f807934ca219460a4e589b899f933115718a70
Change-Id: Ica6a25f270a499670f23ba5452903c4904f37d48
2023-07-14 12:32:55 +00:00
seanjstsai
04f2a3b2a6 Add missing android.permission.POST_NOTIFICATIONS
It was approved at gs201 go/ag/19997820

bug: 289878269

Change-Id: Id345368aab6d255624a316877c3d960f518b637c
2023-07-14 05:43:51 +00:00
Carter Hsu
2898891cb5 audio: CCA default off
Bug: 291165260
Test: build pass
Change-Id: I55458c7d944cb7a4279ccfc1dbe6b27e782c9a4c
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-14 02:17:11 +00:00
Treehugger Robot
27f50dfd36 Merge "Set kswapd CPU affinity" into udc-d1-dev 2023-07-14 01:23:41 +00:00
Joey Poomarin Phloyphisut
d65f8322ac Merge "[Audio Metric] pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported on Zuma" into udc-d1-dev 2023-07-13 11:27:41 +00:00
Treehugger Robot
7855ada413 Merge "init: restore preferred idle setting when boot completed" into udc-d1-dev 2023-07-12 14:48:19 +00:00
Poomarin Phloyphisut
fda850180b [Audio Metric] pixelstats: add cca_rate sysfs for VendorAudioHardwareStatsReported on Zuma
Test: Local Test
Bug: 289166146
Merged-In: I0b476417bd14972681c7ea7fb18ddff2aa8ed4ee
Change-Id: Ie5f0ad9825f7a9a5c00fb96088c0cad4647562e4
2023-07-12 08:59:01 +00:00
Martin Liu
3150d0826d Set kswapd CPU affinity
Bug: 289359822
Test: check kswapd CPU affinity
Change-Id: I714ece6faa9ed50a3b15ad4f9747fbca87e07da9
Signed-off-by: Martin Liu <liumartin@google.com>
2023-07-12 16:03:48 +08:00
Lisa Liu
6508bcaf16 init: restore preferred idle setting when boot completed
Restore preferred_idle_mask on boot_completed.

Bug: 284039815
Bug: 290724986
Test: pts-tradefed run singleCommand pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.BootPerformanceTest
Change-Id: Id174a2ad02e5bd1e2adcdd2e78d06090c7f626e9
2023-07-12 01:34:38 +00:00
Quinn Yan
5b8e2f840c Merge "Use version 1 of the DBA service, since version 1 is the only frozen version. bug:290377605" into udc-d1-dev 2023-07-11 22:51:50 +00:00
qinyiyan
ac0481adbb Use version 1 of the DBA service, since version 1 is the only frozen
version.
bug:290377605

Change-Id: I24efad6229c94d8fe455aa6b738f00bf5d2b1b91
2023-07-11 17:56:41 +00:00
Wen Chang Liu
3880b9fe71 Merge "advertise performance points for 1080p resolution" into udc-d1-dev 2023-07-11 15:05:04 +00:00
wenchangliu
5472e87455 advertise performance points for 1080p resolution
We advertise 4k@120 for meet Performance class U requirements.
However, to compliant with performance class T requirements,
We need advertise at least performace point to 180 FPS for 1080p resolution.

Bug: 290220438
Test: run cts -m CtsMediaMiscTestCases
Test: run cts -m CtsMediaPerformanceClassTestCases
Change-Id: I1eeee5f166ecc4f4416777b321a3d74d651029f2
2023-07-07 02:44:27 +00:00
Treehugger Robot
ab71f02e23 Merge "Cancel boost on off-mode charger" into udc-d1-dev 2023-07-07 02:35:49 +00:00
Treehugger Robot
b6a7f53aab Merge "init: boot time sched tuning" into udc-d1-dev 2023-07-06 23:46:41 +00:00
Chengyou Ho
f7023da1a5 Merge "device.mk: add misc_writer" into udc-d1-dev 2023-07-05 01:32:08 +00:00
Treehugger Robot
38af64d44c Merge "zuma: tweak memory management" into udc-d1-dev 2023-06-30 15:27:24 +00:00
Wei Wang
d5b4a0c933 Merge "Set PELT HALFLIFE to 8ms before early init boot stage" into udc-d1-dev 2023-06-30 08:33:37 +00:00
Nicole Lee
84b79b99ce Merge "zuma: add Pixel_stability modem log mask" into udc-d1-dev 2023-06-29 05:06:02 +00:00
Kevin Most
a77dffcd12 Merge "Updating VINTF manifest for IDebugManager." into udc-d1-dev 2023-06-28 17:59:35 +00:00
Nicole Lee
05c0f37f06 zuma: add Pixel_stability modem log mask
Bug: 289001309
Test: Check logging mask in /vendor/etc/modem
Change-Id: I57cf80735572ca0503220c4c76bdb9e3434e2369
2023-06-28 07:41:35 +00:00
Lisa Liu
c681323649 init: boot time sched tuning
Restore uclamp_min and use preferred_idle_mask and group util to
optimize about 200ms boot time performance.

Bug: 284039815
Test: pts-tradefed run singleCommand pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.BootPerformanceTest
Change-Id: I3a77fb0270c1afdc3983710c90a4369a813c7f2c
2023-06-28 03:03:28 +00:00
Wei Wang
6545ed1999 Cancel boost on off-mode charger
Test: Build
Bug: 289120007
Change-Id: I2cba4f1667d903f79fc9a510dfb7c68ce543b393
Signed-off-by: Wei Wang <wvw@google.com>
2023-06-27 15:36:16 -07:00
Petri Gynther
9beb858999 Disable DP on all images
Bug: 288506710
Change-Id: I0fcd5a88aab5eea12c524b0f1bc97c9c62e37c8b
2023-06-27 14:17:22 -07:00
Tim Murray
5f975896d4 zuma: tweak memory management
- set lmkd's swap_free_low_percentage to 100
- decrease swappiness to 60

Test: boots with correct settings
Bug: 288432219
Change-Id: Ie9fc39b03b25ee231190e12e312485794d0f8686
2023-06-26 17:37:51 -07:00
Habib Moukalled
2219eee7d7 Updating VINTF manifest for IDebugManager.
Notes:
- Updating AIDL HAL for IDebugManager.

Bug: 284165549
Test: build test
Change-Id: Id86e0c2a737158191eae26bbb30943bbff8f67a9
2023-06-26 20:19:35 +00:00