Home
last modified time | relevance | path

Searched defs:tryLock (Results 1 – 25 of 850) sorted by relevance

12345678910>>...34

/aosp_15_r20/external/guava/guava/src/com/google/common/util/concurrent/
H A DCycleDetectingLockFactory.java786 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock
796 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock
889 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock
899 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock
948 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantWriteLock
958 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantWriteLock
H A DForwardingLock.java39 public boolean tryLock() { in tryLock() method in ForwardingLock
44 public boolean tryLock(long time, TimeUnit unit) throws InterruptedException { in tryLock() method in ForwardingLock
/aosp_15_r20/external/guava/android/guava/src/com/google/common/util/concurrent/
H A DCycleDetectingLockFactory.java786 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock
796 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantLock
889 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock
899 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantReadLock
948 public boolean tryLock() { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantWriteLock
958 public boolean tryLock(long timeout, TimeUnit unit) throws InterruptedException { in tryLock() method in CycleDetectingLockFactory.CycleDetectingReentrantWriteLock
H A DForwardingLock.java39 public boolean tryLock() { in tryLock() method in ForwardingLock
44 public boolean tryLock(long time, TimeUnit unit) throws InterruptedException { in tryLock() method in ForwardingLock
/aosp_15_r20/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DPickerSyncLockManager.java60 public CloseableReentrantLock tryLock(@LockType int lockType) in tryLock() method in PickerSyncLockManager
68 public CloseableReentrantLock tryLock(@LockType int lockType, long timeout, TimeUnit unit) in tryLock() method in PickerSyncLockManager
77 public CloseableReentrantLock tryLock(@NonNull CloseableReentrantLock lock, in tryLock() method in PickerSyncLockManager
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/21/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java809 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.ReadLock
880 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.ReadLock
1046 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.WriteLock
1129 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.WriteLock
DReentrantLock.java125 final boolean tryLock() { in tryLock() method in ReentrantLock.Sync
401 public boolean tryLock() { in tryLock() method in ReentrantLock
477 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantLock
DStampedLock.java1043 public boolean tryLock() { return tryReadLock() != 0L; } in tryLock() method in StampedLock.ReadLockView
1044 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.ReadLockView
1059 public boolean tryLock() { return tryWriteLock() != 0L; } in tryLock() method in StampedLock.WriteLockView
1060 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.WriteLockView
/aosp_15_r20/libcore/ojluni/src/main/java/java/util/concurrent/locks/
H A DReentrantReadWriteLock.java809 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.ReadLock
880 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.ReadLock
1046 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.WriteLock
1129 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.WriteLock
H A DReentrantLock.java125 final boolean tryLock() { in tryLock() method in ReentrantLock.Sync
401 public boolean tryLock() { in tryLock() method in ReentrantLock
477 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantLock
H A DLock.java263 boolean tryLock(); in tryLock() method
323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() method
H A DStampedLock.java1043 public boolean tryLock() { return tryReadLock() != 0L; } in tryLock() method in StampedLock.ReadLockView
1044 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.ReadLockView
1059 public boolean tryLock() { return tryWriteLock() != 0L; } in tryLock() method in StampedLock.WriteLockView
1060 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.WriteLockView
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java809 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.ReadLock
880 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.ReadLock
1046 public boolean tryLock() { in tryLock() method in ReentrantReadWriteLock.WriteLock
1129 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantReadWriteLock.WriteLock
DReentrantLock.java125 final boolean tryLock() { in tryLock() method in ReentrantLock.Sync
401 public boolean tryLock() { in tryLock() method in ReentrantLock
477 public boolean tryLock(long timeout, TimeUnit unit) in tryLock() method in ReentrantLock
DLock.java263 boolean tryLock(); in tryLock() method
323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() method
DStampedLock.java1043 public boolean tryLock() { return tryReadLock() != 0L; } in tryLock() method in StampedLock.ReadLockView
1044 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.ReadLockView
1059 public boolean tryLock() { return tryWriteLock() != 0L; } in tryLock() method in StampedLock.WriteLockView
1060 public boolean tryLock(long time, TimeUnit unit) in tryLock() method in StampedLock.WriteLockView
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/20/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DLock.java263 boolean tryLock(); in tryLock() method
323 boolean tryLock(long time, TimeUnit unit) throws InterruptedException; in tryLock() method
/aosp_15_r20/external/kotlinx.atomicfu/atomicfu/src/commonMain/kotlin/kotlinx/atomicfu/locks/
H A DSynchronized.common.kt9 fun tryLock(): Boolean in reentrantLock() method
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/internal/
H A DConcurrent.common.kt4 fun tryLock(): Boolean in tryLock() method
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jsAndWasmShared/src/internal/
H A DConcurrent.kt8 fun tryLock() = true in withLock() method in kotlinx.coroutines.internal.NoOpLock
/aosp_15_r20/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/lincheck/
H A DMutexLincheckTest.kt17 fun tryLock(@Param(name = "owner") owner: Int) = mutex.tryLock(owner.asOwnerOrNull) in tryLock() method in kotlinx.coroutines.lincheck.MutexLincheckTest
/aosp_15_r20/build/soong/ui/build/
H A Dproc_sync.go53 tryLock() error methodSpec
67 func (l fileLock) tryLock() (err error) { func
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousFileChannel.java616 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() method in AsynchronousFileChannel
649 public final FileLock tryLock() throws IOException { in tryLock() method in AsynchronousFileChannel
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/7/libcore/ojluni/src/main/java/java/nio/channels/
DAsynchronousFileChannel.java616 public abstract FileLock tryLock(long position, long size, boolean shared) in tryLock() method in AsynchronousFileChannel
649 public final FileLock tryLock() throws IOException { in tryLock() method in AsynchronousFileChannel
/aosp_15_r20/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
H A DReentrantLock.java59 public boolean tryLock() { in tryLock() method in ReentrantLock
63 public boolean tryLock(long timeout, java.util.concurrent.TimeUnit unit) in tryLock() method in ReentrantLock

12345678910>>...34