Searched refs:screenOff (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | RefreshRateStatsTest.cpp | 95 int screenOff = times["ScreenOff"]; in TEST_F() local 101 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 106 screenOff = mRefreshRateStats.getTotalTimes()["ScreenOff"]; in TEST_F() 109 EXPECT_EQ(screenOff, times["ScreenOff"]); in TEST_F() 116 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 120 screenOff = mRefreshRateStats.getTotalTimes()["ScreenOff"]; in TEST_F() 125 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 157 int screenOff = times["ScreenOff"]; in TEST_F() local 164 EXPECT_LT(screenOff, times["ScreenOff"]); in TEST_F() 170 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 | 225 private void setScreenOff(boolean screenOff) { in setScreenOff() argument 226 if (mScreenOff != screenOff) { in setScreenOff() 227 mScreenOff = screenOff; in setScreenOff()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3861 final boolean screenOff = !isScreenOn(screenState); in updateTimeBasesLocked() 3864 (unplugged && screenOff) != mOnBatteryScreenOffTimeBase.isRunning(); in updateTimeBasesLocked() 3890 mOnBatteryScreenOffTimeBase.setRunning(unplugged && screenOff, uptime, realtime); in updateTimeBasesLocked()
|