Home
last modified time | relevance | path

Searched refs:isLocked (Results 1 – 25 of 98) sorted by relevance

1234

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/sync/
DMutexTest.kt36 assertFalse(mutex.isLocked) in tryLockTest()
38 assertTrue(mutex.isLocked) in tryLockTest()
40 assertTrue(mutex.isLocked) in tryLockTest()
42 assertFalse(mutex.isLocked) in tryLockTest()
44 assertTrue(mutex.isLocked) in tryLockTest()
46 assertTrue(mutex.isLocked) in tryLockTest()
48 assertFalse(mutex.isLocked) in tryLockTest()
54 assertFalse(mutex.isLocked) in <lambda>()
56 assertTrue(mutex.isLocked) in <lambda>()
58 assertFalse(mutex.isLocked) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/sync/
DMutexStressTest.kt39 assertTrue(mutex.isLocked) in <lambda>()
55 assertFalse(mutex.isLocked) in <lambda>()
69 assertTrue(mutex.isLocked) in <lambda>()
88 assertFalse(mutex.isLocked) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectMutexTest.kt21 assertTrue(mutex.isLocked) in testSelectLock()
40 assertTrue(mutex.isLocked) in <lambda>()
/external/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_terminates.sh.cpp98 bool isLocked() const { return locked == true; } in isLocked() function in ThrowingMutex
105 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait call. in signal_me()
/external/llvm-project/libcxx/test/std/thread/thread.condition/thread.condition.condvarany/
Dwait_terminates.sh.cpp99 bool isLocked() const { return locked == true; } in isLocked() function in ThrowingMutex
106 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait call. in signal_me()
/external/swiftshader/src/Common/
DMutexLock.hpp76 if(!isLocked()) in attemptLock()
156 bool isLocked() in isLocked() function in sw::BackoffLock
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/selects/
DSelectPhilosophersStressTest.kt32 assertTrue(left.isLocked && right.isLocked) in <lambda>()
/external/skqp/tests/
DYUVCacheTest.cpp27 bool isLocked = (data->data() != nullptr); in check_data() local
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data()
DMaskCacheTest.cpp27 bool isLocked = (data->data() != nullptr); in check_data() local
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data()
/external/skia/tests/
DYUVCacheTest.cpp29 bool isLocked = (data->data() != nullptr); in check_data() local
30 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data()
DMaskCacheTest.cpp27 bool isLocked = (data->data() != nullptr); in check_data() local
28 REPORTER_ASSERT(reporter, isLocked == (lockedState == kLocked)); in check_data()
/external/clang/lib/StaticAnalyzer/Checkers/
DPthreadLockChecker.cpp43 bool isLocked() const { return K == Locked; } in isLocked() function
141 if (LState->isLocked()) { in AcquireLock()
266 if (LState->isLocked()) { in DestroyLock()
301 if (LState->isLocked()) { in InitLock()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowKeyguardManager.java208 public void setIsDeviceLocked(int userId, boolean isLocked) { in setIsDeviceLocked() argument
209 if (isLocked) { in setIsDeviceLocked()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraTest.java52 assertThat(shadowCamera.isLocked()).isTrue(); in testUnlock()
54 assertThat(shadowCamera.isLocked()).isFalse(); in testUnlock()
60 assertThat(shadowCamera.isLocked()).isFalse(); in testReconnect()
62 assertThat(shadowCamera.isLocked()).isTrue(); in testReconnect()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java193 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
196 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java193 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
196 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java193 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
196 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/command/
DInvocationRecordTest.java192 assertFalse("locked - before", invocationRecord.isLocked()); in testLock()
195 assertTrue("locked - after", invocationRecord.isLocked()); in testLock()

1234