Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 195) sorted by relevance

12345678

/packages/services/Car/cpp/evs/manager/1.1/stats/
DCameraUsageStats.cpp85 AutoMutex lock(mMutex); in framesReceived() local
92 AutoMutex lock(mMutex); in framesReceived() local
100 AutoMutex lock(mMutex); in framesReturned() local
107 AutoMutex lock(mMutex); in framesReturned() local
115 AutoMutex lock(mMutex); in framesIgnored() local
121 AutoMutex lock(mMutex); in framesSkippedToSync() local
127 AutoMutex lock(mMutex); in eventsReceived() local
133 AutoMutex lock(mMutex); in updateNumClients() local
141 AutoMutex lock(mMutex); in getTimeCreated() local
147 AutoMutex lock(mMutex); in getFramesReceived() local
[all …]
DStatsCollector.cpp74 AutoMutex lock(mMutex); in handleMessage() local
95 Mutex::Autolock lock(mMutex); in handleMessage() local
108 AutoMutex lock(mMutex); in handleCollectionEvent() local
179 AutoMutex lock(mMutex); in startCollection() local
198 AutoMutex lock(mMutex); in startCollection() local
225 AutoMutex lock(mMutex); in startCollection() local
242 AutoMutex lock(mMutex); in stopCollection() local
283 AutoMutex lock(mMutex); in startCustomCollection() local
319 Mutex::Autolock lock(mMutex); in stopCustomCollection() local
387 AutoMutex lock(mMutex); in registerClientToMonitor() local
[all …]
/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp58 unique_lock<mutex> lock(mLock); in shutdown() local
70 lock_guard<mutex> lock(mLock); in startStream() local
88 lock_guard<mutex> lock(mLock); in newDisplayFrameAvailable() local
94 lock_guard<mutex> lock(mLock); in getNewDisplayFrame() local
119 lock_guard<mutex> lock(mLock); in doneWithFrame() local
144 lock_guard <mutex> lock(mLock); in deliverFrame() local
197 lock_guard<mutex> lock(mLock); in attachRenderCallback() local
209 lock_guard<mutex> lock(mLock); in detachRenderCallback() local
223 lock_guard<std::shared_mutex> lock(mAnalyzerLock); in attachAnalyzeCallback() local
232 std::unique_lock<std::shared_mutex> lock(mAnalyzerLock); in detachAnalyzeCallback() local
[all …]
DResourceManager.cpp33 lock_guard<mutex> lock(sLockEvs); in getEvsEnumerator() local
41 lock_guard<mutex> lock(sLockSingleton); in getInstance() local
53 lock_guard<mutex> lock(mLockStreamHandler); in obtainStreamHandler() local
97 lock_guard<mutex> lock(mLockStreamHandler); in releaseStreamHandler() local
120 lock_guard<mutex> lock(mLockDisplay); in openDisplay() local
136 lock_guard<mutex> lock(mLockDisplay); in closeDisplay() local
155 lock_guard<mutex> lock(mLockDisplay); in isDisplayOpened() local
/packages/services/Car/service/jni/evs/
DStreamHandler.cpp81 std::lock_guard<std::mutex> lock(mLock); in startStream() local
105 std::lock_guard<std::mutex> lock(mLock); in asyncStopStream() local
138 std::lock_guard<std::mutex> lock(mLock); in blockingStopStream() local
144 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream() local
154 std::lock_guard<std::mutex> lock(mLock); in isRunning() local
160 std::lock_guard<std::mutex> lock(mLock); in doneWithFrame() local
204 std::lock_guard<std::mutex> lock(mLock); in deliverFrame_1_1() local
214 std::lock_guard<std::mutex> lock(mLock); in deliverFrame_1_1() local
235 std::lock_guard<std::mutex> lock(mLock); in notify() local
/packages/modules/DnsResolver/tests/unsolicited_listener/
Dunsolicited_event_listener.cpp39 std::lock_guard lock(mMutex); in onDnsHealthEvent() local
46 std::lock_guard lock(mMutex); in onNat64PrefixEvent() local
60 std::lock_guard lock(mMutex); in onPrivateDnsValidationEvent() local
72 std::unique_lock lock(mMutex); in waitForPrivateDnsValidation() local
97 std::lock_guard lock(mMutex); in waitForNat64Prefix() local
116 std::lock_guard lock(mMutex); in popDnsHealthResult() local
122 std::lock_guard lock(mMutex); in popDnsHealthResult() local
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp145 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() local
183 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() local
195 lock_guard<std::mutex> lock(mLock); in noteConfigReset() local
201 lock_guard<std::mutex> lock(mLock); in noteLogLost() local
213 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() local
230 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() local
249 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() local
262 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() local
278 lock_guard<std::mutex> lock(mLock); in noteDataDropped() local
298 lock_guard<std::mutex> lock(mLock); in noteMetricsReportSent() local
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.cpp45 Mutex::Autolock lock(mMutex); in pollAll() local
67 Mutex::Autolock lock(mMutex); in pollAll() local
78 Mutex::Autolock lock(mMutex); in sendMessageAtTime() local
89 Mutex::Autolock lock(mMutex); in removeMessages() local
95 Mutex::Autolock lock(mMutex); in removeMessages() local
110 Mutex::Autolock lock(mMutex); in pollCache() local
116 Mutex::Autolock lock(mMutex); in pollCache() local
/packages/services/Car/cpp/evs/apps/default/
DStreamHandler.cpp115 std::unique_lock<std::mutex> lock(mLock); in startStream() local
144 std::unique_lock<std::mutex> lock(mLock); in blockingStopStream() local
152 std::unique_lock<std::mutex> lock(mLock); in isRunning() local
158 std::unique_lock<std::mutex> lock(mLock); in newFrameAvailable() local
164 std::unique_lock<std::mutex> lock(mLock); in getNewFrame() local
185 std::unique_lock<std::mutex> lock(mLock); in doneWithFrame() local
221 std::unique_lock <std::mutex> lock(mLock); in deliverFrame_1_1() local
265 std::lock_guard<std::mutex> lock(mLock); in notify() local
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp155 Mutex::Autolock lock(mMutex); in registerDataProcessor() local
165 Mutex::Autolock lock(mMutex); in start() local
205 Mutex::Autolock lock(mMutex); in start() local
231 Mutex::Autolock lock(mMutex); in start() local
240 Mutex::Autolock lock(mMutex); in terminate() local
268 Mutex::Autolock lock(mMutex); in setSystemState() local
277 Mutex::Autolock lock(mMutex); in onBootFinished() local
374 Mutex::Autolock lock(mMutex); in onDump() local
455 Mutex::Autolock lock(mMutex); in startCustomCollection() local
480 Mutex::Autolock lock(mMutex); in endCustomCollection() local
[all …]
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DTelemetryServer.cpp59 const std::scoped_lock<std::mutex> lock(mMutex); in setListener() local
70 const std::scoped_lock<std::mutex> lock(mMutex); in clearListener() local
79 const std::scoped_lock<std::mutex> lock(mMutex); in getListener() local
84 const std::scoped_lock<std::mutex> lock(mMutex); in dump() local
91 const std::scoped_lock<std::mutex> lock(mMutex); in writeCarData() local
111 const std::scoped_lock<std::mutex> lock(mMutex); in pushCarDataToListeners() local
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_hfp.cpp85 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in ConnectionStateCallback() local
100 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AudioStateCallback() local
113 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VoiceRecognitionCallback() local
128 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AnswerCallCallback() local
143 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in HangupCallCallback() local
159 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VolumeControlCallback() local
174 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DialCallCallback() local
198 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DtmfCmdCallback() local
215 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in NoiseReductionCallback() local
231 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in WbsCallback() local
[all …]
/packages/services/Car/cpp/computepipe/runner/graph/
DStreamSetObserver.cpp40 std::lock_guard lock(mStopObservationLock); in startObservingStream() local
63 std::lock_guard lock(mStopObservationLock); in startObservingStream() local
99 std::lock_guard lock(mStopObservationLock); in startObservingStream() local
114 std::lock_guard lock(mStopObservationLock); in stopObservingStream() local
131 std::lock_guard lock(mLock); in startObservingStreams() local
157 std::unique_lock lock(mLock); in stopObservingStreams() local
180 std::lock_guard lock(mLock); in reportStreamClosed() local
DGrpcGraph.cpp73 std::lock_guard lock(mLock); in GetGraphState() local
78 std::lock_guard lock(mLock); in GetStatus() local
83 std::lock_guard lock(mLock); in GetErrorMessage() local
125 std::lock_guard lock(mLock); in handleConfigPhase() local
173 std::lock_guard lock(mLock); in handleExecutionPhase() local
223 std::lock_guard lock(mLock); in handleStopWithFlushPhase() local
266 std::lock_guard lock(mLock); in handleStopImmediatePhase() local
307 std::lock_guard lock(mLock); in handleResetPhase() local
354 std::lock_guard lock(mLock); in StartGraphProfiling() local
443 std::lock_guard lock(mLock); in dispatchGraphTerminationMessage() local
/packages/services/Car/cpp/watchdog/testclient/src/
DWatchdogClient.cpp55 Mutex::Autolock lock(mMutex); in checkIfAlive() local
80 Mutex::Autolock lock(mMutex); in initialize() local
101 Mutex::Autolock lock(mMutex); in finalize() local
114 Mutex::Autolock lock(mMutex); in respondToWatchdog() local
133 Mutex::Autolock lock(mMutex); in becomeInactive() local
160 Mutex::Autolock lock(mMutex); in registerClient() local
175 Mutex::Autolock lock(mMutex); in unregisterClient() local
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp68 lock_guard<mutex> lock(thiz->mMutex); in configReceiverDied() local
102 lock_guard<mutex> lock(thiz->mMutex); in activeConfigChangedReceiverDied() local
135 lock_guard<mutex> lock(mMutex); in AddListener() local
142 lock_guard <mutex> lock(mMutex); in UpdateConfig() local
190 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() local
197 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() local
204 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() local
212 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() local
219 lock_guard <mutex> lock(mMutex); in RemoveConfig() local
251 lock_guard <mutex> lock(mMutex); in RemoveConfigs() local
[all …]
/packages/modules/DnsResolver/tests/dns_metrics_listener/
Ddns_metrics_listener.cpp49 std::lock_guard lock(mMutex); in onNat64PrefixEvent() local
59 std::lock_guard lock(mMutex); in onPrivateDnsValidationEvent() local
72 std::lock_guard lock(mMutex); in onDnsEvent() local
84 std::lock_guard lock(mMutex); in waitForNat64Prefix() local
100 std::unique_lock lock(mMutex); in waitForPrivateDnsValidation() local
126 std::lock_guard lock(mMutex); in popDnsEvent() local
132 std::lock_guard lock(mMutex); in popDnsEvent() local
/packages/services/Car/cpp/evs/sampleDriver/
DEvsGlDisplay.cpp62 std::lock_guard<std::mutex> lock(mAccessLock); in forceShutdown() local
112 std::lock_guard<std::mutex> lock(mAccessLock); in setDisplayState() local
151 std::lock_guard<std::mutex> lock(mAccessLock); in getDisplayState() local
165 std::lock_guard<std::mutex> lock(mAccessLock); in getTargetBuffer() local
251 std::lock_guard<std::mutex> lock(mAccessLock); in returnTargetBufferForDisplay() local
/packages/modules/DnsResolver/
DResolverEventReporter.cpp60 std::lock_guard lock(mMutex); in addDefaultListener() local
76 std::lock_guard lock(mMutex); in handleBinderDied() local
87 std::lock_guard lock(mMutex); in handleUnsolEventBinderDied() local
98 std::lock_guard lock(mMutex); in getListenersImpl() local
104 std::lock_guard lock(mMutex); in getUnsolEventListenersImpl() local
109 std::lock_guard lock(mMutex); in addListenerImpl() local
160 std::lock_guard lock(mMutex); in addUnsolEventListenerImpl() local
/packages/services/Car/cpp/powerpolicy/server/src/
DPowerComponentHandler.cpp37 Mutex::Autolock lock(mMutex); in init() local
45 Mutex::Autolock lock(mMutex); in applyPowerPolicy() local
72 Mutex::Autolock lock(mMutex); in getPowerComponentState() local
86 Mutex::Autolock lock(mMutex); in getAccumulatedPolicy() local
91 Mutex::Autolock lock(mMutex); in dump() local
DCarPowerPolicyServer.cpp229 Mutex::Autolock lock(mMutex); in getCurrentPowerPolicy() local
252 Mutex::Autolock lock(mMutex); in registerPowerPolicyChangeCallback() local
282 Mutex::Autolock lock(mMutex); in unregisterPowerPolicyChangeCallback() local
310 Mutex::Autolock lock(mMutex); in notifyCarServiceReady() local
357 Mutex::Autolock lock(mMutex); in dump() local
414 Mutex::Autolock lock(mMutex); in init() local
443 Mutex::Autolock lock(mMutex); in terminate() local
454 Mutex::Autolock lock(mMutex); in handleBinderDeath() local
466 Mutex::Autolock lock(mMutex); in handleHidlDeath() local
486 if (Mutex::Autolock lock(mMutex); mIsCarServiceInOperation != carServiceInOperation) { in applyPowerPolicy() local
[all …]
/packages/services/Car/tools/keventreader/server/
Deventprovider.cpp30 std::scoped_lock lock(mMutex); in startLoop() local
43 std::scoped_lock lock(mMutex); in registerCallback() local
49 std::scoped_lock lock(mMutex); in unregisterCallback() local
/packages/modules/adb/
Dadb_listeners.cpp115 std::lock_guard<std::mutex> lock(listener_list_mutex); in listener_disconnect() local
127 std::lock_guard<std::mutex> lock(listener_list_mutex); in format_listeners() local
146 std::lock_guard<std::mutex> lock(listener_list_mutex); in remove_listener() local
157 std::lock_guard<std::mutex> lock(listener_list_mutex); in remove_all_listeners() local
170 std::lock_guard<std::mutex> lock(listener_list_mutex); in enable_server_sockets() local
180 std::lock_guard<std::mutex> lock(listener_list_mutex); in close_smartsockets() local
191 std::lock_guard<std::mutex> lock(listener_list_mutex); in install_listener() local
/packages/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.cpp133 std::lock_guard lock(mLock); in setEngineInterface() local
138 std::lock_guard lock(mLock); in setMaxInFlightPackets() local
151 std::lock_guard lock(mLock); in freePacket() local
177 std::lock_guard lock(mLock); in freeAllPackets() local
192 std::lock_guard lock(mLock); in queuePacket() local
251 std::lock_guard<std::mutex> lock(mStateLock); in handleExecutionPhase() local
276 std::lock_guard<std::mutex> lock(mStateLock); in handleStopImmediatePhase() local
313 std::lock_guard<std::mutex> lock(mLock); in clonePacket() local
/packages/modules/adb/daemon/
Dproperty_monitor_test.cpp67 std::lock_guard<std::mutex> lock(output->mutex); in RegisterCallback() local
92 std::lock_guard<std::mutex> lock(output.mutex); in TEST() local
115 std::lock_guard<std::mutex> lock(output.mutex); in TEST() local
126 std::lock_guard<std::mutex> lock(output.mutex); in TEST() local
157 std::lock_guard<std::mutex> lock(output.mutex); in TEST() local
174 std::lock_guard<std::mutex> lock(output.mutex); in TEST() local

12345678