/frameworks/native/services/surfaceflinger/ |
H A D | Barrier.h | 32 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
|
H A D | EventControlThread.cpp | 28 Mutex::Autolock lock(mMutex); 34 Mutex::Autolock lock(mMutex);
|
/frameworks/testing/uiautomator/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/ |
H A D | WakeUpCall.java | 35 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();
|
H A D | AlarmImpl.java | 43 Log.d(LOG_TAG, "AlarmService prepared, wake lock acquired"); 56 Log.d(LOG_TAG, String.format("Alarm set: %d, giving up wake lock", atTime)); 57 Object lock = WakeUpController.getController().getWakeSync(); 58 // release wakelock and wait for the lock to be poked from the broadcast receiver 60 // does not really matter if device enters suspend before we start waiting on lock 61 synchronized (lock) { 63 lock.wait();
|
/frameworks/native/include/powermanager/ |
H A D | IPowerManager.h | 33 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, 35 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, 37 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) = 0; 38 virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids) = 0;
|
/frameworks/av/include/private/media/ |
H A D | AudioEffectShared.h | 37 Mutex lock; member in struct:android::effect_param_cblk_t 43 : lock(Mutex::SHARED), clientIndex(0), serverIndex(0) {}
|
/frameworks/base/core/java/android/os/ |
H A D | IPowerManager.aidl | 28 void acquireWakeLock(IBinder lock, int flags, String tag, String packageName, in WorkSource ws); 29 void acquireWakeLockWithUid(IBinder lock, int flags, String tag, String packageName, int uidtoblame); 30 void releaseWakeLock(IBinder lock, int flags); 31 void updateWakeLockUids(IBinder lock, in int[] uids); 33 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws);
|
/frameworks/rs/ |
H A D | rsMutex.h | 32 bool lock();
|
H A D | rsMutex.cpp | 39 bool Mutex::lock() { function in class:Mutex
|
/frameworks/av/drm/libdrmframework/plugins/common/util/include/ |
H A D | SessionMap.h | 37 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 D | FileMutex.h | 30 : 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/native/services/powermanager/ |
H A D | IPowerManager.cpp | 46 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag, argument 52 data.writeStrongBinder(lock); 60 virtual status_t acquireWakeLockWithUid(int flags, const sp<IBinder>& lock, const String16& tag, argument 66 data.writeStrongBinder(lock); 74 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) argument 78 data.writeStrongBinder(lock); 83 virtual status_t updateWakeLockUids(const sp<IBinder>& lock, int len, const int *uids) { argument 86 data.writeStrongBinder(lock);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 62 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...] |
H A D | MidiMetadataRetriever.cpp | 42 Mutex::Autolock lock(mLock); 53 Mutex::Autolock lock(mLock); 64 Mutex::Autolock lock(mLock);
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
H A D | VariableSpeed.java | 53 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 D | SchedulingPolicyService.cpp | 36 sMutex.lock(); 46 sMutex.lock(); 55 sMutex.lock();
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | Android.mk | 24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | Android.mk | 24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
|
/frameworks/base/media/java/android/media/ |
H A D | MiniThumbFile.java | 156 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 D | common_clock.cpp | 43 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 D | common_clock_service.cpp | 37 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 D | Android.mk | 58 $(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 \
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerStateUnitTestTemplate.java | 52 private final Object lock = new Object(); field in class:MediaPlayerStateUnitTestTemplate 83 synchronized(lock) { 85 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE); 118 synchronized(lock) { 119 Log.v(TAG, "notify lock."); 124 lock.notify(); 132 synchronized(lock) { 136 lock.notify(); 140 synchronized(lock) { 142 lock [all...] |
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 85 Mutex::Autolock lock(mMutex); 92 Mutex::Autolock lock(mMutex); 105 Mutex::Autolock lock(mMutex); 114 Mutex::Autolock lock(mMutex); 130 Mutex::Autolock lock(mMutex); 138 Mutex::Autolock lock(mMutex); 180 Mutex::Autolock lock(mMutex); 190 Mutex::Autolock lock(mMutex); 199 Mutex::Autolock lock(mMutex); 229 Mutex::Autolock lock(mMute [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 85 return lockBacking(mode, accessFormat).lock(accessFormat); 93 lock(backing, mode); 296 private void lock(Backing backingToLock, int mode) { method in class:BackingStore 301 "Attempting to write-lock the read-locked frame " + this + "!"); 304 "Attempting to write-lock the write-locked frame " + this + "!"); 318 throw new RuntimeException("Attempting to read-lock locked frame " + this + "!"); 347 public abstract Object lock(int accessType); method in class:BackingStore.Backing 437 mObject = backing.lock(ACCESS_OBJECT); 441 mObject = backing.lock(ACCESS_BITMAP); 451 public Object lock(in method in class:BackingStore.ObjectBacking 538 public Object lock(int accessType) { method in class:BackingStore.BitmapBacking 633 public Object lock(int accessType) { method in class:BackingStore.TextureBacking 764 public Object lock(int accessType) { method in class:BackingStore.ByteBufferBacking 875 public Object lock(int accessType) { method in class:BackingStore.AllocationBacking [all...] |