Home
last modified time | relevance | path

Searched refs:getLatestWakeLock (Results 1 – 3 of 3) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java69 assertThat(ShadowPowerManager.getLatestWakeLock()).isNull(); in acquire_shouldLogLatestWakeLock()
74 assertThat(ShadowPowerManager.getLatestWakeLock()).isNotNull(); in acquire_shouldLogLatestWakeLock()
75 assertThat(ShadowPowerManager.getLatestWakeLock()).isSameAs(lock); in acquire_shouldLogLatestWakeLock()
80 assertThat(ShadowPowerManager.getLatestWakeLock()).isNotNull(); in acquire_shouldLogLatestWakeLock()
81 assertThat(ShadowPowerManager.getLatestWakeLock()).isSameAs(lock); in acquire_shouldLogLatestWakeLock()
85 assertThat(ShadowPowerManager.getLatestWakeLock()).isNull(); in acquire_shouldLogLatestWakeLock()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPowerManager.java124 public static PowerManager.WakeLock getLatestWakeLock() { in getLatestWakeLock() method in ShadowPowerManager
126 return shadowApplication.getLatestWakeLock(); in getLatestWakeLock()
DShadowApplication.java188 public PowerManager.WakeLock getLatestWakeLock() { in getLatestWakeLock() method in ShadowApplication