Home
last modified time | relevance | path

Searched refs:getDisplayScreenDozeTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsNoteTest.java636 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/
DAmbientDisplayPowerCalculator.java87 final long dozeTime = batteryStats.getDisplayScreenDozeTime(display, rawRealtimeUs) in calculateEstimatedPower()
DBatteryStatsImpl.java7495 public long getDisplayScreenDozeTime(int display, long elapsedRealtimeUs) { in getDisplayScreenDozeTime() method in BatteryStatsImpl
/frameworks/base/core/java/android/os/
DBatteryStats.java2542 public abstract long getDisplayScreenDozeTime(int display, long elapsedRealtimeUs); in getDisplayScreenDozeTime() method in BatteryStats
5607 final long displayScreenDozeTimeUs = getDisplayScreenDozeTime(display, rawRealtime); in dumpLocked()