Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DBurstBuilder.h45 bool tryLock();
DBurstBuilder.cpp31 bool BurstBuilder::tryLock() { in tryLock() function in android::nn::BurstBuilder
DNeuralNetworks.cpp807 const bool locked = b->tryLock(); in ANeuralNetworksExecution_burstCompute()
/frameworks/av/services/medialog/
DMediaLogService.cpp89 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/frameworks/av/media/libmediaplayer2/include/mediaplayer2/
DMediaPlayer2AudioOutput.h165 if (mLock.tryLock() != OK) { in tryBeginTrackSwitch()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java193 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h206 if (mLock.tryLock() != OK) { in tryBeginTrackSwitch()
DMediaPlayerService.cpp387 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.cpp3017 static bool tryLock(Mutex& mutex) in tryLock() function
3021 if (mutex.tryLock() == NO_ERROR) { in tryLock()
3039 bool locked = tryLock(mServiceLock); in dump()
3066 bool stateLocked = tryLock(mCameraStatesLock); in dump()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Driver.cpp728 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp921 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp779 if (mLock.tryLock() == NO_ERROR) { in lockIfMessageWanted()
/frameworks/av/media/libstagefright/bqhelper/
DGraphicBufferSource.cpp968 if (mMutex.tryLock() == 0) { in acquireBuffer_l()
/frameworks/av/media/libmediaplayer2/
Dmediaplayer2.cpp1235 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp443 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
1220 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult_3_4()
1256 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult()
/frameworks/av/services/audioflinger/
DThreads.cpp3288 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/api/
Dcurrent.txt62883 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
62884 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
62998 …method public abstract java.nio.channels.FileLock tryLock(long, long, boolean) throws java.io.IOEx…
62999 method public final java.nio.channels.FileLock tryLock() throws java.io.IOException;
72303 method public boolean tryLock();
72304 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
72342 method public boolean tryLock();
72343 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
72375 method public boolean tryLock();
72376 …method public boolean tryLock(long, java.util.concurrent.TimeUnit) throws java.lang.InterruptedExc…
[all …]
/frameworks/base/config/
Dboot-image-profile.txt27529 HSPLjava/nio/channels/FileChannel;->tryLock()Ljava/nio/channels/FileLock;
29970 HSPLjava/util/concurrent/locks/ReentrantLock;->tryLock()Z
31269 HSPLsun/nio/ch/FileChannelImpl;->tryLock(JJZ)Ljava/nio/channels/FileLock;
Dhiddenapi-greylist-max-o.txt117028 Ljava/util/concurrent/ThreadPoolExecutor$Worker;->tryLock()Z