Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerTracedLockTest.java96 assertTrue(mRawLock.tryLock()); in testRawLock()
121 assertFalse(mRawLock.tryLock()); in testTrylock()
/frameworks/av/services/medialog/
DMediaLogService.cpp89 if (mutex.tryLock() == NO_ERROR) { in dumpTryLock()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java226 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java274 boolean tryLock() { in tryLock() method in BatteryStatsHistory.BatteryHistoryDirectory
275 return mLock.tryLock(); in tryLock()
487 if (!tryLock()) { in cleanup()
1883 boolean successfullyLocked = mHistoryDir.tryLock(); in maybeFlushBufferAndWriteHistoryItem()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java625 public FileLock tryLock(long position, long size, boolean shared) throws IOException { in tryLock() method in AssetFileDescriptor.SeekableAutoCloseInputStream.OffsetCorrectFileChannel
/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/
DMediaPlayerService.h215 if (mLock.tryLock() != OK) { in tryBeginTrackSwitch()
DMediaPlayerService.cpp573 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp5317 static bool tryLock(Mutex& mutex) in tryLock() function
5321 if (mutex.tryLock() == NO_ERROR) { in tryLock()
5361 bool locked = tryLock(mServiceLock); in dump()
5397 bool stateLocked = tryLock(mCameraStatesLock); in dump()
5486 bool serviceLocked = tryLock(mServiceLock); in dump()
6271 bool serviceLock = tryLock(mServiceLock); in startWatchingTags()
6298 bool serviceLock = tryLock(mServiceLock); in stopWatchingTags()
6326 bool serviceLock = tryLock(mServiceLock); in printWatchedTags()
6494 bool serviceLock = tryLock(mServiceLock); in printWatchedTagsUntilInterrupt()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp964 if (mLock.tryLock() == NO_ERROR) { in dump()
/frameworks/av/media/module/bqhelper/
DGraphicBufferSource.cpp989 if (mMutex.tryLock() == 0) { in acquireBuffer_l()
/frameworks/av/services/camera/libcameraservice/device3/hidl/
DHidlCamera3Device.cpp347 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult_3_4()
410 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult()
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerService.java1580 if (mLockForTRMSLock.tryLock(timeoutMS, TimeUnit.MILLISECONDS)) { in lockForTunerApiLock()
/frameworks/av/services/camera/libcameraservice/device3/aidl/
DAidlCamera3Device.cpp393 if (mProcessCaptureResultLock.tryLock() != OK) { in processCaptureResult()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp388 if (lock.tryLock() == NO_ERROR) { in tryLockSpinRightRound()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/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.txt26100 HSPLjava/nio/channels/FileChannel;->tryLock()Ljava/nio/channels/FileLock;
29368 HSPLjava/util/concurrent/ThreadPoolExecutor$Worker;->tryLock()Z
29597 HSPLjava/util/concurrent/locks/ReentrantLock$Sync;->tryLock()Z
29606 HSPLjava/util/concurrent/locks/ReentrantLock;->tryLock()Z
29607 HSPLjava/util/concurrent/locks/ReentrantLock;->tryLock(JLjava/util/concurrent/TimeUnit;)Z
31501 HSPLsun/nio/ch/FileChannelImpl;->tryLock(JJZ)Ljava/nio/channels/FileLock;