Home
last modified time | relevance | path

Searched refs:lockA (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java41 private ReentrantLock lockA; field in CycleDetectingLockFactoryTest
62 lockA = factory.newReentrantLock("LockA"); in setUp()
102 lockA.lock(); in testDeadlock_twoLocks()
104 lockA.unlock(); in testDeadlock_twoLocks()
111 lockA.lock(); in testDeadlock_twoLocks()
120 lockA.lock(); in testDeadlock_twoLocks()
130 lockA.lock(); in testDeadlock_twoLocks()
136 lockA.lock(); in testDeadlock_threeLocks()
139 lockA.unlock(); in testDeadlock_threeLocks()
148 lockA.lock(); in testDeadlock_threeLocks()
[all …]
/external/guice/core/test/com/google/inject/internal/
DCycleDetectingLockTest.java39 final CycleDetectingLock<String> lockA = in testSingletonThreadsRuntimeCircularDependency() local
77 assertTrue(lockA.lockOrDetectPotentialLocksCycle().isEmpty()); in testSingletonThreadsRuntimeCircularDependency()
80 lockA.unlock(); in testSingletonThreadsRuntimeCircularDependency()
92 assertTrue(lockA.lockOrDetectPotentialLocksCycle().isEmpty()); in testSingletonThreadsRuntimeCircularDependency()
93 lockA.unlock(); in testSingletonThreadsRuntimeCircularDependency()