Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPowerManager.java27 private boolean isScreenOn = true; field in ShadowPowerManager
42 protected boolean isScreenOn() { in isScreenOn() method in ShadowPowerManager
43 return isScreenOn; in isScreenOn()
47 isScreenOn = screenOn; in setIsScreenOn()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java117 assertThat(powerManager.isScreenOn()).isTrue(); in isScreenOn_shouldGetAndSet()
119 assertThat(powerManager.isScreenOn()).isFalse(); in isScreenOn_shouldGetAndSet()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/
DRequirements.java162 : Util.SDK_INT >= 20 ? !powerManager.isInteractive() : !powerManager.isScreenOn(); in isDeviceIdle()
/external/libchrome/base/android/java/src/org/chromium/base/
DApiCompatibilityUtils.java372 return manager.isScreenOn(); in isInteractive()