/frameworks/native/services/inputflinger/ |
D | InputDispatcher.h | 919 std::mutex mLock; variable 925 EventEntry* mPendingEvent GUARDED_BY(mLock); 926 Queue<EventEntry> mInboundQueue GUARDED_BY(mLock); 927 Queue<EventEntry> mRecentQueue GUARDED_BY(mLock); 928 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock); 930 DropReason mLastDropReason GUARDED_BY(mLock); 932 void dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) REQUIRES(mLock); 935 bool enqueueInboundEventLocked(EventEntry* entry) REQUIRES(mLock); 938 void dropInboundEventLocked(EventEntry* entry, DropReason dropReason) REQUIRES(mLock); 941 void addRecentEventLocked(EventEntry* entry) REQUIRES(mLock); [all …]
|
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/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/native/services/surfaceflinger/Scheduler/ |
D | LayerInfo.h | 119 std::lock_guard lock(mLock); in setHDRContent() 124 std::lock_guard lock(mLock); in setVisibility() 130 std::lock_guard lock(mLock); in isRecentlyActive() 136 std::lock_guard lock(mLock); in getDesiredRefreshRate() 141 std::lock_guard lock(mLock); in getHDRContent() 146 std::lock_guard lock(mLock); in isVisible() 153 std::lock_guard lock(mLock); in getLastUpdatedTime() 160 std::lock_guard lock(mLock); in clearHistory() 168 mutable std::mutex mLock; variable 169 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/base/telephony/java/android/telephony/ims/compat/feature/ |
D | MMTelFeature.java | 50 private final Object mLock = new Object(); field in MMTelFeature 57 synchronized (mLock) { 64 synchronized (mLock) { 72 synchronized (mLock) { 79 synchronized (mLock) { 86 synchronized (mLock) { 94 synchronized (mLock) { 102 synchronized (mLock) { 110 synchronized (mLock) { 118 synchronized (mLock) { [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/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/opt/net/ims/src/java/com/android/ims/ |
D | MmTelFeatureConnection.java | 80 private final Object mLock; field in MmTelFeatureConnection.CallbackAdapterManager 90 mLock = lock; in CallbackAdapterManager() 111 synchronized (mLock) { in CallbackAdapterManager() 132 synchronized (mLock) { in addCallback() 148 synchronized (mLock) { in addCallbackForSubscription() 157 synchronized (mLock) { in removeCallback() 170 synchronized (mLock) { in removeCallbackForSubscription() 178 synchronized (mLock) { in linkCallbackToSubscription() 196 synchronized (mLock) { in unlinkCallbackFromSubscription() 216 synchronized (mLock) { in removeCallbacksForSubscription() [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/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/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/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/av/media/libmediaplayer2/ |
D | MediaPlayer2AudioOutput.cpp | 114 Mutex::Autolock lock(mLock); in bufferSize() 122 Mutex::Autolock lock(mLock); in frameCount() 130 Mutex::Autolock lock(mLock); in channelCount() 138 Mutex::Autolock lock(mLock); in frameSize() 146 Mutex::Autolock lock(mLock); in latency() 154 Mutex::Autolock lock(mLock); in msecsPerFrame() 159 Mutex::Autolock lock(mLock); in getPosition() 167 Mutex::Autolock lock(mLock); in getTimestamp() 183 Mutex::Autolock lock(mLock); in getPlayedOutDurationUs() 228 Mutex::Autolock lock(mLock); in getFramesWritten() [all …]
|
D | mediaplayer2.cpp | 272 Mutex::Autolock _l(mLock); in disconnect() 283 Mutex::Autolock _l(mLock); in disconnect() 298 Mutex::Autolock _l(mLock); in setListener() 308 Mutex::Autolock _l(mLock); in getSrcId() 331 Mutex::Autolock _l(mLock); in setDataSource() 376 Mutex::Autolock _l(mLock); in prepareNextDataSource() 387 Mutex::Autolock _l(mLock); in playNextDataSource() 398 Mutex::Autolock _l(mLock); in invoke() 425 Mutex::Autolock _l(mLock); in setVideoSurfaceTexture() 457 mLock.unlock(); in setVideoSurfaceTexture() [all …]
|
/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/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 49 Mutex::Autolock _l(mLock); in setDeviceConnectionState() 80 Mutex::Autolock _l(mLock); in handleDeviceConfigChange() 103 Mutex::Autolock _l(mLock); in setPhoneState() 115 Mutex::Autolock _l(mLock); in getPhoneState() 137 Mutex::Autolock _l(mLock); in setForceUse() 164 Mutex::Autolock _l(mLock); in getOutput() 185 Mutex::Autolock _l(mLock); in getOutputForAttr() 236 Mutex::Autolock _l(mLock); in getPlaybackClientAndEffects() 265 Mutex::Autolock _l(mLock); in startOutput() 300 Mutex::Autolock _l(mLock); in doStopOutput() [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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaIfaceHal.java | 118 private final Object mLock = new Object(); field in SupplicantStaIfaceHal 143 synchronized (mLock) { 161 synchronized (mLock) { in serviceDied() 173 synchronized (mLock) { in serviceDied() 198 synchronized (mLock) { in enableVerboseLogging() 204 synchronized (mLock) { in linkToServiceManagerDeath() 227 synchronized (mLock) { in initialize() 266 synchronized (mLock) { in linkToSupplicantDeath() 283 synchronized (mLock) { in initSupplicantService() 305 synchronized (mLock) { in getCurrentNetworkId() [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/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDriver.cpp | 145 Mutex::Autolock autoLock(mLock); in setDataSource() 156 mCondition.wait(mLock); in setDataSource() 164 Mutex::Autolock autoLock(mLock); in setDataSource() 175 mCondition.wait(mLock); in setDataSource() 183 Mutex::Autolock autoLock(mLock); in setDataSource() 194 mCondition.wait(mLock); in setDataSource() 202 Mutex::Autolock autoLock(mLock); in setDataSource() 213 mCondition.wait(mLock); in setDataSource() 222 Mutex::Autolock autoLock(mLock); in setVideoSurfaceTexture() 242 mCondition.wait(mLock); in setVideoSurfaceTexture() [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/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/av/media/libstagefright/webm/ |
D | LinkedBlockingQueue.h | 29 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()
|