Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/libcorefileio/src/android/cts/
DFileChannelInterProcessLockTest.java102 checkTryLockBehavior(LockType.TRY_LOCK, LockType.LOCK, in doTest_tryLock()
158 checkTryLockBehavior(LockType.LOCK_ON_REGION_WITH_TRY_LOCK, LockType.LOCK, in doTest_tryLockJJZ_Exclusive()
222 checkTryLockBehavior(LockType.SHARED_LOCK_ON_REGION_WITH_TRY_LOCK, LockType.LOCK, in doTest_tryLockJJZ_Shared()
247 checkLockBehavior(LockType.LOCK, LockType.LOCK, in test_lock_differentChannelTypes()
249 checkLockBehavior(LockType.LOCK, LockType.LOCK, in test_lock_differentChannelTypes()
252 checkLockBehavior(LockType.LOCK, LockType.TRY_LOCK, in test_lock_differentChannelTypes()
254 checkLockBehavior(LockType.LOCK, LockType.TRY_LOCK, in test_lock_differentChannelTypes()
268 checkLockBehavior(LockType.LOCK, LockType.LOCK, in doTest_lock()
270 checkLockBehavior(LockType.LOCK, LockType.LOCK_ON_REGION_WITH_LOCK, in doTest_lock()
272 checkLockBehavior(LockType.LOCK, LockType.SHARED_LOCK_ON_REGION_WITH_LOCK, in doTest_lock()
[all …]
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsService.java28 private static final Object LOCK = new Object(); field in SyncAdapterSettingsService
32 synchronized (LOCK) { in onBind()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppCallbacksReceiver.java53 private static final Object LOCK = new Object(); field in TestAppCallbacksReceiver
86 synchronized (LOCK) { in onReceive()
108 synchronized (LOCK) { in registerReceiver()
125 synchronized (LOCK) { in unregisterReceiver()
DUtils.java56 private static final Object LOCK = new Object(); field in Utils
89 synchronized (LOCK) { in getHandler()