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

123456789

/frameworks/native/services/surfaceflinger/
H A DBarrier.h36 Mutex::Autolock _l(lock);
43 Mutex::Autolock _l(lock);
51 Mutex::Autolock _l(lock);
53 cv.wait(lock);
58 mutable Mutex lock; member in class:android::Barrier
H A DEventControlThread.cpp28 Mutex::Autolock lock(mMutex);
34 Mutex::Autolock lock(mMutex);
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DWakeUpCall.java35 Object lock = WakeUpController.getController().getWakeSync();
36 synchronized (lock) {
37 // poke the lock so the service side can be woken from waiting on the lock
38 lock.notifyAll();
/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/base/core/java/android/hardware/camera2/legacy/
H A DCaptureCollector.java316 final ReentrantLock lock = this.mLock;
317 lock.lock();
355 lock.unlock();
369 final ReentrantLock lock = this.mLock;
370 lock.lock();
380 lock.unlock();
394 final ReentrantLock lock = this.mLock;
395 lock
[all...]
/frameworks/native/include/powermanager/
H A DIPowerManager.h35 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag,
37 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag,
39 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags, bool isOneWay = false) = 0;
40 virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids,
/frameworks/native/libs/gui/tests/
H A DDisconnectWaiter.h40 Mutex::Autolock lock(mMutex);
48 Mutex::Autolock lock(mMutex);
54 Mutex::Autolock lock(mMutex);
63 Mutex::Autolock lock(mMutex);
H A DFrameWaiter.h31 Mutex::Autolock lock(mMutex);
39 Mutex::Autolock lock(mMutex);
/frameworks/rs/
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, kDeleteOnClose) { }
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/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp62 Mutex::Autolock lock(mLock);
76 Mutex::Autolock lock(mLock);
87 Mutex::Autolock lock(mLock);
102 Mutex::Autolock lock(mLock);
116 Mutex::Autolock lock(mLock);
127 Mutex::Autolock lock(mLock);
138 Mutex::Autolock lock(mLock);
149 Mutex::Autolock lock(mLock);
160 Mutex::Autolock lock(mLock);
171 Mutex::Autolock lock(mLoc
[all...]
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws,
30 void acquireWakeLockWithUid(IBinder lock, int flags, String tag, String packageName,
32 void releaseWakeLock(IBinder lock, int flags);
33 void updateWakeLockUids(IBinder lock, in int[] uids);
36 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws, String historyTag);
/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.cpp36 sMutex.lock();
46 sMutex.lock();
55 sMutex.lock();
/frameworks/native/services/powermanager/
H A DIPowerManager.cpp47 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, argument
53 data.writeStrongBinder(lock);
63 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, argument
69 data.writeStrongBinder(lock);
78 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags, bool isOneWay) argument
82 data.writeStrongBinder(lock);
88 virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids, argument
92 data.writeStrongBinder(lock);
/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/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp36 Mutex::Autolock lock(sSingletonLock);
47 Mutex::Autolock lock(mSessionsLock);
62 Mutex::Autolock lock(mSessionsLock);
74 Mutex::Autolock lock(mSessionsLock);\
/frameworks/base/libs/hwui/renderthread/
H A DRenderTask.cpp31 mLock->lock();
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java155 FileLock lock = null;
160 lock = mChannel.lock(pos, 1 + 8, true);
177 if (lock != null) lock.release();
193 FileLock lock = null;
207 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false);
220 if (lock != null) lock
[all...]
/frameworks/base/libs/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/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
H A DAndroid.mk58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \
59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \

Completed in 645 milliseconds

123456789