Home
last modified time | relevance | path

Searched refs:newWakeLock (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java38 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/
DWakeLockManager.java63 wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKE_LOCK_TAG); in setEnabled()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DWakeLockFacade.java58 WakeLock full = mmPowerManager.newWakeLock(flags, WAKE_LOCK_TAG); in addWakeLock()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPowerManager.java35 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/
DHostActivity.java192 wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, LOCK_TAG); in onStart()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java274 wakelock = manager.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, getPackageName()); in onCreate()