Searched refs:getLatestWakeLock (Results 1 – 4 of 4) sorted by relevance
69 assertThat(ShadowPowerManager.getLatestWakeLock()).isNull(); in acquire_shouldLogLatestWakeLock()74 assertThat(ShadowPowerManager.getLatestWakeLock()).isNotNull(); in acquire_shouldLogLatestWakeLock()75 assertThat(ShadowPowerManager.getLatestWakeLock()).isSameInstanceAs(lock); in acquire_shouldLogLatestWakeLock()80 assertThat(ShadowPowerManager.getLatestWakeLock()).isNotNull(); in acquire_shouldLogLatestWakeLock()81 assertThat(ShadowPowerManager.getLatestWakeLock()).isSameInstanceAs(lock); in acquire_shouldLogLatestWakeLock()85 assertThat(ShadowPowerManager.getLatestWakeLock()).isNull(); in acquire_shouldLogLatestWakeLock()
46 WakeLock wakeLock = ShadowPowerManager.getLatestWakeLock(); in stayAwakeFalse_wakeLockIsNeverHeld()60 WakeLock wakeLock = ShadowPowerManager.getLatestWakeLock(); in stayAwakeTrue_wakeLockIsOnlyHeldWhenEnabled()
124 public static PowerManager.WakeLock getLatestWakeLock() { in getLatestWakeLock() method in ShadowPowerManager126 return shadowApplication.getLatestWakeLock(); in getLatestWakeLock()
188 public PowerManager.WakeLock getLatestWakeLock() { in getLatestWakeLock() method in ShadowApplication