Home
last modified time | relevance | path

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

12345678910>>...16

/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()
102 Mutex::Autolock lock(mLock); in setVideoSource()
116 Mutex::Autolock lock(mLock); in setAudioSource()
127 Mutex::Autolock lock(mLock); in setOutputFormat()
138 Mutex::Autolock lock(mLock); in setVideoEncoder()
149 Mutex::Autolock lock(mLock); in setAudioEncoder()
160 Mutex::Autolock lock(mLock); in setOutputFile()
171 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
DDrm.cpp228 Mutex::Autolock autoLock(mLock); in isCryptoSchemeSupported()
245 Mutex::Autolock autoLock(mLock); in createPlugin()
265 Mutex::Autolock autoLock(mLock); in destroyPlugin()
282 Mutex::Autolock autoLock(mLock); in openSession()
296 Mutex::Autolock autoLock(mLock); in closeSession()
314 Mutex::Autolock autoLock(mLock); in getKeyRequest()
331 Mutex::Autolock autoLock(mLock); in provideKeyResponse()
345 Mutex::Autolock autoLock(mLock); in removeKeys()
360 Mutex::Autolock autoLock(mLock); in restoreKeys()
375 Mutex::Autolock autoLock(mLock); in queryKeyStatus()
[all …]
DHDCP.cpp58 Mutex::Autolock autoLock(mLock); in ~HDCP()
72 Mutex::Autolock autoLock(mLock); in setObserver()
84 Mutex::Autolock autoLock(mLock); in initAsync()
94 Mutex::Autolock autoLock(mLock); in shutdownAsync()
104 Mutex::Autolock autoLock(mLock); in getCaps()
116 Mutex::Autolock autoLock(mLock); in encrypt()
133 Mutex::Autolock autoLock(mLock); in encryptNative()
150 Mutex::Autolock autoLock(mLock); in decrypt()
167 Mutex::Autolock autoLock(mLock); in observe()
/frameworks/base/libs/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/base/core/java/android/app/
DUiAutomation.java103 private final Object mLock = new Object(); field in UiAutomation
185 synchronized (mLock) { in connect()
200 synchronized (mLock) { in connect()
213 mLock.wait(remainingTimeMillis); in connect()
230 synchronized (mLock) { in disconnect()
254 synchronized (mLock) { in getConnectionId()
266 synchronized (mLock) { in setOnAccessibilityEventListener()
286 synchronized (mLock) { in performGlobalAction()
335 synchronized (mLock) { in getServiceInfo()
361 synchronized (mLock) { in setServiceInfo()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java60 private final Object mLock = new Object(); field in RemotePrintSpooler
108 synchronized (mLock) { in getPrintJobInfos()
123 synchronized (mLock) { in getPrintJobInfos()
125 mLock.notifyAll(); in getPrintJobInfos()
133 synchronized (mLock) { in createPrintJob()
147 synchronized (mLock) { in createPrintJob()
149 mLock.notifyAll(); in createPrintJob()
156 synchronized (mLock) { in writePrintJobData()
173 synchronized (mLock) { in writePrintJobData()
175 mLock.notifyAll(); in writePrintJobData()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp83 Mutex::Autolock autoLock(mLock); in setDataSource()
94 mCondition.wait(mLock); in setDataSource()
102 Mutex::Autolock autoLock(mLock); in setDataSource()
113 mCondition.wait(mLock); in setDataSource()
121 Mutex::Autolock autoLock(mLock); in setDataSource()
132 mCondition.wait(mLock); in setDataSource()
141 Mutex::Autolock autoLock(mLock); in setVideoSurfaceTexture()
161 mCondition.wait(mLock); in setVideoSurfaceTexture()
169 Mutex::Autolock autoLock(mLock); in prepare()
184 mCondition.wait(mLock); in prepare_l()
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImpl.cpp48 Mutex::Autolock _l(mLock); in setDeviceConnectionState()
81 Mutex::Autolock _l(mLock); in setPhoneState()
89 Mutex::Autolock _l(mLock); in getPhoneState()
109 Mutex::Autolock _l(mLock); in setForceUse()
136 Mutex::Autolock _l(mLock); in getOutput()
152 Mutex::Autolock _l(mLock); in getOutputForAttr()
167 Mutex::Autolock _l(mLock); in startOutput()
177 Mutex::Autolock _l(mLock); in startOutput()
200 Mutex::Autolock _l(mLock); in doStopOutput()
210 Mutex::Autolock _l(mLock); in doStopOutput()
[all …]
DAudioPolicyInterfaceImplLegacy.cpp53 Mutex::Autolock _l(mLock); in setDeviceConnectionState()
86 Mutex::Autolock _l(mLock); in setPhoneState()
94 Mutex::Autolock _l(mLock); in getPhoneState()
114 Mutex::Autolock _l(mLock); in setForceUse()
141 Mutex::Autolock _l(mLock); in getOutput()
157 Mutex::Autolock _l(mLock); in startOutput()
167 Mutex::Autolock _l(mLock); in startOutput()
191 Mutex::Autolock _l(mLock); in doStopOutput()
200 Mutex::Autolock _l(mLock); in doStopOutput()
216 Mutex::Autolock _l(mLock); in doReleaseOutput()
[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/hardware/camera2/utils/
DCloseableLock.java58 private final ReentrantLock mLock = new ReentrantLock(); field in CloseableLock
60 private final Condition mCondition = mLock.newCondition();
131 mLock.lock(); in close()
141 mLock.unlock(); in close()
172 mLock.lock(); in acquireLock()
208 mLock.unlock(); in acquireLock()
240 mLock.lock(); in acquireExclusiveLock()
281 mLock.unlock(); in acquireExclusiveLock()
307 mLock.lock(); in releaseLock()
334 mLock.unlock(); in releaseLock()
/frameworks/base/core/java/android/view/
DSurface.java79 final Object mLock = new Object(); // protects the native state field in Surface
138 synchronized (mLock) { in Surface()
146 synchronized (mLock) { in Surface()
169 synchronized (mLock) { in release()
194 synchronized (mLock) { in isValid()
208 synchronized (mLock) { in getGenerationId()
220 synchronized (mLock) { in isConsumerRunningBehind()
246 synchronized (mLock) { in lockCanvas()
272 synchronized (mLock) { in unlockCanvasAndPost()
332 synchronized (mLock) { in copyFrom()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCardApplication.java60 private final Object mLock = new Object(); field in UiccCardApplication
116 synchronized (mLock) { in update()
165 synchronized (mLock) { in dispose()
222 synchronized (mLock) { in onQueryFdnEnabled()
247 synchronized (mLock) { in onChangeFdnDone()
277 synchronized (mLock) { in onQueryFacilityLock()
327 synchronized (mLock) { in onChangeFacilityLock()
414 synchronized (mLock) { in registerForReady()
422 synchronized (mLock) { in unregisterForReady()
431 synchronized (mLock) { in registerForLocked()
[all …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp86 Mutex::Autolock _l(mLock); in disconnect()
108 Mutex::Autolock _l(mLock); in setListener()
119 Mutex::Autolock _l(mLock); in attachNewPlayer()
199 Mutex::Autolock _l(mLock); in invoke()
214 Mutex::Autolock lock(mLock); in setMetadataFilter()
224 Mutex::Autolock lock(mLock); in getMetadata()
235 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
262 Mutex::Autolock _l(mLock); in prepare()
276 mSignal.wait(mLock); // wait for prepare done in prepare()
287 Mutex::Autolock _l(mLock); in prepareAsync()
[all …]
/frameworks/base/core/java/android/database/
DCursorToBulkCursorAdaptor.java38 private final Object mLock = new Object(); field in CursorToBulkCursorAdaptor
97 synchronized (mLock) { in CursorToBulkCursorAdaptor()
127 synchronized (mLock) { in binderDied()
138 synchronized (mLock) { in getBulkCursorDescriptor()
158 synchronized (mLock) { in getWindow()
192 synchronized (mLock) { in onMove()
201 synchronized (mLock) { in deactivate()
213 synchronized (mLock) { in close()
220 synchronized (mLock) { in requery()
267 synchronized (mLock) { in getExtras()
[all …]
/frameworks/av/media/libstagefright/webm/
DLinkedBlockingQueue.h29 Mutex mLock; variable
33 Mutex::Autolock autolock(mLock); in front()
35 mContentAvailableCondition.wait(mLock); in front()
54 Mutex::Autolock autolock(mLock); in empty()
59 Mutex::Autolock autolock(mLock); in clear()
72 Mutex::Autolock autolock(mLock); in push()
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp162 Mutex::Autolock lock(mLock); in lock()
177 Mutex::Autolock lock(mLock); in unlock()
199 Mutex::Autolock lock(mLock); in connect()
235 Mutex::Autolock lock(mLock); in disconnect()
279 Mutex::Autolock lock(mLock); in setPreviewWindow()
344 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag()
377 Mutex::Autolock lock(mLock); in startCameraMode()
450 Mutex::Autolock lock(mLock); in stopPreview()
463 Mutex::Autolock lock(mLock); in stopRecording()
475 Mutex::Autolock lock(mLock); in releaseRecordingFrame()
[all …]
/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java71 private final Object mLock = new Object(); field in TimedRemoteCaller
88 synchronized (mLock) { in onBeforeRemoteCall()
95 synchronized (mLock) { in getResultTimed()
107 synchronized (mLock) { in onRemoteMethodResult()
111 mLock.notifyAll(); in onRemoteMethodResult()
128 mLock.wait(waitMillis); in waitForResultTimedLocked()
/frameworks/base/libs/hwui/thread/
DBarrier.h31 Mutex::Autolock l(mLock); in open()
37 Mutex::Autolock l(mLock); in close()
42 Mutex::Autolock l(mLock); in wait()
44 mCondition.wait(mLock); in wait()
51 mutable Mutex mLock; variable
/frameworks/opt/bitmap/src/com/android/bitmap/
DUnrefedBitmapCache.java38 private final Object mLock = new Object(); field in UnrefedBitmapCache
59 synchronized (mLock) { in setBlocking()
66 mLock.notifyAll(); in setBlocking()
85 synchronized (mLock) { in poll()
94 mLock.wait(); in poll()
109 synchronized (mLock) { in offer()
115 mLock.notify(); in offer()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DWakeGestureListener.java37 private final Object mLock = new Object(); field in WakeGestureListener
52 synchronized (mLock) { in isSupported()
58 synchronized (mLock) { in requestWakeUpTrigger()
67 synchronized (mLock) { in cancelWakeUpTrigger()
76 synchronized (mLock) { in dump()
87 synchronized (mLock) {
/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.cpp85 Mutex::Autolock autoLock(mLock); in getFormat()
111 Mutex::Autolock autoLock(mLock); in dequeueAccessUnit()
113 mCondition.wait(mLock); in dequeueAccessUnit()
147 Mutex::Autolock autoLock(mLock); in read()
149 mCondition.wait(mLock); in read()
211 Mutex::Autolock autoLock(mLock); in queueAccessUnit()
232 Mutex::Autolock autoLock(mLock); in clear()
246 Mutex::Autolock autoLock(mLock); in queueDiscontinuity()
281 Mutex::Autolock autoLock(mLock); in signalEOS()
287 Mutex::Autolock autoLock(mLock); in hasBufferAvailable()
[all …]
/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/base/tools/aapt/
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/webview/chromium/java/com/android/webview/chromium/
DWebViewChromiumFactoryProvider.java82 private final Object mLock = new Object(); field in WebViewChromiumFactoryProvider
159 assert Thread.holdsLock(mLock); in ensureChromiumStartedLocked()
181 synchronized (mLock) { in ensureChromiumStartedLocked()
189 mLock.wait(); in ensureChromiumStartedLocked()
197 assert Thread.holdsLock(mLock) && ThreadUtils.runningOnUiThread(); in startChromiumLocked()
201 mLock.notifyAll(); in startChromiumLocked()
274 synchronized (mLock) { in startYourEngines()
281 synchronized (mLock) { in getBrowserContext()
287 assert Thread.holdsLock(mLock); in getBrowserContextLocked()
319 synchronized (mLock) { in getStatics()
[all …]

12345678910>>...16