Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DMinikinInternal.cpp31 LOG_ALWAYS_FATAL_IF(gMinikinLock.tryLock() == 0); in assertMinikinLocked()
/frameworks/av/services/medialog/
DMediaLogService.cpp81 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp291 static bool tryLock(Mutex& mutex) in tryLock() function
295 if (mutex.tryLock() == NO_ERROR) { in tryLock()
326 bool locked = tryLock(mLock); in dump()
609 bool locked = tryLock(mLock); in dump()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp156 static bool tryLock(Mutex& mutex) in tryLock() function
160 if (mutex.tryLock() == NO_ERROR) { in tryLock()
175 bool locked = tryLock(mServiceLock); in dump()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java195 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp2462 static bool tryLock(Mutex& mutex) in tryLock() function
2466 if (mutex.tryLock() == NO_ERROR) { in tryLock()
2484 bool locked = tryLock(mServiceLock); in dump()
2508 bool stateLocked = tryLock(mCameraStatesLock); in dump()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h196 if (mLock.tryLock() != OK) { in tryBeginTrackSwitch()
DMediaPlayerService.cpp403 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/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp857 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/media/mtp/
DMtpDevice.cpp911 if (mEventMutex.tryLock()) { in submitEventRequest()
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.cpp876 if (mMutex.tryLock() == 0) { in acquireBuffer_l()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp784 if (mLock.tryLock() == NO_ERROR) { in lockIfMessageWanted()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp349 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
881 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp447 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/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/api/
Dcurrent.txt57286 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
57287 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
57415 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
57416 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
66976 method public abstract boolean tryLock();
66977 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…
67015 method public boolean tryLock();
67016 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
67048 method public boolean tryLock();
67049 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
[all …]
Dtest-current.txt57768 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
57769 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
57897 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
57898 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
67458 method public abstract boolean tryLock();
67459 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…
67497 method public boolean tryLock();
67498 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
67530 method public boolean tryLock();
67531 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
[all …]
Dsystem-current.txt61244 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
61245 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
61373 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
61374 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
70934 method public abstract boolean tryLock();
70935 …method public abstract boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.Inter…
70973 method public boolean tryLock();
70974 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
71006 method public boolean tryLock();
71007 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
[all …]
/frameworks/base/config/
Dboot-image-profile.txt44074 HSPLjava/nio/channels/FileChannel;->tryLock()Ljava/nio/channels/FileLock;
44075 HSPLjava/nio/channels/FileChannel;->tryLock(JJZ)Ljava/nio/channels/FileLock;
46845 HSPLjava/util/concurrent/ThreadPoolExecutor$Worker;->tryLock()Z
47085 HSPLjava/util/concurrent/locks/ReentrantLock;->tryLock()Z
49246 HSPLsun/nio/ch/FileChannelImpl;->tryLock(JJZ)Ljava/nio/channels/FileLock;