Searched refs:getDisplayScreenDozeTime (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsNoteTest.java | 636 assertEquals(0, bi.getDisplayScreenDozeTime(0, 250_000)); in testNoteScreenStateTimersLocked() 645 assertEquals(0, bi.getDisplayScreenDozeTime(0, 350_000)); in testNoteScreenStateTimersLocked() 654 assertEquals(100_000, bi.getDisplayScreenDozeTime(0, 500_000)); in testNoteScreenStateTimersLocked() 663 assertEquals(600_000, bi.getDisplayScreenDozeTime(0, 1500_000)); in testNoteScreenStateTimersLocked() 688 assertEquals(0, bi.getDisplayScreenDozeTime(0, 250_000)); in testNoteScreenStateTimersLocked_multiDisplay() 690 assertEquals(0, bi.getDisplayScreenDozeTime(1, 250_000)); in testNoteScreenStateTimersLocked_multiDisplay() 699 assertEquals(0, bi.getDisplayScreenDozeTime(0, 350_000)); in testNoteScreenStateTimersLocked_multiDisplay() 701 assertEquals(0, bi.getDisplayScreenDozeTime(1, 350_000)); in testNoteScreenStateTimersLocked_multiDisplay() 710 assertEquals(100_000, bi.getDisplayScreenDozeTime(0, 500_000)); in testNoteScreenStateTimersLocked_multiDisplay() 712 assertEquals(0, bi.getDisplayScreenDozeTime(1, 500_000)); in testNoteScreenStateTimersLocked_multiDisplay() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | AmbientDisplayPowerCalculator.java | 87 final long dozeTime = batteryStats.getDisplayScreenDozeTime(display, rawRealtimeUs) in calculateEstimatedPower()
|
D | BatteryStatsImpl.java | 7495 public long getDisplayScreenDozeTime(int display, long elapsedRealtimeUs) { in getDisplayScreenDozeTime() method in BatteryStatsImpl
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 2542 public abstract long getDisplayScreenDozeTime(int display, long elapsedRealtimeUs); in getDisplayScreenDozeTime() method in BatteryStats 5607 final long displayScreenDozeTimeUs = getDisplayScreenDozeTime(display, rawRealtime); in dumpLocked()
|