Home
last modified time | relevance | path

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

/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp177 static bool tryLock(Mutex& mutex) in tryLock() function
181 if (mutex.tryLock() == NO_ERROR) { in tryLock()
196 bool locked = tryLock(mServiceLock); in dump()
/frameworks/av/services/audiopolicy/
DAudioPolicyService.cpp266 static bool tryLock(Mutex& mutex) in tryLock() function
270 if (mutex.tryLock() == NO_ERROR) { in tryLock()
305 bool locked = tryLock(mLock); in dump()
557 bool locked = tryLock(mLock); in dump()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java189 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp1595 static bool tryLock(Mutex& mutex) in tryLock() function
1599 if (mutex.tryLock() == NO_ERROR) { in tryLock()
1617 bool locked = tryLock(mServiceLock); 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/api1/
DCameraClient.cpp674 if (mLock.tryLock() == NO_ERROR) { in lockIfMessageWanted()
/frameworks/av/services/camera/libcameraservice/device2/
DCamera2Device.cpp863 notLocked = mMutex.tryLock(); in dump()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp290 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp368 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp2365 while (mStateLock.tryLock()<0 && --retry>=0) { in dump()
/frameworks/base/api/
Dcurrent.txt43677 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
43678 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
49984 method public abstract boolean tryLock();
49985 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…
50023 method public boolean tryLock();
50024 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
50056 method public boolean tryLock();
50057 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
50068 method public boolean tryLock();
50069 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…