/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.h | 131 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/ |
D | RemotePrintSpooler.java | 77 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/ |
D | MMTelFeature.java | 49 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/ |
D | LayerInfo.h | 150 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/ |
D | Mutexed.h | 107 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/ |
D | MediaRecorderClient.cpp | 59 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/ |
D | UiAutomation.java | 125 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/ |
D | AudioPolicyInterfaceImpl.cpp | 34 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/ |
D | RemoteMemoryIntArrayService.java | 29 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/ |
D | MmTelFeatureConnection.java | 104 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/ |
D | mediaplayer.cpp | 94 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/ |
D | BlockingQueue.h | 46 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/ |
D | Tuner.java | 44 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/ |
D | TunerSession.java | 42 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/ |
D | SupplicantStaIfaceHal.java | 123 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/ |
D | SessionMap.h | 37 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/ |
D | CloseableLock.java | 58 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/ |
D | NuPlayerDriver.cpp | 146 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/ |
D | PersistentConnection.java | 66 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/ |
D | Surface.java | 114 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/ |
D | UiccCardApplication.java | 64 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/ |
D | BatteryNotifier.cpp | 35 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/ |
D | AAudioClientTracker.cpp | 47 [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/ |
D | CursorToBulkCursorAdaptor.java | 38 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/ |
D | CommandQueue.java | 129 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 …]
|