Searched refs:screenOff (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateStatsTest.cpp | 86 int screenOff = times["ScreenOff"]; in TEST_F() local 91 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 96 screenOff = mRefreshRateStats->getTotalTimes()["ScreenOff"]; in TEST_F() 99 EXPECT_EQ(screenOff, times["ScreenOff"]); in TEST_F() 107 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 111 screenOff = mRefreshRateStats->getTotalTimes()["ScreenOff"]; in TEST_F() 116 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 133 int screenOff = times["ScreenOff"]; in TEST_F() local 138 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 142 screenOff = mRefreshRateStats->getTotalTimes()["ScreenOff"]; in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjProfiler.java | 118 private void updateSystemServerCpuTime(boolean onBattery, boolean screenOff) { in updateSystemServerCpuTime() argument 125 cpuTimeMs - mLastSystemServerCpuTimeMs, onBattery, screenOff); in updateSystemServerCpuTime() 192 public void addCpuTimeMs(long cpuTimeMs, boolean onBattery, boolean screenOff) { in addCpuTimeMs() argument 195 if (screenOff) { in addCpuTimeMs()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 222 private void setScreenOff(boolean screenOff) { in setScreenOff() argument 223 if (mScreenOff != screenOff) { in setScreenOff() 224 mScreenOff = screenOff; in setScreenOff()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3864 final boolean screenOff = !isScreenOn(screenState); in updateTimeBasesLocked() 3867 (unplugged && screenOff) != mOnBatteryScreenOffTimeBase.isRunning(); in updateTimeBasesLocked() 3893 mOnBatteryScreenOffTimeBase.setRunning(unplugged && screenOff, uptime, realtime); in updateTimeBasesLocked()
|