/frameworks/base/media/libmediaplayerservice/ |
D | MediaRecorderClient.cpp | 65 Mutex::Autolock lock(mLock); in querySurfaceMediaSource() local 79 Mutex::Autolock lock(mLock); in setCamera() local 90 Mutex::Autolock lock(mLock); in setPreviewSurface() local 104 Mutex::Autolock lock(mLock); in setVideoSource() local 118 Mutex::Autolock lock(mLock); in setAudioSource() local 129 Mutex::Autolock lock(mLock); in setOutputFormat() local 140 Mutex::Autolock lock(mLock); in setVideoEncoder() local 151 Mutex::Autolock lock(mLock); in setAudioEncoder() local 162 Mutex::Autolock lock(mLock); in setOutputFile() local 173 Mutex::Autolock lock(mLock); in setOutputFile() local [all …]
|
D | MidiFile.cpp | 118 Mutex::Autolock lock(mMutex); in setDataSource() local 149 Mutex::Autolock lock(mMutex); in setDataSource() local 177 Mutex::Autolock lock(mMutex); in prepare() local 207 Mutex::Autolock lock(mMutex); in start() local 232 Mutex::Autolock lock(mMutex); in stop() local 252 Mutex::Autolock lock(mMutex); in seekTo() local 272 Mutex::Autolock lock(mMutex); in pause() local 311 Mutex::Autolock lock(mMutex); in getDuration() local 376 Mutex::Autolock lock(mMutex); in reset() local 411 Mutex::Autolock lock(mMutex); in setLooping() local [all …]
|
D | MidiMetadataRetriever.cpp | 42 Mutex::Autolock lock(mLock); in setDataSource() local 53 Mutex::Autolock lock(mLock); in setDataSource() local 64 Mutex::Autolock lock(mLock); in extractMetadata() local
|
/frameworks/base/media/libmedia/ |
D | AudioRecord.cpp | 137 AutoMutex lock(mLock); in set() local 299 t->mLock.lock(); in start() 302 AutoMutex lock(mLock); in start() local 311 cblk->lock.lock(); in start() 313 cblk->lock.unlock(); in start() 315 cblk->lock.lock(); in start() 323 cblk->lock.unlock(); in start() 352 t->mLock.lock(); in stop() 355 AutoMutex lock(mLock); in stop() local 384 AutoMutex lock(mLock); in getSampleRate() local [all …]
|
D | AudioTrack.cpp | 158 AutoMutex lock(mLock); in set() local 330 t->mLock.lock(); in start() 333 AutoMutex lock(mLock); in start() local 344 cblk->lock.lock(); in start() 356 cblk->lock.unlock(); in start() 358 cblk->lock.lock(); in start() 366 cblk->lock.unlock(); in start() 389 t->mLock.lock(); in stop() 392 AutoMutex lock(mLock); in stop() local 427 AutoMutex lock(mLock); in flush() local [all …]
|
D | JetPlayer.cpp | 129 Mutex::Autolock lock(mMutex); in release() local 191 mMutex.lock(); // [[[[[[[[ LOCK --------------------------------------- in render() 266 mMutex.lock(); in render() 343 Mutex::Autolock lock(mMutex); in loadFromFile() local 368 Mutex::Autolock lock(mMutex); in loadFromFD() local 388 Mutex::Autolock lock(mMutex); in closeFile() local 397 Mutex::Autolock lock(mMutex); in play() local 419 Mutex::Autolock lock(mMutex); in pause() local 440 Mutex::Autolock lock(mMutex); in queueSegment() local 447 Mutex::Autolock lock(mMutex); in setMuteFlags() local [all …]
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
D | VariableSpeed.java | 53 private final Object lock = new Object(); field in VariableSpeed 89 synchronized (lock) { in setOnCompletionListener() 97 synchronized (lock) { in setOnErrorListener() 105 synchronized (lock) { in release() 113 synchronized (lock) { in release() 119 synchronized (lock) { in release() 139 synchronized (lock) { in stopCurrentPlayback() 182 synchronized (lock) { in innerSetDataSource() 192 synchronized (lock) { in reset() 198 synchronized (lock) { in reset() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MiniThumbFile.java | 156 FileLock lock = null; in getMagic() local 161 lock = mChannel.lock(pos, 1 + 8, true); in getMagic() 178 if (lock != null) lock.release(); in getMagic() 194 FileLock lock = null; in saveMiniThumbToFile() local 208 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in saveMiniThumbToFile() 221 if (lock != null) lock.release(); in saveMiniThumbToFile() 241 FileLock lock = null; in getMiniThumbFromFile() local 244 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, true); in getMiniThumbFromFile() 265 if (lock != null) lock.release(); in getMiniThumbFromFile()
|
/frameworks/base/drm/libdrmframework/plugins/common/util/include/ |
D | SessionMap.h | 37 Mutex::Autolock lock(mLock); in ~SessionMap() 51 Mutex::Autolock lock(mLock); in addValue() 67 Mutex::Autolock lock(mLock); in getValue() 77 Mutex::Autolock lock(mLock); in getSize() 90 Mutex::Autolock lock(mLock); in getValueAt() 105 Mutex::Autolock lock(mLock); in removeValue() 118 Mutex::Autolock lock(mLock); in isCreated() 123 Mutex::Autolock lock(mLock);
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 84 Mutex::Autolock lock(&mLock); in ~SoundPool() local 99 Mutex::Autolock lock(&mRestartLock); in addToRestartList() local 108 Mutex::Autolock lock(&mRestartLock); in addToStopList() local 123 mRestartLock.lock(); in run() 137 Mutex::Autolock lock(&mLock); in run() local 140 mRestartLock.lock(); in run() 152 Mutex::Autolock lock(&mLock); in run() local 155 mRestartLock.lock(); in run() 170 mRestartLock.lock(); in quit() 209 Mutex::Autolock lock(&mLock); in load() local [all …]
|
/frameworks/base/services/surfaceflinger/ |
D | Barrier.h | 32 Mutex::Autolock _l(lock); in open() 37 Mutex::Autolock _l(lock); in close() 41 Mutex::Autolock _l(lock); in wait() 43 cv.wait(lock); in wait() 48 mutable Mutex lock; variable
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | MediaPlayerStateUnitTestTemplate.java | 52 private final Object lock = new Object(); field in MediaPlayerStateUnitTestTemplate 83 synchronized(lock) { in runTestOnMethod() 85 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE); in runTestOnMethod() 118 synchronized(lock) { in initializeMessageLooper() 124 lock.notify(); in initializeMessageLooper() 132 synchronized(lock) { in initializeMessageLooper() 136 lock.notify(); in initializeMessageLooper() 140 synchronized(lock) { in initializeMessageLooper() 142 lock.notify(); in initializeMessageLooper() 159 synchronized(lock) { in callMediaPlayerMethodUnderTestInState() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaVisualizerTest.java | 59 private final Object lock = new Object(); field in MediaVisualizerTest 300 synchronized(lock) { in test2_1ListenerCapture() 302 lock.wait(1000); in test2_1ListenerCapture() 312 synchronized(lock) { in test2_1ListenerCapture() 315 lock.wait(1000); in test2_1ListenerCapture() 326 synchronized(lock) { in test2_1ListenerCapture() 329 lock.wait(1000); in test2_1ListenerCapture() 345 synchronized(lock) { in test2_1ListenerCapture() 348 lock.wait(1000); in test2_1ListenerCapture() 359 synchronized(lock) { in test2_1ListenerCapture() [all …]
|
D | MediaAudioEffectTest.java | 58 private final Object lock = new Object(); field in MediaAudioEffectTest 353 synchronized(lock) { in test1_6AuxiliaryOnMediaPlayerFailure() 355 lock.wait(1000); in test1_6AuxiliaryOnMediaPlayerFailure() 368 synchronized(lock) { in test1_6AuxiliaryOnMediaPlayerFailure() 371 lock.wait(1000); in test1_6AuxiliaryOnMediaPlayerFailure() 1158 synchronized(lock) { in test5_2ControlStatusListener() 1160 lock.wait(1000); in test5_2ControlStatusListener() 1166 synchronized(lock) { in test5_2ControlStatusListener() 1173 lock.wait(1000); in test5_2ControlStatusListener() 1206 synchronized(lock) { in test5_3EnableStatusListener() [all …]
|
/frameworks/base/services/camera/libcameraservice/ |
D | CameraHardwareStub.cpp | 119 Mutex::Autolock lock(mLock); in setCallbacks() local 128 Mutex::Autolock lock(mLock); in enableMsgType() local 134 Mutex::Autolock lock(mLock); in disableMsgType() local 140 Mutex::Autolock lock(mLock); in msgTypeEnabled() local 148 mLock.lock(); in previewThread() 197 Mutex::Autolock lock(mLock); in startPreview() local 211 Mutex::Autolock lock(mLock); in stopPreview() local 220 Mutex::Autolock lock(mLock); in stopPreview() local 263 Mutex::Autolock lock(mLock); in autoFocus() local 323 AutoMutex lock(&mLock); in dump() local [all …]
|
D | CameraService.cpp | 170 Mutex::Autolock lock(mServiceLock); in connect() local 223 Mutex::Autolock lock(mServiceLock); in removeClient() local 308 Mutex::Autolock lock(mSoundLock); in loadSound() local 317 Mutex::Autolock lock(mSoundLock); in releaseSound() local 331 Mutex::Autolock lock(mSoundLock); in playSound() local 408 status_t CameraService::Client::lock() { in lock() function in android::CameraService::Client 411 Mutex::Autolock lock(mLock); in lock() local 426 Mutex::Autolock lock(mLock); in unlock() local 448 Mutex::Autolock lock(mLock); in connect() local 483 Mutex::Autolock lock(mLock); in disconnect() local [all …]
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 27 void acquireWakeLock(int flags, IBinder lock, String tag, in WorkSource ws); in acquireWakeLock() argument 28 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws); in updateWakeLockWorkSource() argument 32 void releaseWakeLock(IBinder lock, int flags); in releaseWakeLock() argument 36 void setPokeLock(int pokey, IBinder lock, String tag); in setPokeLock() argument
|
/frameworks/base/libs/gui/ |
D | SurfaceTextureClient.cpp | 134 Mutex::Autolock lock(mMutex); in dequeueBuffer() local 163 Mutex::Autolock lock(mMutex); in cancelBuffer() local 203 Mutex::Autolock lock(mMutex); in lockBuffer() local 209 Mutex::Autolock lock(mMutex); in queueBuffer() local 233 Mutex::Autolock lock(mMutex); in query() local 390 return lock(outBuffer, inOutDirtyBounds); in dispatchLock() 400 Mutex::Autolock lock(mMutex); in connect() local 411 Mutex::Autolock lock(mMutex); in disconnect() local 429 Mutex::Autolock lock(mMutex); in setUsage() local 437 Mutex::Autolock lock(mMutex); in setCrop() local [all …]
|
D | SurfaceTexture.cpp | 167 Mutex::Autolock lock(mMutex); in setBufferCountServer() local 173 Mutex::Autolock lock(mMutex); in setBufferCount() local 226 Mutex::Autolock lock(mMutex); in setDefaultBufferSize() local 234 Mutex::Autolock lock(mMutex); in requestBuffer() local 258 Mutex::Autolock lock(mMutex); in dequeueBuffer() local 434 Mutex::Autolock lock(mMutex); in setSynchronousMode() local 470 Mutex::Autolock lock(mMutex); in queueBuffer() local 538 Mutex::Autolock lock(mMutex); in cancelBuffer() local 560 Mutex::Autolock lock(mMutex); in setCrop() local 571 Mutex::Autolock lock(mMutex); in setTransform() local [all …]
|
/frameworks/base/services/powermanager/ |
D | IPowerManager.cpp | 44 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) in acquireWakeLock() argument 50 data.writeStrongBinder(lock); in acquireWakeLock() 57 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) in releaseWakeLock() argument 61 data.writeStrongBinder(lock); in releaseWakeLock()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 202 mLock.readLock().lock(); in connect() 224 mLock.readLock().lock(); in close() 237 mLock.writeLock().lock(); in close() 291 mLock.readLock().lock(); in bindListen() 301 mLock.readLock().lock(); in accept() 314 mLock.readLock().lock(); in available() 324 mLock.readLock().lock(); in read() 334 mLock.readLock().lock(); in write()
|
/frameworks/base/media/libstagefright/ |
D | SurfaceMediaSource.cpp | 66 Mutex::Autolock lock(mMutex); in getQueuedCount() local 106 Mutex::Autolock lock(mMutex); in setBufferCountServer() local 117 Mutex::Autolock lock(mMutex); in setBufferCount() local 154 Mutex::Autolock lock(mMutex); in requestBuffer() local 168 Mutex::Autolock lock(mMutex); in dequeueBuffer() local 360 Mutex::Autolock lock(mMutex); in setSynchronousMode() local 386 Mutex::Autolock lock(mMutex); in connect() local 427 Mutex::Autolock lock(mMutex); in disconnect() local 460 Mutex::Autolock lock(mMutex); in queueBuffer() local 558 Mutex::Autolock lock(mMutex); in cancelBuffer() local [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderAction.java | 180 ReentrantLock lock = Bridge.getLock(); in acquireLock() local 181 if (lock.isHeldByCurrentThread() == false) { in acquireLock() 183 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock() 208 ReentrantLock lock = Bridge.getLock(); in release() local 213 if (lock.isHeldByCurrentThread()) { in release() 215 lock.unlock(); in release() 296 ReentrantLock lock = Bridge.getLock(); in checkLock() local 297 if (lock.isHeldByCurrentThread() == false) { in checkLock()
|
/frameworks/base/core/java/android/database/ |
D | ContentObserver.java | 30 private Object lock = new Object(); field in ContentObserver 89 synchronized(lock) { in getContentObserver() 104 synchronized(lock) { in releaseContentObserver()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 66 IBinder lock = new Binder(); in run() local 67 pm.acquireWakeLock(PowerManager.FULL_WAKE_LOCK, lock, "svc power", null); in run() 69 pm.releaseWakeLock(lock, 0); in run()
|