/packages/modules/Bluetooth/system/gd/storage/ |
D | storage_module.cc | 84 std::lock_guard<std::recursive_mutex> lock(mutex_); in ~StorageModule() 103 std::lock_guard<std::recursive_mutex> lock(mutex_); in Modify() 108 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveDelayed() 118 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveImmediately() 141 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() 150 std::lock_guard<std::recursive_mutex> lock(mutex_); in Start() 193 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() 209 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLegacyKey() 218 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByClassicMacAddress() 227 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLeIdentityAddress() [all …]
|
D | config_cache.cc | 70 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetPersistentConfigChangedCallback() 89 std::lock_guard<std::recursive_mutex> my_lock(mutex_); in operator =() 90 std::lock_guard<std::recursive_mutex> others_lock(other.mutex_); in operator =() 103 std::lock_guard<std::recursive_mutex> my_lock(mutex_); in operator ==() 104 std::lock_guard<std::recursive_mutex> others_lock(rhs.mutex_); in operator ==() 115 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() 130 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasSection() 136 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasProperty() 153 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetProperty() 183 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetProperty() [all …]
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | parameter_provider.cc | 41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 65 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 81 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath() 91 std::lock_guard<std::mutex> lock(parameter_mutex); in GetBtKeystoreInterface() 96 std::lock_guard<std::mutex> lock(parameter_mutex); in SetBtKeystoreInterface() 101 std::lock_guard<std::mutex> lock(parameter_mutex); in IsCommonCriteriaMode() 106 std::lock_guard<std::mutex> lock(parameter_mutex); in SetCommonCriteriaMode() [all …]
|
D | wakelock_native_test.cc | 54 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in FulfilPromise() local 64 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in PromiseFutureContext() local 77 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in ~PromiseFutureContext() local 90 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyAcquired() local 97 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyReleased() local 111 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyWakeup() local
|
/packages/modules/DnsResolver/tests/ |
D | doh_frontend.cpp | 45 std::lock_guard guard(mMutex); in startServer() 62 std::lock_guard guard(mMutex); in stopServer() 69 std::lock_guard guard(mMutex); in queries() 78 std::lock_guard guard(mMutex); in connections() 87 std::lock_guard guard(mMutex); in aliveConnections() 96 std::lock_guard guard(mMutex); in resumedConnections() 105 std::lock_guard guard(mMutex); in earlyDataConnections() 114 std::lock_guard guard(mMutex); in clearQueries() 129 std::lock_guard guard(mMutex); in setMaxIdleTimeout() 136 std::lock_guard guard(mMutex); in setMaxBufferSize() [all …]
|
/packages/modules/StatsD/statsd/src/config/ |
D | ConfigManager.cpp | 64 lock_guard<mutex> lock(mMutex); in AddListener() 71 lock_guard <mutex> lock(mMutex); in UpdateConfig() 117 lock_guard<mutex> lock(mMutex); in SetConfigReceiver() 122 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() 128 lock_guard<mutex> lock(mMutex); in RemoveConfigReceiver() 137 lock_guard<mutex> lock(mMutex); in SetActiveConfigsChangedReceiver() 142 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() 148 lock_guard<mutex> lock(mMutex); in RemoveActiveConfigsChangedReceiver() 159 lock_guard<mutex> lock(mMutex); in SetRestrictedMetricsChangedReceiver() 167 lock_guard<mutex> lock(mMutex); in RemoveRestrictedMetricsChangedReceiver() [all …]
|
/packages/modules/Bluetooth/system/common/ |
D | message_loop_thread.cc | 63 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in StartUp() 84 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in DoInThreadDelayed() 102 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 123 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 131 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in GetThreadId() 138 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ToString() 143 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in IsRunning() 155 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in message_loop() 160 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in EnableRealTimeScheduling() 181 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in GetWeakPtr() [all …]
|
D | lru.h | 63 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Clear() 78 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Find() 97 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Get() 114 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in HasKey() 127 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Put() 155 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Remove() 176 std::lock_guard<std::recursive_mutex> lock(lru_mutex_); in Size()
|
/packages/providers/MediaProvider/jni/ |
D | node-inl.h | 105 std::lock_guard<std::recursive_mutex> guard(*lock_); in Exists() 113 std::lock_guard<std::recursive_mutex> guard(*lock_); in CheckTracked() 120 std::lock_guard<std::recursive_mutex> guard(*lock_); in NodeDeleted() 130 std::lock_guard<std::recursive_mutex> guard(*lock_); in NodeCreated() 153 std::lock_guard<std::recursive_mutex> guard(*lock); in Create() 162 std::lock_guard<std::recursive_mutex> guard(*lock); in CreateRoot() 193 std::lock_guard<std::recursive_mutex> guard(*lock_); in Release() 243 std::lock_guard<std::recursive_mutex> guard(*lock_); in SetDeleted() 255 std::lock_guard<std::recursive_mutex> guard(*lock_); in Rename() 296 std::lock_guard<std::recursive_mutex> guard(*lock_); in GetName() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaDataQueue.cpp | 31 std::lock_guard<std::mutex> guard(mMutex); in Add() 41 std::lock_guard<std::mutex> guard(mMutex); in InsertAt() 63 std::lock_guard<std::mutex> guard(mMutex); in Delete() 89 std::lock_guard<std::mutex> guard(mMutex); in Get() 111 std::lock_guard<std::mutex> guard(mMutex); in GetLast() 132 std::lock_guard<std::mutex> guard(mMutex); in GetAt() 150 std::lock_guard<std::mutex> guard(mMutex); in GetCount() 156 std::lock_guard<std::mutex> guard(mMutex); in SetReadPosFirst() 167 std::lock_guard<std::mutex> guard(mMutex); in GetNext()
|
/packages/modules/StatsD/statsd/src/guardrail/ |
D | StatsdStats.cpp | 43 using std::lock_guard; 250 lock_guard<std::mutex> lock(mLock); in noteConfigReceived() 289 lock_guard<std::mutex> lock(mLock); in noteConfigRemoved() 301 lock_guard<std::mutex> lock(mLock); in noteConfigReset() 307 lock_guard<std::mutex> lock(mLock); in noteLogLost() 335 lock_guard<std::mutex> lock(mLock); in noteBatchSocketRead() 363 lock_guard<std::mutex> lock(mLock); in noteBroadcastSent() 380 lock_guard<std::mutex> lock(mLock); in noteActiveStatusChanged() 399 lock_guard<std::mutex> lock(mLock); in noteActivationBroadcastGuardrailHit() 413 lock_guard<std::mutex> lock(mLock); in noteEventQueueOverflow() [all …]
|
/packages/modules/Bluetooth/system/gd/os/host/ |
D | parameter_provider.cc | 42 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 58 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 64 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 80 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 87 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 103 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath() 108 std::lock_guard<std::mutex> lock(parameter_mutex); in SyspropsFilePath() 113 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSyspropsFilePath()
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_host_rootcanal.cc | 103 std::lock_guard<std::mutex> lock(api_mutex_); in registerIncomingPacketCallback() 106 std::lock_guard<std::mutex> incoming_packet_callback_lock(incoming_packet_callback_mutex_); in registerIncomingPacketCallback() 116 std::lock_guard<std::mutex> lock(api_mutex_); in unregisterIncomingPacketCallback() 119 std::lock_guard<std::mutex> incoming_packet_callback_lock(incoming_packet_callback_mutex_); in unregisterIncomingPacketCallback() 126 std::lock_guard<std::mutex> lock(api_mutex_); in sendHciCommand() 135 std::lock_guard<std::mutex> lock(api_mutex_); in sendAclData() 144 std::lock_guard<std::mutex> lock(api_mutex_); in sendScoData() 153 std::lock_guard<std::mutex> lock(api_mutex_); in sendIsoData() 168 std::lock_guard<std::mutex> lock(api_mutex_); in Start() 182 std::lock_guard<std::mutex> lock(api_mutex_); in Stop() [all …]
|
D | hci_hal_host.cc | 228 std::lock_guard<std::mutex> lock(api_mutex_); in registerIncomingPacketCallback() 231 std::lock_guard<std::mutex> incoming_packet_callback_lock(incoming_packet_callback_mutex_); in registerIncomingPacketCallback() 241 std::lock_guard<std::mutex> lock(api_mutex_); in unregisterIncomingPacketCallback() 244 std::lock_guard<std::mutex> incoming_packet_callback_lock(incoming_packet_callback_mutex_); in unregisterIncomingPacketCallback() 251 std::lock_guard<std::mutex> lock(api_mutex_); in sendHciCommand() 260 std::lock_guard<std::mutex> lock(api_mutex_); in sendAclData() 269 std::lock_guard<std::mutex> lock(api_mutex_); in sendScoData() 278 std::lock_guard<std::mutex> lock(api_mutex_); in sendIsoData() 298 std::lock_guard<std::mutex> lock(api_mutex_); in Start() 320 std::lock_guard<std::mutex> lock(api_mutex_); in Stop() [all …]
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.h | 171 std::lock_guard<std::mutex> lock(mMutex); in onConfigUpdated() 184 std::lock_guard<std::mutex> lock(mMutex); in notifyAppUpgrade() 203 std::lock_guard<std::mutex> lock(mMutex); in onStatsdInitCompleted() 209 std::lock_guard<std::mutex> lock(mMutex); in onMatchedLogEvent() 219 std::lock_guard<std::mutex> lock(mMutex); in onMatchedLogEventLost() 224 std::lock_guard<std::mutex> lock(mMutex); in onConditionChanged() 229 std::lock_guard<std::mutex> lock(mMutex); in onSlicedConditionMayChange() 234 std::lock_guard<std::mutex> lock(mMutex); in isConditionSliced() 247 std::lock_guard<std::mutex> lock(mMutex); in onDumpReport() 269 std::lock_guard<std::mutex> lock(mMutex); in clearPastBuckets() [all …]
|
/packages/services/Car/cpp/evs/support_library/ |
D | ResourceManager.cpp | 24 using ::std::lock_guard; 33 lock_guard<mutex> lock(sLockEvs); in getEvsEnumerator() 41 lock_guard<mutex> lock(sLockSingleton); in getInstance() 53 lock_guard<mutex> lock(mLockStreamHandler); in obtainStreamHandler() 95 lock_guard<mutex> lock(mLockStreamHandler); in releaseStreamHandler() 118 lock_guard<mutex> lock(mLockDisplay); in openDisplay() 134 lock_guard<mutex> lock(mLockDisplay); in closeDisplay() 153 lock_guard<mutex> lock(mLockDisplay); in isDisplayOpened()
|
/packages/modules/Bluetooth/system/gd/os/linux/ |
D | parameter_provider.cc | 41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 66 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 82 std::lock_guard<std::mutex> lock(parameter_mutex); in SyspropsFilePath() 91 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSyspropsFilePath()
|
/packages/modules/Bluetooth/system/gd/os/chromeos/ |
D | parameter_provider.cc | 41 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 50 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 56 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 66 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 72 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 82 std::lock_guard<std::mutex> lock(parameter_mutex); in SyspropsFilePath() 91 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSyspropsFilePath()
|
/packages/modules/Bluetooth/system/main/shim/ |
D | stack.cc | 75 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartEverything() 125 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartModuleStack() 151 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() 179 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsRunning() 184 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() 190 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() 196 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetAcl() 204 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetHandler() 210 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsDumpsysModuleStarted() 215 std::lock_guard<std::recursive_mutex> lock(mutex_); in LockForDumpsys()
|
/packages/services/DeviceAsWebcam/jni/ |
D | DeviceAsWebcamServiceManager.cpp | 56 std::lock_guard<std::mutex> l(mSerializationLock); in shouldStartService() 69 std::lock_guard<std::mutex> l(mSerializationLock); in setupServicesAndStartListening() 89 std::lock_guard<std::mutex> l(mSerializationLock); in encodeImage() 101 std::lock_guard<std::mutex> l(mSerializationLock); in setStreamConfig() 111 std::lock_guard<std::mutex> l(mSerializationLock); in startStreaming() 121 std::lock_guard<std::mutex> l(mSerializationLock); in stopStreaming() 131 std::lock_guard<std::mutex> l(mSerializationLock); in returnImage() 141 std::lock_guard<std::mutex> l(mSerializationLock); in stopService() 163 std::lock_guard<std::mutex> l(mSerializationLock); in onDestroy()
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | wakelock_manager.cc | 184 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in SetOsCallouts() local 199 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Acquire() local 225 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Release() local 251 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in CleanUp() local 268 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in GetDumpsysData() local
|
/packages/services/Car/cpp/computepipe/runner/stream_manager/ |
D | PixelStreamManager.cpp | 133 std::lock_guard lock(mLock); in setEngineInterface() 138 std::lock_guard lock(mLock); in setMaxInFlightPackets() 145 std::lock_guard stateLock(mStateLock); in setMaxInFlightPackets() 151 std::lock_guard lock(mLock); in freePacket() 156 std::lock_guard stateLock(mStateLock); in freePacket() 177 std::lock_guard lock(mLock); in freeAllPackets() 192 std::lock_guard lock(mLock); in queuePacket() 196 std::lock_guard stateLock(mStateLock); in queuePacket() 251 std::lock_guard<std::mutex> lock(mStateLock); in handleExecutionPhase() 276 std::lock_guard<std::mutex> lock(mStateLock); in handleStopImmediatePhase() [all …]
|
/packages/modules/Bluetooth/system/test/common/ |
D | mock_functions.cc | 32 std::lock_guard<std::mutex> lock(mutex_); in get_func_call_count() 36 std::lock_guard<std::mutex> lock(mutex_); in inc_func_call_count() 41 std::lock_guard<std::mutex> lock(mutex_); in reset_mock_function_count_map() 46 std::lock_guard<std::mutex> lock(mutex_); in get_func_call_size() 51 std::lock_guard<std::mutex> lock(mutex_); in dump_mock_function_count_map()
|
/packages/modules/StatsD/statsd/src/external/ |
D | StatsPullerManager.cpp | 58 std::lock_guard<std::mutex> _l(mLock); in Pull() 65 std::lock_guard<std::mutex> _l(mLock); in Pull() 141 std::lock_guard<std::mutex> _l(mLock); in SetStatsCompanionService() 155 std::lock_guard<std::mutex> _l(mLock); in RegisterReceiver() 190 std::lock_guard<std::mutex> _l(mLock); in UnRegisterReceiver() 208 std::lock_guard<std::mutex> _l(mLock); in RegisterPullUidProvider() 214 std::lock_guard<std::mutex> _l(mLock); in UnregisterPullUidProvider() 223 std::lock_guard<std::mutex> _l(mLock); in OnAlarmFired() 301 std::lock_guard<std::mutex> _l(mLock); in ForceClearPullerCache() 311 std::lock_guard<std::mutex> _l(mLock); in ClearPullerCacheIfNecessary() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.cpp | 35 std::lock_guard guard(mLock); in recordQuery() 66 std::lock_guard guard(mLock); in markTried() 74 std::lock_guard guard(mLock); in cleanup() 113 std::lock_guard guard(mLock); in getAll() 123 std::lock_guard guard(mLock); in empty() 128 std::lock_guard guard(mLock); in clear() 142 std::lock_guard guard(mLock); in onResponse()
|