Home
last modified time | relevance | path

Searched refs:tryLock (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/services/medialog/
DMediaLogService.cpp89 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java197 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h211 if (mLock.tryLock() != OK) { in tryBeginTrackSwitch()
DMediaPlayerService.cpp568 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1403 if (!mCameraLock.tryLock(MAX_CAMERA_WAIT_TIME, TimeUnit.SECONDS)) { in openCamera()
1748 if (!mCameraLock.tryLock(MAX_CAMERA_WAIT_TIME, TimeUnit.SECONDS)) { in stopAndWait()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp3908 static bool tryLock(Mutex& mutex) in tryLock() function
3912 if (mutex.tryLock() == NO_ERROR) { in tryLock()
3952 bool locked = tryLock(mServiceLock); in dump()
3981 bool stateLocked = tryLock(mCameraStatesLock); in dump()
4070 bool serviceLocked = tryLock(mServiceLock); in dump()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp948 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp989 if (mMutex.tryLock() == 0) { in acquireBuffer_l()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp505 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
1067 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult_3_4()
1125 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult()
/frameworks/av/services/audioflinger/
DThreads.cpp3553 if (mAudioFlinger->mLock.tryLock() == NO_ERROR) { in threadLoop()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt43885 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
43886 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
50192 method public abstract boolean tryLock();
50193 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…
50231 method public boolean tryLock();
50232 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
50264 method public boolean tryLock();
50265 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
50276 method public boolean tryLock();
50277 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
/frameworks/base/config/
Dboot-image-profile.txt26328 HSPLjava/nio/channels/FileChannel;->tryLock()Ljava/nio/channels/FileLock;
29427 HSPLjava/util/concurrent/ThreadPoolExecutor$Worker;->tryLock()Z+]Ljava/util/concurrent/ThreadPoolEx…
29695 HSPLjava/util/concurrent/locks/ReentrantLock;->tryLock()Z+]Ljava/util/concurrent/locks/ReentrantLoc…
31355 HSPLsun/nio/ch/FileChannelImpl;->tryLock(JJZ)Ljava/nio/channels/FileLock;+]Lsun/nio/ch/FileDispatch…