Searched refs:isHeld (Results 1 – 8 of 8) sorted by relevance
43 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()
148 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()
61 public synchronized boolean isHeld() { in isHeld() method in ShadowPowerManager.ShadowWakeLock
172 public synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowWifiLock
111 if (dd.isHeld(<->dd, m->id)) in MutexBeforeLock()167 CHECK(!dd.isHeld(<->dd, m->id)); in MutexAfterLock()
283 bool is_reachable = !isHeld(dtls, cur_node) && onLockBefore(dtls, cur_node);348 bool isHeld(DeadlockDetectorTLS<BV> *dtls, uptr node) const { in isHeld() function
332 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()
743 if (wakelock != null && wakelock.isHeld()) { in onPause()