Searched refs:getAndClearExternalStatsSyncFlags (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsNoteTest.java | 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() 519 assertEquals(0, 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 …]
|
D | MockBatteryStatsImpl.java | 268 public int getAndClearExternalStatsSyncFlags() { in getAndClearExternalStatsSyncFlags() method in MockBatteryStatsImpl
|