Home
last modified time | relevance | path

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

12345678910>>...14

/packages/modules/Bluetooth/system/main/shim/
Dstack.cc79 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartEverything() local
172 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() local
205 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsRunning() local
210 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() local
216 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() local
222 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetAcl() local
229 std::lock_guard<std::recursive_mutex> lock(mutex_); in LinkPolicy() local
236 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetBtm() local
242 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetHandler() local
248 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsDumpsysModuleStarted() local
[all …]
/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module.cc86 std::lock_guard<std::recursive_mutex> lock(mutex_); in ~StorageModule() local
105 std::lock_guard<std::recursive_mutex> lock(mutex_); in Modify() local
110 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveDelayed() local
120 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveImmediately() local
142 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() local
151 std::lock_guard<std::recursive_mutex> lock(mutex_); in Start() local
210 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() local
226 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLegacyKey() local
235 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByClassicMacAddress() local
244 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLeIdentityAddress() local
[all …]
Dconfig_cache.cc68 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetPersistentConfigChangedCallback() local
113 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() local
128 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasSection() local
134 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasProperty() local
151 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetProperty() local
181 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetProperty() local
228 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveSection() local
239 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveProperty() local
288 std::lock_guard<std::recursive_mutex> lock(mutex_); in ConvertEncryptOrDecryptKeyIfNeeded() local
325 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveSectionWithProperty() local
[all …]
/packages/modules/Bluetooth/system/gd/os/android/
Dparameter_provider.cc41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
65 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
81 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath() local
91 std::lock_guard<std::mutex> lock(parameter_mutex); in GetBtKeystoreInterface() local
96 std::lock_guard<std::mutex> lock(parameter_mutex); in SetBtKeystoreInterface() local
101 std::lock_guard<std::mutex> lock(parameter_mutex); in IsCommonCriteriaMode() local
106 std::lock_guard<std::mutex> lock(parameter_mutex); in SetCommonCriteriaMode() local
[all …]
/packages/services/Car/cpp/evs/manager/1.1/stats/
DCameraUsageStats.cpp80 AutoMutex lock(mMutex); in framesReceived() local
85 AutoMutex lock(mMutex); in framesReceived() local
92 AutoMutex lock(mMutex); in framesReturned() local
97 AutoMutex lock(mMutex); in framesReturned() local
104 AutoMutex lock(mMutex); in framesIgnored() local
109 AutoMutex lock(mMutex); in framesSkippedToSync() local
114 AutoMutex lock(mMutex); in eventsReceived() local
119 AutoMutex lock(mMutex); in updateNumClients() local
126 AutoMutex lock(mMutex); in getTimeCreated() local
131 AutoMutex lock(mMutex); in getFramesReceived() local
[all …]
DStatsCollector.cpp71 AutoMutex lock(mMutex); in handleMessage() local
93 Mutex::Autolock lock(mMutex); in handleMessage() local
103 AutoMutex lock(mMutex); in handleCollectionEvent() local
170 AutoMutex lock(mMutex); in startCollection() local
186 AutoMutex lock(mMutex); in startCollection() local
213 AutoMutex lock(mMutex); in startCollection() local
229 AutoMutex lock(mMutex); in ~StatsCollector() local
264 AutoMutex lock(mMutex); in startCustomCollection() local
301 Mutex::Autolock lock(mMutex); in stopCustomCollection() local
366 AutoMutex lock(mMutex); in registerClientToMonitor() local
[all …]
/packages/services/Car/cpp/evs/manager/aidl/stats/src/
DCameraUsageStats.cpp75 AutoMutex lock(mMutex); in framesReceived() local
80 AutoMutex lock(mMutex); in framesReceived() local
87 AutoMutex lock(mMutex); in framesReturned() local
92 AutoMutex lock(mMutex); in framesReturned() local
99 AutoMutex lock(mMutex); in framesIgnored() local
104 AutoMutex lock(mMutex); in framesSkippedToSync() local
109 AutoMutex lock(mMutex); in eventsReceived() local
114 AutoMutex lock(mMutex); in updateNumClients() local
121 AutoMutex lock(mMutex); in getTimeCreated() local
126 AutoMutex lock(mMutex); in getFramesReceived() local
[all …]
DStatsCollector.cpp72 AutoMutex lock(mMutex); in handleMessage() local
93 Mutex::Autolock lock(mMutex); in handleMessage() local
103 AutoMutex lock(mMutex); in handleCollectionEvent() local
169 AutoMutex lock(mMutex); in startCollection() local
186 AutoMutex lock(mMutex); in startCollection() local
213 AutoMutex lock(mMutex); in startCollection() local
229 AutoMutex lock(mMutex); in stopCollection() local
269 AutoMutex lock(mMutex); in startCustomCollection() local
304 Mutex::Autolock lock(mMutex); in stopCustomCollection() local
372 AutoMutex lock(mMutex); in registerClientToMonitor() local
[all …]
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/
DEvsGlDisplay.cpp69 std::lock_guard lock(mLock); in EvsGlDisplay() local
86 std::lock_guard lock(mLock); in forceShutdown() local
177 std::lock_guard lock(mLock); in renderFrames() local
191 std::unique_lock lock(mLock); in renderFrames() local
219 std::lock_guard lock(mLock); in renderFrames() local
235 std::lock_guard lock(mLock); in renderFrames() local
275 std::lock_guard lock(mLock); in setDisplayState() local
315 std::lock_guard lock(mLock); in getDisplayState() local
328 std::unique_lock lock(mLock); in getTargetBuffer() local
379 std::unique_lock lock(mLock); in returnTargetBufferForDisplay() local
/packages/services/Car/cpp/evs/support_library/
DStreamHandler.cpp54 unique_lock<mutex> lock(mLock); in shutdown() local
65 lock_guard<mutex> lock(mLock); in startStream() local
82 lock_guard<mutex> lock(mLock); in newDisplayFrameAvailable() local
87 lock_guard<mutex> lock(mLock); in getNewDisplayFrame() local
111 lock_guard<mutex> lock(mLock); in doneWithFrame() local
134 lock_guard<mutex> lock(mLock); in deliverFrame() local
186 lock_guard<mutex> lock(mLock); in attachRenderCallback() local
198 lock_guard<mutex> lock(mLock); in detachRenderCallback() local
212 lock_guard<std::shared_mutex> lock(mAnalyzerLock); in attachAnalyzeCallback() local
221 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
95 lock_guard<mutex> lock(mLockStreamHandler); in releaseStreamHandler() local
118 lock_guard<mutex> lock(mLockDisplay); in openDisplay() local
134 lock_guard<mutex> lock(mLockDisplay); in closeDisplay() local
153 lock_guard<mutex> lock(mLockDisplay); in isDisplayOpened() local
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogPerfService.cpp171 Mutex::Autolock lock(mMutex); in registerDataProcessor() local
181 Mutex::Autolock lock(mMutex); in start() local
232 Mutex::Autolock lock(mMutex); in start() local
260 Mutex::Autolock lock(mMutex); in start() local
269 Mutex::Autolock lock(mMutex); in terminate() local
298 Mutex::Autolock lock(mMutex); in setSystemState() local
307 Mutex::Autolock lock(mMutex); in onCarWatchdogServiceRegistered() local
319 Mutex::Autolock lock(mMutex); in onBootFinished() local
341 Mutex::Autolock lock(mMutex); in onUserStateChange() local
430 Mutex::Autolock lock(mMutex); in onSuspendExit() local
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_sink.cc177 LockGuard lock(g_mutex); in btif_a2dp_sink_init() local
223 LockGuard lock(g_mutex); in btif_a2dp_sink_startup_delayed() local
247 LockGuard lock(g_mutex); in btif_a2dp_sink_start_session_delayed() local
291 LockGuard lock(g_mutex); in btif_a2dp_sink_end_session_delayed() local
303 LockGuard lock(g_mutex); in btif_a2dp_sink_shutdown_delayed() local
316 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup() local
339 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup_delayed() local
347 LockGuard lock(g_mutex); in btif_a2dp_sink_get_sample_rate() local
352 LockGuard lock(g_mutex); in btif_a2dp_sink_get_bits_per_sample() local
357 LockGuard lock(g_mutex); in btif_a2dp_sink_get_channel_count() local
[all …]
/packages/modules/StatsD/statsd/src/config/
DConfigManager.cpp66 lock_guard<mutex> lock(mMutex); in AddListener() local
73 lock_guard <mutex> lock(mMutex); in UpdateConfig() local
119 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() local
124 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() local
130 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() local
139 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() local
144 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() local
150 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() local
161 lock_guard<mutex> lock(mMutex); in SetRestrictedMetricsChangedReceiver() local
169 lock_guard<mutex> lock(mMutex); in RemoveRestrictedMetricsChangedReceiver() local
[all …]
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfpclient.cpp75 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in connection_state_cb() local
90 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in audio_state_cb() local
102 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in vr_cmd_cb() local
115 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in network_state_cb() local
128 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in network_roaming_cb() local
140 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in network_signal_cb() local
152 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in battery_level_cb() local
164 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in current_operator_cb() local
184 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in call_cb() local
197 std::shared_lock<std::shared_mutex> lock(callbacks_mutex); in callsetup_cb() local
[all …]
Dcom_android_bluetooth_hfp.cpp84 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in ConnectionStateCallback() local
99 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AudioStateCallback() local
112 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VoiceRecognitionCallback() local
127 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in AnswerCallCallback() local
142 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in HangupCallCallback() local
158 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in VolumeControlCallback() local
173 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DialCallCallback() local
196 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in DtmfCmdCallback() local
213 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in NoiseReductionCallback() local
229 std::shared_lock<std::shared_timed_mutex> lock(callbacks_mutex); in WbsCallback() local
[all …]
/packages/modules/Bluetooth/system/gd/os/chromeos/
Dparameter_provider.cc41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
66 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
82 std::lock_guard<std::mutex> lock(parameter_mutex); in SyspropsFilePath() local
91 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSyspropsFilePath() local
/packages/modules/Bluetooth/system/gd/os/linux/
Dparameter_provider.cc41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
66 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
82 std::lock_guard<std::mutex> lock(parameter_mutex); in SyspropsFilePath() local
91 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSyspropsFilePath() local
/packages/services/Car/cpp/telemetry/cartelemetryd/src/
DTelemetryServer.cpp59 const std::scoped_lock<std::mutex> lock(mMutex); in setListener() local
66 const std::scoped_lock<std::mutex> lock(mMutex); in clearListener() local
85 const std::scoped_lock<std::mutex> lock(mMutex); in addCarDataIds() local
114 const std::scoped_lock<std::mutex> lock(mMutex); in removeCarDataIds() local
145 const std::scoped_lock<std::mutex> lock(mMutex); in getListener() local
150 const std::scoped_lock<std::mutex> lock(mMutex); in dump() local
157 const std::scoped_lock<std::mutex> lock(mMutex); in addCallback() local
197 const std::scoped_lock<std::mutex> lock(mMutex); in removeCallback() local
232 const std::scoped_lock<std::mutex> lock(mMutex); in writeCarData() local
256 const std::scoped_lock<std::mutex> lock(mMutex); in pushCarDataToListeners() local
[all …]
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp169 Mutex::Autolock lock(mMutex); in terminate() local
174 Mutex::Autolock lock(mMutex); in dump() local
183 Mutex::Autolock lock(mMutex); in notifyCarServiceReady() local
193 Mutex::Autolock lock(mMutex); in notifyPowerPolicyChange() local
204 Mutex::Autolock lock(mMutex); in notifyPowerPolicyDefinition() local
256 Mutex::Autolock lock(mMutex); in getCurrentPowerPolicy() local
289 Mutex::Autolock lock(mMutex); in registerPowerPolicyChangeCallback() local
326 Mutex::Autolock lock(mMutex); in unregisterPowerPolicyChangeCallback() local
366 Mutex::Autolock lock(mMutex); in notifyCarServiceReady() local
421 Mutex::Autolock lock(mMutex); in dump() local
[all …]
/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
73 std::unique_lock lock(mMutex); in waitForPrivateDnsValidation() local
98 std::lock_guard lock(mMutex); in waitForNat64Prefix() local
117 std::lock_guard lock(mMutex); in popDnsHealthResult() local
123 std::lock_guard lock(mMutex); in popDnsHealthResult() local
/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config.cc63 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_has_section() local
73 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_exist() local
83 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_get_int() local
96 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_set_int() local
114 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_int_add_one() local
133 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_get_hex() local
166 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_set_hex() local
196 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_get_str() local
215 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_set_str() local
233 std::unique_lock<std::mutex> lock(config_lock); in device_iot_config_get_bin() local
[all …]
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.cpp47 Mutex::Autolock lock(mMutex); in pollAll() local
69 Mutex::Autolock lock(mMutex); in pollAll() local
80 Mutex::Autolock lock(mMutex); in sendMessageAtTime() local
97 Mutex::Autolock lock(mMutex); in removeMessages() local
103 Mutex::Autolock lock(mMutex); in removeMessages() local
118 Mutex::Autolock lock(mMutex); in pollCache() local
124 Mutex::Autolock lock(mMutex); in pollCache() local
/packages/services/Car/cpp/evs/apps/default/src/
DStreamHandler.cpp111 std::lock_guard lock(mLock); in startStream() local
140 std::unique_lock lock(mLock); in blockingStopStream() local
147 std::lock_guard lock(mLock); in isRunning() local
152 std::lock_guard lock(mLock); in newFrameAvailable() local
157 std::lock_guard lock(mLock); in getNewFrame() local
177 std::lock_guard lock(mLock); in doneWithFrame() local
206 std::unique_lock lock(mLock); in deliverFrame() local
241 std::lock_guard<std::mutex> lock(mLock); in notify() local
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.cpp187 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() local
226 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() local
238 lock_guard<std::mutex> lock(mLock); in noteConfigReset() local
244 lock_guard<std::mutex> lock(mLock); in noteLogLost() local
256 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() local
273 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() local
292 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() local
306 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() local
333 lock_guard<std::mutex> lock(mLock); in noteDataDropped() local
353 lock_guard<std::mutex> lock(mLock); in noteMetricsReportSent() local
[all …]

12345678910>>...14