Searched refs:TryLock (Results 1 – 4 of 4) sorted by relevance
52 ASSERT_TRUE(mu.TryLock(Thread::Current())); in TryLockUnlockTest()84 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()86 ASSERT_TRUE(mu.TryLock(Thread::Current())); in RecursiveTryLockUnlockTest()
185 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock() function
224 bool TryLock(Thread* self, bool spin = false)
419 bool Monitor::TryLock(Thread* self, bool spin) { in TryLock() function in art::Monitor445 if (TryLock(self, /*spin=*/ true)) { in Lock()1200 return mon->TryLock(self) ? h_obj.Get() : nullptr; in MonitorEnter()