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()
175 bool TryLock(Thread* self) TRY_ACQUIRE(true) { return ExclusiveTryLock(self); } in TryLock() function
218 bool TryLock(Thread* self)
394 bool Monitor::TryLock(Thread* self) { in TryLock() function in art::Monitor1168 return mon->TryLock(self) ? h_obj.Get() : nullptr; in MonitorEnter()