Searched refs:newWakeLock (Results 1 – 6 of 6) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowPowerManagerTest.java | 38 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in acquire_shouldAcquireAndReleaseReferenceCountedLock() 71 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in acquire_shouldLogLatestWakeLock() 90 assertThat(powerManager.newWakeLock(0, "TAG")).isNotNull(); in newWakeLock_shouldCreateWakeLock() 95 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock() 111 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in newWakeLock_shouldThrowRuntimeExceptionIfLockIsUnderlocked() 124 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in isReferenceCounted_shouldGetAndSet() 178 PowerManager.WakeLock lock = powerManager.newWakeLock(0, "TAG"); in workSource_shouldGetAndSet()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | WakeLockManager.java | 63 wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKE_LOCK_TAG); in setEnabled()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | WakeLockFacade.java | 58 WakeLock full = mmPowerManager.newWakeLock(flags, WAKE_LOCK_TAG); in addWakeLock()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPowerManager.java | 35 protected PowerManager.WakeLock newWakeLock(int flags, String tag) { in newWakeLock() method in ShadowPowerManager
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | HostActivity.java | 192 wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOCK_TAG); in onStart()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | ConsoleActivity.java | 274 wakelock = manager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, getPackageName()); in onCreate()
|