Searched refs:lock (Results 1 - 25 of 168) sorted by relevance

1234567

/frameworks/native/services/surfaceflinger/
H A DBarrier.h32 Mutex::Autolock _l(lock);
37 Mutex::Autolock _l(lock);
41 Mutex::Autolock _l(lock);
43 cv.wait(lock);
48 mutable Mutex lock; member in class:android::Barrier
/frameworks/av/include/private/media/
H A DAudioEffectShared.h37 Mutex lock; member in struct:android::effect_param_cblk_t
43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
/frameworks/rs/
H A DrsMutex.h32 bool lock();
H A DrsMutex.cpp39 bool Mutex::lock() { function in class:Mutex
/frameworks/support/renderscript/v8/rs_support/
H A DrsMutex.h32 bool lock();
H A DrsMutex.cpp39 bool Mutex::lock() { function in class:Mutex
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h37 Mutex::Autolock lock(mLock);
51 Mutex::Autolock lock(mLock);
67 Mutex::Autolock lock(mLock);
77 Mutex::Autolock lock(mLock);
90 Mutex::Autolock lock(mLock);
105 Mutex::Autolock lock(mLock);
118 Mutex::Autolock lock(mLock);
123 Mutex::Autolock lock(mLock);
/frameworks/compile/libbcc/include/bcc/Support/
H A DFileMutex.h30 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, 0) { }
32 // Provide a lock() interface filled with default configuration.
33 inline bool lock(bool pNonblocking = true, function in class:bcc::FileMutex
37 return FileBase::lock(LockMode, pNonblocking, pMaxRetry, pRetryInterval);
/frameworks/native/include/powermanager/
H A DIPowerManager.h33 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) = 0;
34 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) = 0;
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl28 void acquireWakeLock(IBinder lock, int flags, String tag, in WorkSource ws);
29 void releaseWakeLock(IBinder lock, int flags);
31 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws);
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp62 Mutex::Autolock lock(mLock);
76 Mutex::Autolock lock(mLock);
87 Mutex::Autolock lock(mLock);
101 Mutex::Autolock lock(mLock);
115 Mutex::Autolock lock(mLock);
126 Mutex::Autolock lock(mLock);
137 Mutex::Autolock lock(mLock);
148 Mutex::Autolock lock(mLock);
159 Mutex::Autolock lock(mLock);
170 Mutex::Autolock lock(mLoc
[all...]
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/
H A DVariableSpeed.java53 private final Object lock = new Object(); field in class:VariableSpeed
54 @GuardedBy("lock") private MediaPlayerDataSource mDataSource;
55 @GuardedBy("lock") private boolean mIsPrepared;
56 @GuardedBy("lock") private boolean mHasDuration;
57 @GuardedBy("lock") private boolean mHasStartedPlayback;
58 @GuardedBy("lock") private CountDownLatch mEngineInitializedLatch;
59 @GuardedBy("lock") private CountDownLatch mPlaybackFinishedLatch;
60 @GuardedBy("lock") private boolean mHasBeenReleased = true;
61 @GuardedBy("lock") private boolean mIsReadyToReUse = true;
62 @GuardedBy("lock") privat
[all...]
/frameworks/av/services/audioflinger/
H A DSchedulingPolicyService.cpp33 sMutex.lock();
42 sMutex.lock();
/frameworks/base/core/java/android/util/
H A DSynchronizedPool.java32 public SynchronizedPool(Pool<T> pool, Object lock) { argument
34 mLock = lock;
H A DPools.java38 public static <T extends Poolable<T>> Pool<T> synchronizedPool(Pool<T> pool, Object lock) { argument
39 return new SynchronizedPool<T>(pool, lock);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp132 AutoMutex lock(mLock);
283 AutoMutex lock(mLock);
293 cblk->lock.lock();
295 cblk->lock.unlock();
298 cblk->lock.lock();
306 cblk->lock.unlock();
333 AutoMutex lock(mLock);
352 AutoMutex lock(mLoc
[all...]
/frameworks/native/include/utils/
H A DMutex.h40 * recursive, i.e. the same thread can't lock it multiple times.
54 // lock or unlock the mutex
55 status_t lock();
58 // lock if possible; returns 0 on success, error otherwise
65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); }
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); }
111 inline status_t Mutex::lock() { function in class:android::Mutex
/frameworks/native/services/powermanager/
H A DIPowerManager.cpp44 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) argument
49 data.writeStrongBinder(lock);
56 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) argument
60 data.writeStrongBinder(lock);
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java156 FileLock lock = null;
161 lock = mChannel.lock(pos, 1 + 8, true);
178 if (lock != null) lock.release();
194 FileLock lock = null;
208 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false);
221 if (lock != null) lock
[all...]
/frameworks/base/services/common_time/
H A Dcommon_clock.cpp43 Mutex::Autolock lock(&lock_);
68 Mutex::Autolock lock(&lock_);
80 Mutex::Autolock lock(&lock_);
98 Mutex::Autolock lock(&lock_);
106 Mutex::Autolock lock(&lock_);
114 Mutex::Autolock lock(&lock_);
H A Dcommon_clock_service.cpp37 Mutex::Autolock lock(mRegistrationLock);
96 Mutex::Autolock lock(mRegistrationLock);
99 Mutex::Autolock lock(mCallbackLock);
114 Mutex::Autolock lock(mRegistrationLock);
118 Mutex::Autolock lock(mCallbackLock);
134 Mutex::Autolock lock(mRegistrationLock);
137 Mutex::Autolock lock(mCallbackLock);
150 Mutex::Autolock lock(mCallbackLock);
/frameworks/native/libs/utils/
H A DTrace.cpp32 Mutex::Autolock lock(sMutex);
39 Mutex::Autolock lock(sMutex);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.h41 pthread_mutex_t lock; member in struct:lib_entry_s

Completed in 487 milliseconds

1234567