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

/frameworks/native/include/utils/
H A DMutex.h59 status_t tryLock();
117 inline status_t Mutex::tryLock() { function in class:android::Mutex
/frameworks/av/include/private/media/
H A DAudioTrackShared.h124 bool tryLock();
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp450 static bool tryLock(Mutex& mutex) function in namespace:android
454 if (mutex.tryLock() == NO_ERROR) {
472 bool locked = tryLock(mServiceLock);
H A DCameraClient.cpp647 if (mLock.tryLock() == NO_ERROR) {
H A DCamera2Device.cpp792 notLocked = mMutex.tryLock();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java187 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS);
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp1556 if (!tryLock()) {
1644 if (!tryLock()) {
1660 bool audio_track_cblk_t::tryLock() function in class:android::audio_track_cblk_t
1667 err = lock.tryLock();
1670 err = lock.tryLock();
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp540 static bool tryLock(Mutex& mutex) function in namespace:android
544 if (mutex.tryLock() == NO_ERROR) {
575 bool locked = tryLock(mLock);
758 bool locked = tryLock(mLock);
H A DAudioFlinger.cpp367 static bool tryLock(Mutex& mutex) function in namespace:android
371 if (mutex.tryLock() == NO_ERROR) {
386 bool hardwareLocked = tryLock(mHardwareLock);
394 bool locked = tryLock(mLock);
1273 bool locked = tryLock(mLock);
4509 // FIXME When called by fast mixer, this takes a mutex with tryLock().
4513 // fast mixer being unable to tryLock(), and
4548 // Note that framesReady() takes a mutex on the control block using tryLock().
4554 // the tryLock() could block for up to 1 ms, and a sequence of these could delay fast mixer.
8834 bool locked = tryLock(mLoc
[all...]
/frameworks/native/libs/utils/
H A DThreads.cpp438 status_t Mutex::tryLock()
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp2139 while (mStateLock.tryLock()<0 && --retry>=0) {
/frameworks/base/core/java/android/widget/
H A DTextView.java7719 if (mCurrentTextServicesLocaleLock.tryLock()) {

Completed in 666 milliseconds