Home
last modified time | relevance | path

Searched refs:UPDATE_CPU (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java258 return scheduleSyncLocked("remove-uid", UPDATE_CPU); in scheduleCpuSyncDueToRemovedUid()
265 if (mCurrentFuture == null || (mUpdateFlags & UPDATE_CPU) == 0) { in scheduleSyncDueToScreenStateChange()
282 scheduleSync("wakelock-change", UPDATE_CPU); in scheduleCpuSyncDueToWakelockChange()
476 if ((updateFlags & UPDATE_CPU) != 0) {
500 if ((updateFlags & UPDATE_CPU) != 0) {
701 if ((updateFlags & UPDATE_CPU) != 0) {
981 if ((flags & UPDATE_CPU) != 0) {
DBatteryStatsImpl.java825 int UPDATE_CPU = 0x01; field
835 UPDATE_CPU | UPDATE_WIFI | UPDATE_RADIO | UPDATE_BT | UPDATE_RPM | UPDATE_DISPLAY
843 UPDATE_CPU,
5701 externalUpdateFlag |= ExternalStatsSync.UPDATE_CPU; in noteScreenStateLocked()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryExternalStatsWorkerTest.java22 import static com.android.server.power.stats.BatteryStatsImpl.ExternalStatsSync.UPDATE_CPU;
186 mBatteryExternalStatsWorker.getEnergyConsumersLocked(UPDATE_CPU).getNow(null); in testTargetedEnergyConsumerQuerying()
DBatteryStatsNoteTest.java26 import static com.android.server.power.stats.BatteryStatsImpl.ExternalStatsSync.UPDATE_CPU;
491 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked()
496 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked()
501 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked()
506 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked()
512 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked()
540 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked_multiDisplay()
545 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked_multiDisplay()
550 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked_multiDisplay()
555 assertEquals(UPDATE_CPU | UPDATE_DISPLAY, bi.getAndClearExternalStatsSyncFlags()); in testNoteScreenStateLocked_multiDisplay()
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt72895 Lcom/android/internal/os/BatteryStatsImpl$ExternalStatsSync;->UPDATE_CPU:I