summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Lakshman Annadorai <lakshmana@google.com> 2024-09-11 22:15:51 +0000
committer Lakshman Annadorai <lakshmana@google.com> 2024-09-11 22:15:51 +0000
commitbfa1d7137134f74303fbc1a0b240df585b80e2c9 (patch)
treea4d529459a9eda0d0fd24fdcda1adf24aa86640d /libs/androidfw/ObbFile.cpp
parent88290595a285ed2c41b378ee46b34dffda249cb1 (diff)
Periodically read cpuset categories until boot complete.
The cpuset categories are subject to change at any point during system bootup, as determined by the init rules specified within the init.rc files. Therefore, it's necessary to read the cpuset categories each time before accessing CPU usage statistics until the system boot completes. After boot complete, an external service may still cause changes, which take a few seconds to propagate. Therefore, a delayed task is initiated on boot completion to stop periodic reading and ensure synchronization with the latest cpuset category updates. Flag: EXEMPT fixing a minor bug Change-Id: I260aab57c68fb1fa59bc1174613ce314d75baf7d Test: atest CpuInfoReaderTest CpuMonitorServiceTest Bug: 355099583
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions