Home
last modified time | relevance | path

Searched refs:mLock (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DMediaBufferPuller.cpp46 Mutex::Autolock autolock(mLock); in hasMediaSourceReturnedError()
50 Mutex::Autolock autolock(mLock); in start()
57 Mutex::Autolock autolock(mLock); in stop()
62 mUserCond.wait(mLock); in stop()
79 Mutex::Autolock autolock(mLock); in getBufferNonBlocking()
90 Mutex::Autolock autolock(mLock); in getBufferBlocking()
92 mUserCond.wait(mLock); in getBufferBlocking()
105 Mutex::Autolock autolock(mLock); in putBuffer()
123 mLock.lock(); in acquireThreadFunc()
127 mAcquireCond.wait(mLock); in acquireThreadFunc()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp62 Mutex::Autolock lock(mLock); in querySurfaceMediaSource()
76 Mutex::Autolock lock(mLock); in setCamera()
87 Mutex::Autolock lock(mLock); in setPreviewSurface()
101 Mutex::Autolock lock(mLock); in setVideoSource()
115 Mutex::Autolock lock(mLock); in setAudioSource()
126 Mutex::Autolock lock(mLock); in setOutputFormat()
137 Mutex::Autolock lock(mLock); in setVideoEncoder()
148 Mutex::Autolock lock(mLock); in setAudioEncoder()
159 Mutex::Autolock lock(mLock); in setOutputFile()
170 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
DHDCP.cpp54 Mutex::Autolock autoLock(mLock); in ~HDCP()
68 Mutex::Autolock autoLock(mLock); in setObserver()
80 Mutex::Autolock autoLock(mLock); in initAsync()
90 Mutex::Autolock autoLock(mLock); in shutdownAsync()
102 Mutex::Autolock autoLock(mLock); in encrypt()
119 Mutex::Autolock autoLock(mLock); in observe()
/frameworks/base/services/common_time/
Dcommon_time_server_api.cpp36 AutoMutex _lock(&mLock); in getTimelineID()
41 AutoMutex _lock(&mLock); in getState()
46 AutoMutex _lock(&mLock); in getMasterAddr()
56 AutoMutex _lock(&mLock); in getEstimatedError()
69 AutoMutex _lock(&mLock); in isCommonTimeValid()
79 AutoMutex _lock(&mLock); in getMasterElectionPriority()
85 AutoMutex _lock(&mLock); in setMasterElectionPriority()
96 AutoMutex _lock(&mLock); in getMasterElectionEndpoint()
103 AutoMutex _lock(&mLock); in setMasterElectionEndpoint()
132 AutoMutex _lock(&mLock); in getMasterElectionGroupId()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DUiccCardApplication.java50 private final Object mLock = new Object(); field in UiccCardApplication
103 synchronized (mLock) { in update()
151 synchronized (mLock) { in dispose()
208 synchronized (mLock) { in onQueryFdnEnabled()
225 synchronized (mLock) { in onChangeFdnDone()
251 synchronized (mLock) { in onQueryFacilityLock()
297 synchronized (mLock) { in onChangeFacilityLock()
345 synchronized (mLock) { in registerForReady()
353 synchronized (mLock) { in unregisterForReady()
362 synchronized (mLock) { in registerForLocked()
[all …]
DIccCardProxy.java78 private final Object mLock = new Object(); field in IccCardProxy
112 synchronized (mLock) { in dispose()
128 synchronized (mLock) { in setVoiceRadioTech()
146 synchronized (mLock) { in updateQuietMode()
238 synchronized (mLock) { in updateIccAvailability()
327 synchronized (mLock) { in broadcastIccStateChangedIntent()
348 synchronized (mLock) { in processLockedState()
373 synchronized (mLock) { in setExternalState()
389 synchronized (mLock) { in getIccRecordsLoaded()
427 synchronized (mLock) { in getState()
[all …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp79 Mutex::Autolock _l(mLock); in disconnect()
101 Mutex::Autolock _l(mLock); in setListener()
112 Mutex::Autolock _l(mLock); in attachNewPlayer()
191 Mutex::Autolock _l(mLock); in invoke()
206 Mutex::Autolock lock(mLock); in setMetadataFilter()
216 Mutex::Autolock lock(mLock); in getMetadata()
227 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
251 Mutex::Autolock _l(mLock); in prepare()
265 mSignal.wait(mLock); // wait for prepare done in prepare()
276 Mutex::Autolock _l(mLock); in prepareAsync()
[all …]
DSoundPool.cpp84 Mutex::Autolock lock(&mLock); in ~SoundPool()
137 Mutex::Autolock lock(&mLock); in run()
152 Mutex::Autolock lock(&mLock); in run()
209 Mutex::Autolock lock(&mLock); in load()
220 Mutex::Autolock lock(&mLock); in load()
237 Mutex::Autolock lock(&mLock); in unload()
250 Mutex::Autolock lock(&mLock); in play()
323 Mutex::Autolock lock(&mLock); in pause()
333 Mutex::Autolock lock(&mLock); in autoPause()
343 Mutex::Autolock lock(&mLock); in resume()
[all …]
DSoundPoolThread.cpp26 Mutex::Autolock lock(&mLock); in write()
28 mCondition.wait(mLock); in write()
39 Mutex::Autolock lock(&mLock); in read()
41 mCondition.wait(mLock); in read()
50 Mutex::Autolock lock(&mLock); in quit()
56 mCondition.wait(mLock); in quit()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSimSmsInterfaceManager.java51 private final Object mLock = new Object(); field in SimSmsInterfaceManager
75 synchronized (mLock) {
77 mLock.notifyAll();
82 synchronized (mLock) {
90 mLock.notifyAll();
96 synchronized (mLock) {
98 mLock.notifyAll();
140 synchronized(mLock) { in updateMessageOnIccEf()
155 mLock.wait(); in updateMessageOnIccEf()
177 synchronized(mLock) { in copyMessageToIccEf()
[all …]
/frameworks/av/media/libstagefright/chromium_http/
DChromiumHTTPDataSource.cpp62 Mutex::Autolock autoLock(mLock); in connect()
105 mCondition.wait(mLock); in connect_l()
113 Mutex::Autolock autoLock(mLock); in onConnectionEstablished()
128 Mutex::Autolock autoLock(mLock); in onConnectionFailed()
138 Mutex::Autolock autoLock(mLock); in disconnect()
153 mCondition.wait(mLock); in disconnect_l()
160 Mutex::Autolock autoLock(mLock); in initCheck()
166 Mutex::Autolock autoLock(mLock); in readAt()
202 mCondition.wait(mLock); in readAt()
224 Mutex::Autolock autoLock(mLock); in onReadCompleted()
[all …]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
DSessionMap.h37 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);
132 Mutex mLock; variable
/frameworks/base/core/java/android/accessibilityservice/
DUiTestAutomationBridge.java66 private final Object mLock = new Object(); field in UiTestAutomationBridge
150 synchronized (mLock) { in connect()
154 mLock.notifyAll(); in connect()
159 mLock.notifyAll(); in connect()
163 mLock.wait(); in connect()
174 synchronized (mLock) { in connect()
176 mLock.notifyAll(); in connect()
200 synchronized (mLock) { in connect()
212 mLock.wait(remainingTimeMillis); in connect()
263 synchronized (mLock) { in executeCommandAndWaitForAccessibilityEvent()
[all …]
/frameworks/native/include/utils/
DRWLock.h62 inline AutoRLock(RWLock& rwlock) : mLock(rwlock) { mLock.readLock(); } in AutoRLock()
63 inline ~AutoRLock() { mLock.unlock(); } in ~AutoRLock()
65 RWLock& mLock;
70 inline AutoWLock(RWLock& rwlock) : mLock(rwlock) { mLock.writeLock(); } in AutoWLock()
71 inline ~AutoWLock() { mLock.unlock(); } in ~AutoWLock()
73 RWLock& mLock;
DMutex.h65 inline Autolock(Mutex& mutex) : mLock(mutex) { mLock.lock(); } in Autolock()
66 inline Autolock(Mutex* mutex) : mLock(*mutex) { mLock.lock(); } in Autolock()
67 inline ~Autolock() { mLock.unlock(); } in ~Autolock()
69 Mutex& mLock;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DRuimSmsInterfaceManager.java47 private final Object mLock = new Object(); field in RuimSmsInterfaceManager
62 synchronized (mLock) {
64 mLock.notifyAll();
69 synchronized (mLock) {
77 mLock.notifyAll();
118 synchronized(mLock) { in updateMessageOnIccEf()
132 mLock.wait(); in updateMessageOnIccEf()
154 synchronized(mLock) { in copyMessageToIccEf()
162 mLock.wait(); in copyMessageToIccEf()
181 synchronized(mLock) { in getAllMessagesFromIccEf()
[all …]
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java41 private final Object mLock = new Object(); field in CursorToBulkCursorAdaptor
100 synchronized (mLock) { in CursorToBulkCursorAdaptor()
130 synchronized (mLock) { in binderDied()
136 synchronized (mLock) { in getBulkCursorDescriptor()
156 synchronized (mLock) { in getWindow()
190 synchronized (mLock) { in onMove()
199 synchronized (mLock) { in deactivate()
211 synchronized (mLock) { in close()
218 synchronized (mLock) { in requery()
265 synchronized (mLock) { in getExtras()
[all …]
/frameworks/av/services/camera/libcameraservice/
DCameraClient.cpp146 Mutex::Autolock lock(mLock); in lock()
161 Mutex::Autolock lock(mLock); in unlock()
183 Mutex::Autolock lock(mLock); in connect()
218 Mutex::Autolock lock(mLock); in disconnect()
262 Mutex::Autolock lock(mLock); in setPreviewWindow()
333 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag()
359 Mutex::Autolock lock(mLock); in startCameraMode()
432 Mutex::Autolock lock(mLock); in stopPreview()
445 Mutex::Autolock lock(mLock); in stopRecording()
457 Mutex::Autolock lock(mLock); in releaseRecordingFrame()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java86 private static final Object mLock = new Object(); field in UiccController
96 synchronized (mLock) { in make()
106 synchronized (mLock) { in getInstance()
116 synchronized (mLock) { in getUiccCard()
123 synchronized (mLock) { in getUiccCardApplication()
133 synchronized (mLock) { in getIccRecords()
146 synchronized (mLock) { in getIccFileHandler()
159 synchronized (mLock) { in registerForIccChanged()
169 synchronized (mLock) { in unregisterForIccChanged()
176 synchronized (mLock) { in handleMessage()
/frameworks/base/core/java/android/util/
DSynchronizedPool.java25 private final Object mLock; field in SynchronizedPool
29 mLock = this; in SynchronizedPool()
34 mLock = lock; in SynchronizedPool()
38 synchronized (mLock) { in acquire()
44 synchronized (mLock) { in release()
/frameworks/native/libs/utils/
DWorkQueue.cpp39 AutoMutex _l(mLock); in schedule()
56 mWorkDequeuedCondition.wait(mLock); in schedule()
69 AutoMutex _l(mLock); in cancel()
95 AutoMutex _l(mLock); in finish()
118 AutoMutex _l(mLock); in threadLoop()
137 mWorkChangedCondition.wait(mLock); in threadLoop()
145 AutoMutex _l(mLock); in threadLoop()
/frameworks/wilhelm/src/android/
DCallbackProtector.cpp40 Mutex::Autolock _l(mLock); in ~CallbackProtector()
60 Mutex::Autolock _l(mLock); in enterCb()
86 Mutex::Autolock _l(mLock); in exitCb()
112 Mutex::Autolock _l(mLock); in requestCbExitAndWait()
127 mCbExitedCondition.wait(mLock); in requestCbExitAndWait()
133 Mutex::Autolock _l(mLock); in requestCbExit()
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp68 Mutex::Autolock autoLock(mLock); in dequeueAccessUnit()
70 mCondition.wait(mLock); in dequeueAccessUnit()
96 Mutex::Autolock autoLock(mLock); in read()
98 mCondition.wait(mLock); in read()
148 Mutex::Autolock autoLock(mLock); in queueAccessUnit()
156 Mutex::Autolock autoLock(mLock); in queueDiscontinuity()
186 Mutex::Autolock autoLock(mLock); in signalEOS()
192 Mutex::Autolock autoLock(mLock); in hasBufferAvailable()
202 Mutex::Autolock autoLock(mLock); in getBufferedDurationUs()
238 Mutex::Autolock autoLock(mLock); in nextBufferTime()
/frameworks/base/services/java/com/android/server/usb/
DUsbHostManager.java49 private final Object mLock = new Object(); field in UsbHostManager
61 synchronized (mLock) { in setCurrentSettings()
67 synchronized (mLock) { in getCurrentSettings()
111 synchronized (mLock) { in usbDeviceAdded()
162 synchronized (mLock) { in usbDeviceRemoved()
171 synchronized (mLock) { in systemReady()
185 synchronized (mLock) { in getDeviceList()
194 synchronized (mLock) { in openDevice()
210 synchronized (mLock) { in dump()
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp36 Mutex::Autolock autoLock(mLock); in registerHandler()
55 Mutex::Autolock autoLock(mLock); in unregisterHandler()
76 Mutex::Autolock autoLock(mLock); in postMessage()
111 Mutex::Autolock autoLock(mLock); in deliverMessage()
137 Mutex::Autolock autoLock(mLock); in findLooper()
157 Mutex::Autolock autoLock(mLock); in postAndAwaitResponse()
172 mRepliesCondition.wait(mLock); in postAndAwaitResponse()
182 Mutex::Autolock autoLock(mLock); in postReply()

12345678910>>...12