Home
last modified time | relevance | path

Searched defs:lock2 (Results 1 – 25 of 84) sorted by relevance

1234

/aosp_15_r20/external/cronet/base/task/common/
H A Dchecked_lock_unittest.cc141 CheckedLock lock2; in TEST() local
150 CheckedLock lock2(&lock1); in TEST() local
162 CheckedLock lock2(&lock1); in TEST() local
173 CheckedLock lock2(&lock1); in TEST() local
183 CheckedLock lock2; in TEST() local
272 CheckedLock lock2; in TEST() member
288 CheckedLock lock2; in TEST() member
315 CheckedLock lock2(&lock); in TEST() local
375 CheckedLock lock2; in TEST() local
/aosp_15_r20/frameworks/base/services/tests/appfunctions/src/com/android/server/appfunctions/
H A DAppFunctionManagerServiceImplTest.kt48 val lock2 = serviceImpl.getLockForPackage(packageName) in testGetLockForPackage_samePackage() constant
59 val lock2 = serviceImpl.getLockForPackage(packageName2) in testGetLockForPackage_differentPackages() constant
85 val lock2 = serviceImpl.getLockForPackage("com.example.app") in <lambda>() constant
/aosp_15_r20/external/libchrome/base/task_scheduler/
H A Dscheduler_lock_unittest.cc139 SchedulerLock lock2; in TEST() local
148 SchedulerLock lock2(&lock1); in TEST() local
160 SchedulerLock lock2(&lock1); in TEST() local
170 SchedulerLock lock2(&lock1); in TEST() local
180 SchedulerLock lock2; in TEST() local
269 SchedulerLock lock2; in TEST() member
285 SchedulerLock lock2; in TEST() member
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DWatchdogDiagnosticsTest.java37 Object lock2; field in WatchdogDiagnosticsTest.TestThread1
40 public TestThread1(Object lock1, Object lock2) { in TestThread1()
67 Object lock2; field in WatchdogDiagnosticsTest.TestThread2
70 public TestThread2(Object lock1, Object lock2) { in TestThread2()
/aosp_15_r20/external/libevent/
H A Devthread-internal.h314 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
315 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) EVUTIL_NIL_STMT_ argument
350 #define EVLOCK_LOCK2(lock1,lock2,mode1,mode2) \ argument
360 #define EVLOCK_UNLOCK2(lock1,lock2,mode1,mode2) \ argument
/aosp_15_r20/external/angle/src/libANGLE/
H A DGlobalMutex_unittest.cpp93 egl::ScopedGlobalEGLMutexLock lock2; in TEST() local
100 egl::ScopedOptionalGlobalMutexLock lock2(true); in TEST() local
/aosp_15_r20/libcore/ojluni/src/test/java/util/concurrent/tck/
H A DReentrantLockTest.java740 final ReentrantLock lock2 = new ReentrantLock(fair); in testHasWaitersIAE() local
773 final ReentrantLock lock2 = new ReentrantLock(fair); in testGetWaitQueueLengthIAE() local
806 final PublicReentrantLock lock2 = new PublicReentrantLock(fair); in testGetWaitingThreadsIAE() local
H A DReentrantReadWriteLockTest.java1582 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testHasWaitersIAE() local
1615 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testGetWaitQueueLengthIAE() local
1649 final PublicReentrantReadWriteLock lock2 = in testGetWaitingThreadsIAE() local
/aosp_15_r20/libcore/jsr166-tests/src/test/java/jsr166/
H A DReentrantLockTest.java656 final ReentrantLock lock2 = new ReentrantLock(fair); in testHasWaitersIAE() local
685 final ReentrantLock lock2 = new ReentrantLock(fair); in testGetWaitQueueLengthIAE() local
714 final PublicReentrantLock lock2 = new PublicReentrantLock(fair); in testGetWaitingThreadsIAE() local
H A DReentrantReadWriteLockTest.java1436 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testHasWaitersIAE() local
1465 final ReentrantReadWriteLock lock2 = new ReentrantReadWriteLock(fair); in testGetWaitQueueLengthIAE() local
1495 final PublicReentrantReadWriteLock lock2 = in testGetWaitingThreadsIAE() local
/aosp_15_r20/frameworks/av/media/module/bufferpool/1.0/
H A DClientManager.cpp295 std::lock_guard<std::mutex> lock2(mActive.mMutex); in close() local
381 std::lock_guard<std::mutex> lock2(mActive.mMutex); in cleanUp() local
/aosp_15_r20/hardware/interfaces/media/bufferpool/aidl/default/
H A DClientManager.cpp253 std::unique_lock<std::mutex> lock2(mActive.mMutex); in close() local
385 std::lock_guard<std::mutex> lock2(mActive.mMutex); in cleanUp() local
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/smart_ptr/test/
Dspinlock_try_test.cpp40 boost::detail::spinlock::scoped_lock lock2( sp2 ); in main() local
Dspinlock_test.cpp27 boost::detail::spinlock::scoped_lock lock2( sp2 ); in main() local
Dspinlock_pool_test.cpp26 boost::detail::spinlock_pool<2>::scoped_lock lock2( &x ); in main() local
Dlw_mutex_test.cpp24 boost::detail::lightweight_mutex::scoped_lock lock2( m2 ); in main() local
/aosp_15_r20/frameworks/av/media/module/bufferpool/2.0/
H A DClientManager.cpp305 std::unique_lock<std::mutex> lock2(mActive.mMutex); in close() local
437 std::lock_guard<std::mutex> lock2(mActive.mMutex); in cleanUp() local
/aosp_15_r20/external/jacoco/org.jacoco.core.test.validation.java5/src/org/jacoco/core/test/validation/java5/targets/
H A DStructuredLockingTarget.java33 Object lock2 = new Object(); in nested() local
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Dlock_wasip1.go30 func lock2(l *mutex) { func
Dlock_sema.go42 func lock2(l *mutex) { func
Dlock_futex.go55 func lock2(l *mutex) { func
/aosp_15_r20/external/guice/core/test/com/google/inject/internal/
H A DCycleDetectingLockTest.java228 final CycleDetectingLock<T> lock2, in grabLocksInThread()
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/tests/
Dsync_mutex.rs65 let mut lock2 = lock.clone(); localVariable
/aosp_15_r20/external/rust/android-crates-io/crates/named-lock/src/
Dlib.rs258 let lock2 = NamedLock::create(&uuid)?; in edge_cases() localVariable
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/thread/thread.condition/thread.condition.condvarany/
H A Dwait_token_pred.pass.cpp66 std::unique_lock<Mutex> lock2{mutex}; in test() local

1234