Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java39 assertThat(lock.isHeld()).isFalse(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
41 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
44 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
47 assertThat(lock.isHeld()).isTrue(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
49 assertThat(lock.isHeld()).isFalse(); in acquire_shouldAcquireAndReleaseReferenceCountedLock()
76 assertThat(lock.isHeld()).isTrue(); in acquire_shouldLogLatestWakeLock()
82 assertThat(lock.isHeld()).isFalse(); in acquire_shouldLogLatestWakeLock()
98 assertThat(lock.isHeld()).isFalse(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
100 assertThat(lock.isHeld()).isTrue(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
102 assertThat(lock.isHeld()).isTrue(); in newWakeLock_shouldAcquireAndReleaseNonReferenceCountedLock()
[all …]
DShadowWifiManagerTest.java272 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockRefCounted()
274 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockRefCounted()
276 assertThat(lock.isHeld()).isFalse(); in shouldAcquireAndReleaseWifilockRefCounted()
284 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockNonRefCounted()
286 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseWifilockNonRefCounted()
288 assertThat(lock.isHeld()).isFalse(); in shouldAcquireAndReleaseWifilockNonRefCounted()
325 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseMulticastLockRefCounted()
327 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseMulticastLockRefCounted()
329 assertThat(lock.isHeld()).isFalse(); in shouldAcquireAndReleaseMulticastLockRefCounted()
337 assertThat(lock.isHeld()).isTrue(); in shouldAcquireAndReleaseMulticastLockNonRefCounted()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_deadlock_detector1.cc111 if (dd.isHeld(&lt->dd, m->id)) in MutexBeforeLock()
167 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiManager.java377 protected synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowWifiLock
429 protected synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowMulticastLock
DShadowPowerManager.java185 protected synchronized boolean isHeld() { in isHeld() method in ShadowPowerManager.ShadowWakeLock
/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()