Home
last modified time | relevance | path

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

12345678910>>...31

/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h131 std::mutex mLock; variable
137 EventEntry* mPendingEvent GUARDED_BY(mLock);
138 Queue<EventEntry> mInboundQueue GUARDED_BY(mLock);
139 Queue<EventEntry> mRecentQueue GUARDED_BY(mLock);
140 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
142 DropReason mLastDropReason GUARDED_BY(mLock);
144 void dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) REQUIRES(mLock);
147 bool enqueueInboundEventLocked(EventEntry* entry) REQUIRES(mLock);
150 void dropInboundEventLocked(EventEntry* entry, DropReason dropReason) REQUIRES(mLock);
153 void addRecentEventLocked(EventEntry* entry) REQUIRES(mLock);
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java77 private final Object mLock = new Object(); field in RemotePrintSpooler
142 synchronized (mLock) { in increasePriority()
147 mLock.wait(); in increasePriority()
165 synchronized (mLock) { in getPrintJobInfos()
178 synchronized (mLock) { in getPrintJobInfos()
180 mLock.notifyAll(); in getPrintJobInfos()
188 synchronized (mLock) { in createPrintJob()
200 synchronized (mLock) { in createPrintJob()
202 mLock.notifyAll(); in createPrintJob()
209 synchronized (mLock) { in writePrintJobData()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
DMMTelFeature.java49 private final Object mLock = new Object(); field in MMTelFeature
60 synchronized (mLock) {
67 synchronized (mLock) {
75 synchronized (mLock) {
82 synchronized (mLock) {
89 synchronized (mLock) {
97 synchronized (mLock) {
105 synchronized (mLock) {
113 synchronized (mLock) {
121 synchronized (mLock) {
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerInfo.h150 std::lock_guard lock(mLock); in setHDRContent()
155 std::lock_guard lock(mLock); in setVisibility()
161 std::lock_guard lock(mLock); in isRecentlyActive()
167 std::lock_guard lock(mLock); in getDesiredRefreshRate()
176 std::lock_guard lock(mLock); in getHDRContent()
181 std::lock_guard lock(mLock); in isVisible()
188 std::lock_guard lock(mLock); in getLastUpdatedTime()
195 std::lock_guard lock(mLock); in clearHistory()
204 mutable std::mutex mLock; variable
205 nsecs_t mLastUpdatedTime GUARDED_BY(mLock) = 0;
[all …]
/frameworks/av/media/libstagefright/foundation/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/av/media/libmediaplayerservice/
DMediaRecorderClient.cpp59 Mutex::Autolock lock(mLock); in setInputSurface()
70 Mutex::Autolock lock(mLock); in querySurfaceMediaSource()
84 Mutex::Autolock lock(mLock); in setCamera()
95 Mutex::Autolock lock(mLock); in setPreviewSurface()
110 Mutex::Autolock lock(mLock); in setVideoSource()
124 Mutex::Autolock lock(mLock); in setAudioSource()
135 Mutex::Autolock lock(mLock); in setOutputFormat()
146 Mutex::Autolock lock(mLock); in setVideoEncoder()
157 Mutex::Autolock lock(mLock); in setAudioEncoder()
168 Mutex::Autolock lock(mLock); in setOutputFile()
[all …]
/frameworks/base/core/java/android/app/
DUiAutomation.java125 private final Object mLock = new Object(); field in UiAutomation
228 synchronized (mLock) { in connect()
247 synchronized (mLock) { in connect()
260 mLock.wait(remainingTimeMillis); in connect()
289 synchronized (mLock) { in disconnect()
316 synchronized (mLock) { in getConnectionId()
340 synchronized (mLock) { in setOnAccessibilityEventListener()
372 synchronized (mLock) { in adoptShellPermissionIdentity()
400 synchronized (mLock) { in adoptShellPermissionIdentity()
419 synchronized (mLock) { in dropShellPermissionIdentity()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp34 Mutex::Autolock _l(mLock); in doOnNewAudioModulesAvailable()
57 Mutex::Autolock _l(mLock); in setDeviceConnectionState()
88 Mutex::Autolock _l(mLock); in handleDeviceConfigChange()
111 Mutex::Autolock _l(mLock); in setPhoneState()
123 Mutex::Autolock _l(mLock); in getPhoneState()
145 Mutex::Autolock _l(mLock); in setForceUse()
172 Mutex::Autolock _l(mLock); in getOutput()
193 Mutex::Autolock _l(mLock); in getOutputForAttr()
244 Mutex::Autolock _l(mLock); in getPlaybackClientAndEffects()
273 Mutex::Autolock _l(mLock); in startOutput()
[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/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java104 synchronized (mLock) { in registerCallback()
131 synchronized (mLock) { in unregisterCallback()
235 mRegistrationCallbackManager = new ImsRegistrationCallbackAdapter(context, mLock); in MmTelFeatureConnection()
236 mCapabilityCallbackManager = new CapabilityCallbackManager(context, mLock); in MmTelFeatureConnection()
237 mProvisioningCallbackManager = new ProvisioningCallbackManager(context, mLock); in MmTelFeatureConnection()
243 synchronized (mLock) { in onRemovedOrDied()
260 synchronized (mLock) { in getConfig()
269 synchronized (mLock) { in getConfig()
282 synchronized (mLock) { in handleImsFeatureCreatedCallback()
305 synchronized (mLock) { in handleImsFeatureRemovedCallback()
[all …]
/frameworks/av/media/libmedia/
Dmediaplayer.cpp94 Mutex::Autolock _l(mLock); in disconnect()
118 Mutex::Autolock _l(mLock); in setListener()
129 Mutex::Autolock _l(mLock); in attachNewPlayer()
209 Mutex::Autolock _l(mLock); in invoke()
224 Mutex::Autolock lock(mLock); in setMetadataFilter()
234 Mutex::Autolock lock(mLock); in getMetadata()
245 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture()
254 Mutex::Autolock _l(mLock); in getBufferingSettings()
265 Mutex::Autolock _l(mLock); in setBufferingSettings()
295 Mutex::Autolock _l(mLock); in prepare()
[all …]
/frameworks/native/services/inputflinger/
DBlockingQueue.h46 std::unique_lock lock(mLock); in pop()
47 android::base::ScopedLockAssertion assumeLock(mLock); in pop()
49 android::base::ScopedLockAssertion assumeLock(mLock); in pop()
65 std::scoped_lock lock(mLock); in push()
76 std::scoped_lock lock(mLock); in erase()
86 std::scoped_lock lock(mLock); in clear()
96 std::scoped_lock lock(mLock); in size()
109 std::mutex mLock; variable
110 std::vector<T> mQueue GUARDED_BY(mLock);
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java44 private final Object mLock = new Object(); field in Tuner
101 synchronized (mLock) { in close()
132 synchronized (mLock) { in setConfiguration()
141 synchronized (mLock) { in getConfiguration()
152 synchronized (mLock) { in setMuted()
166 synchronized (mLock) { in isMuted()
174 synchronized (mLock) { in step()
183 synchronized (mLock) { in scan()
196 synchronized (mLock) { in tune()
205 synchronized (mLock) { in cancel()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java42 private final Object mLock = new Object(); field in TunerSession
73 synchronized (mLock) { in close()
100 synchronized (mLock) { in setConfiguration()
110 synchronized (mLock) { in getConfiguration()
118 synchronized (mLock) { in setMuted()
128 synchronized (mLock) { in isMuted()
136 synchronized (mLock) { in step()
145 synchronized (mLock) { in scan()
154 synchronized (mLock) { in tune()
163 synchronized (mLock) { in cancel()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceHal.java123 private final Object mLock = new Object(); field in SupplicantStaIfaceHal
148 synchronized (mLock) {
166 synchronized (mLock) { in serviceDied()
178 synchronized (mLock) { in serviceDied()
203 synchronized (mLock) { in enableVerboseLogging()
209 synchronized (mLock) { in linkToServiceManagerDeath()
232 synchronized (mLock) { in initialize()
272 synchronized (mLock) { in linkToSupplicantDeath()
289 synchronized (mLock) { in initSupplicantService()
311 synchronized (mLock) { in getCurrentNetworkId()
[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/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.cpp146 Mutex::Autolock autoLock(mLock); in setDataSource()
157 mCondition.wait(mLock); in setDataSource()
165 Mutex::Autolock autoLock(mLock); in setDataSource()
176 mCondition.wait(mLock); in setDataSource()
184 Mutex::Autolock autoLock(mLock); in setDataSource()
195 mCondition.wait(mLock); in setDataSource()
203 Mutex::Autolock autoLock(mLock); in setDataSource()
214 mCondition.wait(mLock); in setDataSource()
223 Mutex::Autolock autoLock(mLock); in setVideoSurfaceTexture()
243 mCondition.wait(mLock); in setVideoSurfaceTexture()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DPersistentConnection.java66 private final Object mLock = new Object(); field in PersistentConnection
121 synchronized (mLock) {
145 synchronized (mLock) {
161 synchronized (mLock) {
216 synchronized (mLock) { in isBound()
225 synchronized (mLock) { in isRebindScheduled()
234 synchronized (mLock) { in isConnected()
243 synchronized (mLock) { in getServiceBinder()
252 synchronized (mLock) { in bind()
261 synchronized (mLock) { in getNextBackoffMs()
[all …]
/frameworks/base/core/java/android/view/
DSurface.java114 final Object mLock = new Object(); // protects the native state field in Surface
224 synchronized (mLock) { in Surface()
233 synchronized (mLock) { in Surface()
256 synchronized (mLock) { in release()
298 synchronized (mLock) { in isValid()
312 synchronized (mLock) { in getGenerationId()
325 synchronized (mLock) { in getNextFrameNumber()
338 synchronized (mLock) { in isConsumerRunningBehind()
364 synchronized (mLock) { in lockCanvas()
385 synchronized (mLock) { in unlockCanvasAndPost()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCardApplication.java64 private final Object mLock = new Object(); field in UiccCardApplication
134 synchronized (mLock) { in update()
189 synchronized (mLock) { in dispose()
247 synchronized (mLock) { in onQueryFdnEnabled()
272 synchronized (mLock) { in onChangeFdnDone()
302 synchronized (mLock) { in onQueryFacilityLock()
348 synchronized (mLock) { in onChangeFacilityLock()
449 synchronized (mLock) { in registerForReady()
458 synchronized (mLock) { in unregisterForReady()
464 synchronized (mLock) { in registerForDetected()
[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()
69 Mutex::Autolock _l(mLock); in noteResetVideo()
78 Mutex::Autolock _l(mLock); in noteStartAudio()
87 Mutex::Autolock _l(mLock); in noteStopAudio()
105 Mutex::Autolock _l(mLock); in noteResetAudio()
114 Mutex::Autolock _l(mLock); in noteFlashlightOn()
127 Mutex::Autolock _l(mLock); in noteFlashlightOff()
140 Mutex::Autolock _l(mLock); in noteResetFlashlight()
[all …]
/frameworks/av/services/oboeservice/
DAAudioClientTracker.cpp47 [this]()->bool { return mLock.try_lock(); } /* f */, in dump()
60 mLock.unlock(); in dump()
76 std::lock_guard<std::mutex> lock(mLock); in registerClient()
93 std::lock_guard<std::mutex> lock(mLock); in unregisterClient()
98 std::lock_guard<std::mutex> lock(mLock); in getStreamCount()
111 std::lock_guard<std::mutex> lock(mLock); in registerClientStream()
128 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream()
147 std::lock_guard<std::mutex> lock(mLock); in getStreamCount()
153 std::lock_guard<std::mutex> lock(mLock); in registerClientStream()
160 std::lock_guard<std::mutex> lock(mLock); in unregisterClientStream()
[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/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCommandQueue.java129 private final Object mLock = new Object(); field in CommandQueue
309 synchronized (mLock) { in onDisplayRemoved()
347 synchronized (mLock) { in setIcon()
355 synchronized (mLock) { in removeIcon()
367 synchronized (mLock) { in disable()
425 synchronized (mLock) { in animateExpandNotificationsPanel()
432 synchronized (mLock) { in animateCollapsePanels()
439 synchronized (mLock) { in animateCollapsePanels()
446 synchronized (mLock) { in togglePanel()
453 synchronized (mLock) { in animateExpandSettingsPanel()
[all …]

12345678910>>...31