Searched refs:isHeld (Results 1 – 8 of 8) sorted by relevance
39 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 …]
272 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 …]
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
377 protected synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowWifiLock429 protected synchronized boolean isHeld() { in isHeld() method in ShadowWifiManager.ShadowMulticastLock
185 protected synchronized boolean isHeld() { in isHeld() method in ShadowPowerManager.ShadowWakeLock
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()
744 if (wakelock != null && wakelock.isHeld()) { in onPause()