Home
last modified time | relevance | path

Searched refs:noteScreenStateLocked (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DAmbientDisplayPowerCalculatorTest.java59 stats.noteScreenStateLocked(0, Display.STATE_DOZE, 30 * MINUTE_IN_MS, 30 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel()
65 stats.noteScreenStateLocked(0, Display.STATE_OFF, 120 * MINUTE_IN_MS, 120 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel()
96 stats.noteScreenStateLocked(0, screenStates[0], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay()
97 stats.noteScreenStateLocked(1, screenStates[1], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay()
102 stats.noteScreenStateLocked(0, screenStates[0], 30 * MINUTE_IN_MS, 30 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
109 stats.noteScreenStateLocked(1, Display.STATE_DOZE, 90 * MINUTE_IN_MS, 90 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
117 stats.noteScreenStateLocked(0, screenStates[0], 120 * MINUTE_IN_MS, 120 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
125 stats.noteScreenStateLocked(1, screenStates[1], 150 * MINUTE_IN_MS, 150 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
151 stats.noteScreenStateLocked(0, Display.STATE_DOZE, 30 * MINUTE_IN_MS, 30 * MINUTE_IN_MS, in testPowerProfileBasedModel()
153 stats.noteScreenStateLocked(0, Display.STATE_OFF, 120 * MINUTE_IN_MS, 120 * MINUTE_IN_MS, in testPowerProfileBasedModel()
[all …]
DScreenPowerCalculatorTest.java64 batteryStats.noteScreenStateLocked(0, Display.STATE_ON, 0, 0, 0); in testMeasuredEnergyBasedModel()
82 batteryStats.noteScreenStateLocked(0, Display.STATE_OFF, in testMeasuredEnergyBasedModel()
153 batteryStats.noteScreenStateLocked(0, screenStates[0], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay()
154 batteryStats.noteScreenStateLocked(1, screenStates[1], 0, 0, 0); in testMeasuredEnergyBasedModel_multiDisplay()
169 batteryStats.noteScreenStateLocked(0, screenStates[0], in testMeasuredEnergyBasedModel_multiDisplay()
171 batteryStats.noteScreenStateLocked(1, screenStates[1], 80 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
181 batteryStats.noteScreenStateLocked(1, screenStates[1], 110 * MINUTE_IN_MS, in testMeasuredEnergyBasedModel_multiDisplay()
243 batteryStats.noteScreenStateLocked(0, Display.STATE_ON, 0, 0, 0); in testPowerProfileBasedModel()
256 batteryStats.noteScreenStateLocked(0, Display.STATE_OFF, in testPowerProfileBasedModel()
316 batteryStats.noteScreenStateLocked(0, Display.STATE_ON, 0, 0, 0); in testPowerProfileBasedModel_multiDisplay()
[all …]
DBatteryStatsNoteTest.java486 bi.noteScreenStateLocked(0, Display.STATE_ON); in testNoteScreenStateLocked()
488 bi.noteScreenStateLocked(0, Display.STATE_DOZE); in testNoteScreenStateLocked()
493 bi.noteScreenStateLocked(0, Display.STATE_ON); in testNoteScreenStateLocked()
498 bi.noteScreenStateLocked(0, Display.STATE_OFF); in testNoteScreenStateLocked()
503 bi.noteScreenStateLocked(0, Display.STATE_DOZE_SUSPEND); in testNoteScreenStateLocked()
509 bi.noteScreenStateLocked(0, Display.STATE_VR); in testNoteScreenStateLocked()
515 bi.noteScreenStateLocked(0, Display.STATE_ON_SUSPEND); in testNoteScreenStateLocked()
534 bi.noteScreenStateLocked(0, Display.STATE_OFF); in testNoteScreenStateLocked_multiDisplay()
535 bi.noteScreenStateLocked(1, Display.STATE_OFF); in testNoteScreenStateLocked_multiDisplay()
537 bi.noteScreenStateLocked(0, Display.STATE_DOZE); in testNoteScreenStateLocked_multiDisplay()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1639 mStats.noteScreenStateLocked(0, state, elapsedRealtime, uptime, currentTime); in noteScreenState()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java4976 noteScreenStateLocked(0, primaryScreenState, in setPretendScreenOff()
5502 public void noteScreenStateLocked(int display, int state) { in noteScreenStateLocked() method in BatteryStatsImpl
5503 noteScreenStateLocked(display, state, mClock.elapsedRealtime(), mClock.uptimeMillis(), in noteScreenStateLocked()
5508 public void noteScreenStateLocked(int display, int displayState, in noteScreenStateLocked() method in BatteryStatsImpl
/frameworks/base/services/
Dart-wear-profile22149 PLcom/android/server/power/stats/BatteryStatsImpl;->noteScreenStateLocked(IIJJJ)V
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt73906 Lcom/android/internal/os/BatteryStatsImpl;->noteScreenStateLocked(I)V