Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/media/libmediaplayerservice/
DMediaRecorderClient.cpp65 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 …]
DMidiFile.cpp118 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
DMetadataRetrieverClient.cpp78 Mutex::Autolock lock(mLock); in disconnect() local
114 Mutex::Autolock lock(mLock); in setDataSource() local
130 Mutex::Autolock lock(mLock); in setDataSource() local
169 Mutex::Autolock lock(mLock); in getFrameAtTime() local
210 Mutex::Autolock lock(mLock); in extractAlbumArt() local
245 Mutex::Autolock lock(mLock); in extractMetadata() local
DMidiMetadataRetriever.cpp42 Mutex::Autolock lock(mLock); in setDataSource() local
53 Mutex::Autolock lock(mLock); in setDataSource() local
64 Mutex::Autolock lock(mLock); in extractMetadata() local
DMediaPlayerService.cpp240 Mutex::Autolock lock(mLock); in createMediaRecorder() local
248 Mutex::Autolock lock(mLock); in removeMediaRecorderClient() local
274 Mutex::Autolock lock(mLock); in create() local
368 Mutex::Autolock lock(mLock); in dump() local
472 Mutex::Autolock lock(mLock); in removeClient() local
874 Mutex::Autolock lock(mLock); in setMetadataFilter() local
898 Mutex::Autolock lock(mLock); in getMetadata() local
1098 Mutex::Autolock lock(mLock); in shouldDropMetadata() local
1113 Mutex::Autolock lock(mLock); in addNewMetadataUpdate() local
1670 Mutex::Autolock lock(mLock); in wait() local
[all …]
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp84 Mutex::Autolock lock(&mLock); in ~SoundPool() local
99 Mutex::Autolock lock(&mRestartLock); in addToRestartList() local
108 Mutex::Autolock lock(&mRestartLock); in addToStopList() local
137 Mutex::Autolock lock(&mLock); in run() local
152 Mutex::Autolock lock(&mLock); in run() local
209 Mutex::Autolock lock(&mLock); in load() local
220 Mutex::Autolock lock(&mLock); in load() local
237 Mutex::Autolock lock(&mLock); in unload() local
250 Mutex::Autolock lock(&mLock); in play() local
323 Mutex::Autolock lock(&mLock); in pause() local
[all …]
DSoundPoolThread.cpp26 Mutex::Autolock lock(&mLock); in write() local
39 Mutex::Autolock lock(&mLock); in read() local
50 Mutex::Autolock lock(&mLock); in quit() local
/frameworks/base/media/libmedia/
DJetPlayer.cpp129 Mutex::Autolock lock(mMutex); in release() local
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
454 Mutex::Autolock lock(mMutex); in setMuteFlag() local
462 Mutex::Autolock lock(mMutex); in triggerClip() local
[all …]
DAudioTrack.cpp158 AutoMutex lock(mLock); in set() local
333 AutoMutex lock(mLock); in start() local
392 AutoMutex lock(mLock); in stop() local
427 AutoMutex lock(mLock); in flush() local
453 AutoMutex lock(mLock); in pause() local
477 AutoMutex lock(mLock); in setVolume() local
503 AutoMutex lock(mLock); in setAuxEffectSendLevel() local
529 AutoMutex lock(mLock); in setSampleRate() local
536 AutoMutex lock(mLock); in getSampleRate() local
542 AutoMutex lock(mLock); in setLoop() local
[all …]
DAudioRecord.cpp137 AutoMutex lock(mLock); in set() local
302 AutoMutex lock(mLock); in start() local
355 AutoMutex lock(mLock); in stop() local
384 AutoMutex lock(mLock); in getSampleRate() local
432 AutoMutex lock(mLock); in getPosition() local
494 AutoMutex lock(mLock); in obtainBuffer() local
589 AutoMutex lock(mLock); in releaseBuffer() local
595 AutoMutex lock(mLock); in getInput() local
Dmediametadataretriever.cpp37 Mutex::Autolock lock(sServiceLock); in getService() local
161 Mutex::Autolock lock(MediaMetadataRetriever::sServiceLock); in binderDied() local
168 Mutex::Autolock lock(sServiceLock); in ~DeathNotifier() local
/frameworks/base/media/libstagefright/
DSurfaceMediaSource.cpp66 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/libs/gui/
DSurfaceTexture.cpp167 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 …]
DSurfaceTextureClient.cpp134 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
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
455 Mutex::Autolock lock(mMutex); in setBufferCount() local
[all …]
/frameworks/base/services/camera/libcameraservice/
DCameraHardwareStub.cpp119 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
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
338 Mutex::Autolock lock(mLock); in setParameters() local
[all …]
DCameraService.cpp170 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/
DIPowerManager.aidl27 void acquireWakeLock(int flags, IBinder lock, String tag, in WorkSource ws); in acquireWakeLock()
28 void updateWakeLockWorkSource(IBinder lock, in WorkSource ws); in updateWakeLockWorkSource()
32 void releaseWakeLock(IBinder lock, int flags); in releaseWakeLock()
36 void setPokeLock(int pokey, IBinder lock, String tag); in setPokeLock()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java180 ReentrantLock lock = Bridge.getLock(); in acquireLock() local
208 ReentrantLock lock = Bridge.getLock(); in release() local
296 ReentrantLock lock = Bridge.getLock(); in checkLock() local
/frameworks/base/services/powermanager/
DIPowerManager.cpp44 virtual status_t acquireWakeLock(int flags, const sp<IBinder>& lock, const String16& tag) in acquireWakeLock()
57 virtual status_t releaseWakeLock(const sp<IBinder>& lock, int flags) in releaseWakeLock()
/frameworks/ex/variablespeed/jni/
Dsola_time_scaler.cc74 MutexLock lock(&mutex_); // lock out processing while updating in set_analyzer() local
85 MutexLock lock(&mutex_); // lock out processing while updating in Init() local
100 MutexLock lock(&mutex_); // lock out processing while updating in set_speed() local
254 MutexLock lock(&mutex_); // lock out updates while processing each window in Process() local
/frameworks/base/media/java/android/media/
DMiniThumbFile.java156 FileLock lock = null; in getMagic() local
194 FileLock lock = null; in saveMiniThumbToFile() local
241 FileLock lock = null; in getMiniThumbFromFile() local
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl74 boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws); in acquireWifiLock()
76 void updateWifiLockWorkSource(IBinder lock, in WorkSource ws); in updateWifiLockWorkSource()
78 boolean releaseWifiLock(IBinder lock); in releaseWifiLock()
/frameworks/base/libs/rs/
DrsMutex.cpp39 bool Mutex::lock() { in lock() function in Mutex
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java66 IBinder lock = new Binder(); in run() local
/frameworks/base/core/java/android/util/
DSynchronizedPool.java32 public SynchronizedPool(Pool<T> pool, Object lock) { in SynchronizedPool()

123