Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionTest.java44 final Semaphore lock = new Semaphore(0); in testStateCallbacks() local
131 final Semaphore lock = new Semaphore(0); in testSetAndGetCallerDisplayName() local
146 final Semaphore lock = new Semaphore(0); in testSetAndGetAddress() local
161 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionCapabilities() local
178 final Semaphore lock = new Semaphore(0); in testSetAndGetConnectionProperties() local
194 final Semaphore lock = new Semaphore(0); in testSetAndGetDisconnectCause() local
213 final Semaphore lock = new Semaphore(0); in testSetAndGetAudioModeIsVoip() local
227 final Semaphore lock = new Semaphore(0); in testSetAndGetExtras() local
254 final Semaphore lock = new Semaphore(0); in testPutExtras() local
281 final Semaphore lock = new Semaphore(0); in testRemoveExtras() local
[all …]
DMockCallScreeningService.java38 public Semaphore lock = new Semaphore(0); field in MockCallScreeningService.CallScreeningServiceCallbacks
DMockConnectionService.java60 public Semaphore lock = new Semaphore(0); field in MockConnectionService
DTestUtils.java312 final CountDownLatch lock = new CountDownLatch(1); in waitOnLocalMainLooper() local
367 public static boolean waitForLatchCountDown(CountDownLatch lock) { in waitForLatchCountDown()
388 public static CountDownLatch waitForLock(CountDownLatch lock) { in waitForLock()
DCtsSelfManagedConnectionService.java201 public boolean waitForUpdate(int lock) { in waitForUpdate()
DMockInCallService.java47 public Semaphore lock = new Semaphore(0); field in MockInCallService.InCallServiceCallbacks
/cts/tests/tests/appop/src/android/app/appops/cts/
DUidStateForceActivity.kt24 private val lock = ReentrantLock() constant
DHistoricalAppopsTest.kt369 val lock = ReentrantLock() in <lambda>() constant
433 val lock = ReentrantLock() in <lambda>() constant
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp75 std::lock_guard<std::mutex> lock(mMutex); in getBufferFromCurrentImage() local
114 std::lock_guard<std::mutex> lock(mMutex); in handleImageAvailable() local
/cts/tests/tests/os/src/android/os/cts/
DPowerManager_WakeLockTest.java74 final WakeLock lock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in testWakeLockTimeout() local
DHwBinderTest.java202 public Lock lock = new ReentrantLock(); field in HwBinderTest.ServiceNotification
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp64 std::lock_guard<std::mutex> lock(thiz->mMutex); in onAvailable() local
76 std::lock_guard<std::mutex> lock(thiz->mMutex); in onUnavailable() local
89 std::lock_guard<std::mutex> lock(thiz->mMutex); in onCameraAccessPrioritiesChanged() local
95 std::lock_guard<std::mutex> lock(mMutex); in resetCount() local
103 std::lock_guard<std::mutex> lock(mMutex); in getAvailableCount() local
108 std::lock_guard<std::mutex> lock(mMutex); in getUnavailableCount() local
113 std::lock_guard<std::mutex> lock(mMutex); in getCameraAccessPrioritiesChangedCount() local
118 std::lock_guard<std::mutex> lock(mMutex); in isAvailable() local
141 std::lock_guard<std::mutex> lock(thiz->mMutex); in onDisconnected() local
152 std::lock_guard<std::mutex> lock(thiz->mMutex); in onError() local
[all …]
/cts/tests/accessibility/src/android/view/accessibility/cts/
DServiceControlUtils.java49 Object lock = new Object(); in waitForConditionWithServiceStateChange() local
/cts/suite/audio_quality/lib/src/
DFileUtil.cpp113 android::Mutex::Autolock lock(mWriteLock); in doVprintf() local
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java390 WifiManager.WifiLock lock = in testWifiLockHighPerf() local
401 WifiManager.WifiLock lock = in testWifiLockLowLatency() local
412 WifiManager.MulticastLock lock = wm.createMulticastLock("StatsdCTSMulticastLock"); in testWifiMulticastLock() local
/cts/apps/CtsVerifier/assets/scripts/power_monitors/
Dmonsoon.py62 def lock( device ): member in Power_Monitor
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp326 std::lock_guard<std::mutex> lock(mMutex); in getAcquiredImageCount() local
331 std::lock_guard<std::mutex> lock(mMutex); in HandleImageAvailable() local
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp127 android::Mutex::Autolock lock(handler->mStateLock); in handlePacket() local
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java250 final Object lock = new Object(); in waitForA11yRecommendedTimeoutChanged() local
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp85 std::mutex lock; member in TestContext
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1227 ReentrantLock lock = new ReentrantLock(); field in StagefrightTest.MediaPlayerCrashListener