Home
last modified time | relevance | path

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

12345678910>>...21

/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java70 private final Object mLock = new Object(); field in RemotePrintSpooler
131 synchronized (mLock) { in increasePriority()
136 mLock.wait(); in increasePriority()
154 synchronized (mLock) { in getPrintJobInfos()
169 synchronized (mLock) { in getPrintJobInfos()
171 mLock.notifyAll(); in getPrintJobInfos()
179 synchronized (mLock) { in createPrintJob()
193 synchronized (mLock) { in createPrintJob()
195 mLock.notifyAll(); in createPrintJob()
202 synchronized (mLock) { in writePrintJobData()
[all …]
DPrintManagerService.java101 private final Object mLock = new Object(); field in PrintManagerService.PrintManagerImpl
127 synchronized (mLock) { in print()
150 synchronized (mLock) { in getPrintJobInfos()
175 synchronized (mLock) { in getPrintJobInfo()
197 synchronized (mLock) { in getCustomPrinterIcon()
221 synchronized (mLock) { in cancelPrintJob()
246 synchronized (mLock) { in restartPrintJob()
269 synchronized (mLock) { in getPrintServices()
303 synchronized (mLock) { in setPrintServiceEnabled()
322 synchronized (mLock) { in getPrintServiceRecommendations()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java88 private final Object mLock = new Object(); field in CommandQueue
139 synchronized (mLock) { in setIcon()
147 synchronized (mLock) { in removeIcon()
154 synchronized (mLock) { in disable()
161 synchronized (mLock) { in animateExpandNotificationsPanel()
168 synchronized (mLock) { in animateCollapsePanels()
175 synchronized (mLock) { in animateExpandSettingsPanel()
183 synchronized (mLock) { in setSystemUiVisibility()
198 synchronized (mLock) { in topAppWindowChanged()
207 synchronized (mLock) { in setImeWindowStatus()
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp58 Mutex::Autolock lock(mLock); in setInputSurface()
69 Mutex::Autolock lock(mLock); in querySurfaceMediaSource()
83 Mutex::Autolock lock(mLock); in setCamera()
94 Mutex::Autolock lock(mLock); in setPreviewSurface()
109 Mutex::Autolock lock(mLock); in setVideoSource()
123 Mutex::Autolock lock(mLock); in setAudioSource()
134 Mutex::Autolock lock(mLock); in setOutputFormat()
145 Mutex::Autolock lock(mLock); in setVideoEncoder()
156 Mutex::Autolock lock(mLock); in setAudioEncoder()
167 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
/frameworks/av/include/media/stagefright/foundation/
DMutexed.h107 mLock(from.mLock), in Locked()
123 inline status_t waitForCondition(Condition &cond) { return cond.wait(mLock); } in waitForCondition()
127 return cond.waitRelative(mLock, reltime); in waitForConditionRelative()
137 Mutex &mLock;
162 Mutex mLock; variable
172 : mLock(mParent.mLock), in Locked()
175 mLock.lock(); in Locked()
181 mLock.unlock(); in ~Locked()
189 mLock.unlock(); in unlock()
196 mLock.lock(); in lock()
/frameworks/base/core/java/android/app/
DUiAutomation.java116 private final Object mLock = new Object(); field in UiAutomation
213 synchronized (mLock) { in connect()
229 synchronized (mLock) { in connect()
242 mLock.wait(remainingTimeMillis); in connect()
270 synchronized (mLock) { in disconnect()
294 synchronized (mLock) { in getConnectionId()
317 synchronized (mLock) { in setOnAccessibilityEventListener()
349 synchronized (mLock) { in performGlobalAction()
398 synchronized (mLock) { in getServiceInfo()
424 synchronized (mLock) { in setServiceInfo()
[all …]
/frameworks/base/libs/common_time/
Dcommon_time_server_api.cpp38 AutoMutex _lock(&mLock); in getTimelineID()
43 AutoMutex _lock(&mLock); in getState()
48 AutoMutex _lock(&mLock); in getMasterAddr()
58 AutoMutex _lock(&mLock); in getEstimatedError()
71 AutoMutex _lock(&mLock); in isCommonTimeValid()
81 AutoMutex _lock(&mLock); in getMasterElectionPriority()
87 AutoMutex _lock(&mLock); in setMasterElectionPriority()
98 AutoMutex _lock(&mLock); in getMasterElectionEndpoint()
105 AutoMutex _lock(&mLock); in setMasterElectionEndpoint()
134 AutoMutex _lock(&mLock); in getMasterElectionGroupId()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java45 private final Object mLock = new Object(); field in WifiMetrics
88 synchronized (mLock) { in toString()
100 synchronized (mLock) { in updateFromWifiConfiguration()
194 synchronized (mLock) { in toString()
331 synchronized (mLock) { in startConnectionEvent()
373 synchronized (mLock) { in setConnectionEventRoamType()
384 synchronized (mLock) { in setConnectionScanDetail()
410 synchronized (mLock) { in endConnectionEvent()
490 synchronized (mLock) { in setNumSavedNetworks()
496 synchronized (mLock) { in setNumOpenNetworks()
[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()
140 Mutex::Autolock autoLock(mLock); in setDataSource()
151 mCondition.wait(mLock); in setDataSource()
160 Mutex::Autolock autoLock(mLock); in setVideoSurfaceTexture()
180 mCondition.wait(mLock); in setVideoSurfaceTexture()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp49 Mutex::Autolock _l(mLock); in setDeviceConnectionState()
82 Mutex::Autolock _l(mLock); in setPhoneState()
94 Mutex::Autolock _l(mLock); in getPhoneState()
114 Mutex::Autolock _l(mLock); in setForceUse()
144 Mutex::Autolock _l(mLock); in getOutput()
165 Mutex::Autolock _l(mLock); in getOutputForAttr()
190 Mutex::Autolock _l(mLock); in startOutput()
200 Mutex::Autolock _l(mLock); in startOutput()
226 Mutex::Autolock _l(mLock); in doStopOutput()
236 Mutex::Autolock _l(mLock); in doStopOutput()
[all …]
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteMemoryIntArrayService.java29 private final Object mLock = new Object(); field in RemoteMemoryIntArrayService
39 synchronized (mLock) { in onBind()
50 synchronized (mLock) { in onBind()
57 synchronized (mLock) { in onBind()
64 synchronized (mLock) { in onBind()
75 synchronized (mLock) { in onBind()
86 synchronized (mLock) { in onBind()
97 synchronized (mLock) { in onBind()
108 synchronized (mLock) { in onBind()
/frameworks/av/media/libmedia/
Dmediaplayer.cpp89 Mutex::Autolock _l(mLock); in disconnect()
111 Mutex::Autolock _l(mLock); in setListener()
122 Mutex::Autolock _l(mLock); in attachNewPlayer()
202 Mutex::Autolock _l(mLock); in invoke()
217 Mutex::Autolock lock(mLock); in setMetadataFilter()
227 Mutex::Autolock lock(mLock); in getMetadata()
238 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
266 Mutex::Autolock _l(mLock); in prepare()
280 mSignal.wait(mLock); // wait for prepare done in prepare()
291 Mutex::Autolock _l(mLock); in prepareAsync()
[all …]
/frameworks/av/media/utils/
DBatteryNotifier.cpp35 Mutex::Autolock _l(mLock); in ~BatteryNotifier()
42 Mutex::Autolock _l(mLock); in noteStartVideo()
51 Mutex::Autolock _l(mLock); in noteStopVideo()
66 Mutex::Autolock _l(mLock); in noteResetVideo()
75 Mutex::Autolock _l(mLock); in noteStartAudio()
84 Mutex::Autolock _l(mLock); in noteStopAudio()
99 Mutex::Autolock _l(mLock); in noteResetAudio()
108 Mutex::Autolock _l(mLock); in noteFlashlightOn()
121 Mutex::Autolock _l(mLock); in noteFlashlightOff()
134 Mutex::Autolock _l(mLock); in noteResetFlashlight()
[all …]
/frameworks/base/core/java/android/view/
DSurface.java85 final Object mLock = new Object(); // protects the native state field in Surface
161 synchronized (mLock) { in Surface()
169 synchronized (mLock) { in Surface()
192 synchronized (mLock) { in release()
221 synchronized (mLock) { in isValid()
235 synchronized (mLock) { in getGenerationId()
247 synchronized (mLock) { in getNextFrameNumber()
259 synchronized (mLock) { in isConsumerRunningBehind()
285 synchronized (mLock) { in lockCanvas()
306 synchronized (mLock) { in unlockCanvasAndPost()
[all …]
/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/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCardApplication.java62 private final Object mLock = new Object(); field in UiccCardApplication
119 synchronized (mLock) { in update()
168 synchronized (mLock) { in dispose()
226 synchronized (mLock) { in onQueryFdnEnabled()
251 synchronized (mLock) { in onChangeFdnDone()
281 synchronized (mLock) { in onQueryFacilityLock()
331 synchronized (mLock) { in onChangeFacilityLock()
422 synchronized (mLock) { in registerForReady()
430 synchronized (mLock) { in unregisterForReady()
439 synchronized (mLock) { in registerForLocked()
[all …]
/frameworks/support/design/src/android/support/design/widget/
DSnackbarManager.java44 private final Object mLock; field in SnackbarManager
51 mLock = new Object(); in SnackbarManager()
71 synchronized (mLock) { in show()
103 synchronized (mLock) { in dismiss()
117 synchronized (mLock) { in onDismissed()
133 synchronized (mLock) { in onShown()
141 synchronized (mLock) { in cancelTimeout()
149 synchronized (mLock) { in restoreTimeout()
157 synchronized (mLock) { in isCurrent()
163 synchronized (mLock) { in isCurrentOrNext()
[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/services/camera/libcameraservice/api1/
DCameraClient.cpp163 Mutex::Autolock lock(mLock); in lock()
178 Mutex::Autolock lock(mLock); in unlock()
200 Mutex::Autolock lock(mLock); in connect()
236 Mutex::Autolock lock(mLock); in disconnect()
281 Mutex::Autolock lock(mLock); in setPreviewWindow()
345 Mutex::Autolock lock(mLock); in setPreviewCallbackFlag()
378 Mutex::Autolock lock(mLock); in startCameraMode()
454 Mutex::Autolock lock(mLock); in stopPreview()
469 Mutex::Autolock lock(mLock); in stopRecording()
481 Mutex::Autolock lock(mLock); in releaseRecordingFrame()
[all …]
/frameworks/av/drm/libmediadrm/
DDrm.cpp51 Mutex Drm::mLock; member in android::Drm
290 Mutex::Autolock autoLock(mLock); in isCryptoSchemeSupported()
307 Mutex::Autolock autoLock(mLock); in createPlugin()
327 Mutex::Autolock autoLock(mLock); in destroyPlugin()
344 Mutex::Autolock autoLock(mLock); in openSession()
357 mLock.unlock(); in openSession()
361 mLock.lock(); in openSession()
380 Mutex::Autolock autoLock(mLock); in closeSession()
403 Mutex::Autolock autoLock(mLock); in getKeyRequest()
423 Mutex::Autolock autoLock(mLock); in provideKeyResponse()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java105 private final Object mLock = new Object(); field in Owners
119 synchronized (mLock) { in load()
172 synchronized (mLock) { in getDeviceOwnerPackageName()
178 synchronized (mLock) { in getDeviceOwnerUserId()
185 synchronized (mLock) { in getDeviceOwnerUserIdAndComponent()
195 synchronized (mLock) { in getDeviceOwnerName()
201 synchronized (mLock) { in getDeviceOwnerComponent()
207 synchronized (mLock) { in getDeviceOwnerRemoteBugreportUri()
213 synchronized (mLock) { in getDeviceOwnerRemoteBugreportHash()
223 synchronized (mLock) { in setDeviceOwner()
[all …]
DSecurityLogMonitor.java47 private final Lock mLock = new ReentrantLock(); field in SecurityLogMonitor
86 mLock.lock(); in start()
97 mLock.unlock(); in start()
102 mLock.lock(); in stop()
118 mLock.unlock(); in stop()
127 mLock.lock(); in retrieveLogs()
140 mLock.unlock(); in retrieveLogs()
167 mLock.lockInterruptibly(); in run()
177 mLock.unlock(); in run()
197 mLock.lockInterruptibly(); in notifyDeviceOwnerIfNeeded()
[all …]
/frameworks/av/radio/
DRadio.cpp135 Mutex::Autolock _l(mLock); in detach()
146 Mutex::Autolock _l(mLock); in setConfiguration()
155 Mutex::Autolock _l(mLock); in getConfiguration()
164 Mutex::Autolock _l(mLock); in setMute()
173 Mutex::Autolock _l(mLock); in getMute()
182 Mutex::Autolock _l(mLock); in scan()
191 Mutex::Autolock _l(mLock); in step()
200 Mutex::Autolock _l(mLock); in tune()
209 Mutex::Autolock _l(mLock); in cancel()
218 Mutex::Autolock _l(mLock); in getProgramInformation()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DEphemeralResolverConnection.java52 private final Object mLock = new Object(); field in EphemeralResolverConnection
75 synchronized (mLock) { in getEphemeralResolveInfoList()
76 mLock.notifyAll(); in getEphemeralResolveInfoList()
83 synchronized (mLock) { in dump()
100 synchronized (mLock) { in getRemoteInstanceLazy()
128 mLock.wait(remainingMillis); in bindLocked()
134 mLock.notifyAll(); in bindLocked()
146 synchronized (mLock) { in onServiceConnected()
148 mLock.notifyAll(); in onServiceConnected()
154 synchronized (mLock) { in onServiceDisconnected()

12345678910>>...21