Home
last modified time | relevance | path

Searched refs:isHeld (Results 1 – 21 of 21) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DPowerManagerTest.java43 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseReferenceCountedLock()
45 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseReferenceCountedLock()
48 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseReferenceCountedLock()
51 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseReferenceCountedLock()
53 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseReferenceCountedLock()
61 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseNonReferenceCountedLock()
63 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseNonReferenceCountedLock()
65 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseNonReferenceCountedLock()
69 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseNonReferenceCountedLock()
DWifiManagerTest.java148 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseWifilockRefCounted()
150 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseWifilockRefCounted()
152 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseWifilockRefCounted()
160 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseWifilockNonRefCounted()
162 assertTrue(lock.isHeld()); in shouldAcquireAndReleaseWifilockNonRefCounted()
164 assertFalse(lock.isHeld()); in shouldAcquireAndReleaseWifilockNonRefCounted()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPowerManager.java61 public synchronized boolean isHeld() { in isHeld() method in ShadowPowerManager.ShadowWakeLock
DShadowWifiManager.java172 public synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowWifiLock
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc111 if (dd.isHeld(&lt->dd, m->id)) in MutexBeforeLock()
162 CHECK(!dd.isHeld(&lt->dd, m->id)); in MutexAfterLock()
Dsanitizer_deadlock_detector.h283 bool is_reachable = !isHeld(dtls, cur_node) && onLockBefore(dtls, cur_node);
348 bool isHeld(DeadlockDetectorTLS<BV> *dtls, uptr node) const { in isHeld() function
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_deadlock_detector_test.cc332 EXPECT_TRUE(d.isHeld(&dtls, l0)); in RunTryLockTest()
333 EXPECT_TRUE(d.isHeld(&dtls, l1)); in RunTryLockTest()
334 EXPECT_TRUE(d.isHeld(&dtls, l2)); in RunTryLockTest()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java744 if (wakelock != null && wakelock.isHeld()) { in onPause()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/robolectric/v1/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...