/system/bt/gd/os/android/ |
D | parameter_provider.cc | 35 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 44 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 50 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 59 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 66 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 75 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath()
|
D | wakelock_native_test.cc | 54 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in FulfilPromise() local 63 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in PromiseFutureContext() local 76 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in ~PromiseFutureContext() local 89 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyAcquired() local 96 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyReleased() local 109 std::lock_guard<std::recursive_mutex> lock_guard(mutex); in notifyWakeup() local
|
/system/bt/service/ |
D | a2dp_sink.cc | 44 std::lock_guard<std::mutex> lock(delegate_mutex_); in SetDelegate() 49 std::lock_guard<std::mutex> lock(mutex_); in Enable() 54 std::lock_guard<std::mutex> lock(mutex_); in Disable() 59 std::lock_guard<std::mutex> lock(mutex_); in Connect() 78 std::lock_guard<std::mutex> lock(mutex_); in Disconnect() 97 std::lock_guard<std::mutex> lock(mutex_); in SetAudioFocusState() 104 std::lock_guard<std::mutex> lock(mutex_); in SetAudioTrackGain() 114 std::lock_guard<std::mutex> lock(delegate_mutex_); in ConnectionStateCallback() 124 std::lock_guard<std::mutex> lock(delegate_mutex_); in AudioStateCallback() 135 std::lock_guard<std::mutex> lock(delegate_mutex_); in AudioConfigCallback()
|
D | avrcp_control.cc | 48 std::lock_guard<std::mutex> lock(delegate_mutex_); in SetDelegate() 53 std::lock_guard<std::mutex> lock(mutex_); in Enable() 58 std::lock_guard<std::mutex> lock(mutex_); in Disable() 73 std::lock_guard<std::mutex> lock(mutex_); in SendPassThroughCommand() 96 std::lock_guard<std::mutex> lock(mutex_); in SetAbsVolumeResponse() 120 std::lock_guard<std::mutex> lock(mutex_); in RegisterForAbsVolumeCallbackResponse() 139 std::lock_guard<std::mutex> lock(delegate_mutex_); in ConnectionStateCallback() 147 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlSetabsvolCmdCallback() 155 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlRegisternotificationAbsVolCallback() 211 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlTrackChangedCallback()
|
D | low_energy_client.cc | 27 using std::lock_guard; 81 lock_guard<mutex> lock(connection_fields_lock_); in Disconnect() 108 lock_guard<mutex> lock(connection_fields_lock_); in SetMtu() 128 lock_guard<mutex> lock(delegate_mutex_); in SetDelegate() 146 lock_guard<mutex> lock(connection_fields_lock_); in ConnectCallback() 165 lock_guard<mutex> lock(connection_fields_lock_); in DisconnectCallback() 183 lock_guard<mutex> lock(connection_fields_lock_); in MtuChangedCallback() 213 lock_guard<mutex> lock(pending_calls_lock_); in RegisterInstance() 238 lock_guard<mutex> lock(pending_calls_lock_); in RegisterClientCallback()
|
D | adapter.cc | 41 using std::lock_guard; 221 lock_guard<mutex> lock(observers_lock_); in AddObserver() 226 lock_guard<mutex> lock(observers_lock_); in RemoveObserver() 391 lock_guard<mutex> lock(local_le_features_lock_); in IsMultiAdvertisementSupported() 396 lock_guard<mutex> lock(connected_devices_lock_); in IsDeviceConnected() 401 lock_guard<mutex> lock(local_le_features_lock_); in GetTotalNumberOfTrackableAdvertisements() 406 lock_guard<mutex> lock(local_le_features_lock_); in IsOffloadedFilteringSupported() 411 lock_guard<mutex> lock(local_le_features_lock_); in IsOffloadedScanBatchingSupported() 534 lock_guard<mutex> lock(observers_lock_); in AdapterPropertiesCallback() 563 lock_guard<mutex> lock(local_le_features_lock_); in AdapterPropertiesCallback() [all …]
|
/system/bt/gd/os/linux/ |
D | parameter_provider.cc | 40 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 49 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 55 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 65 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 71 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath()
|
D | system_properties.cc | 32 std::lock_guard<std::mutex> lock(properties_mutex); in GetSystemProperty() 41 std::lock_guard<std::mutex> lock(properties_mutex); in SetSystemProperty() 47 std::lock_guard<std::mutex> lock(properties_mutex); in ClearSystemPropertiesForHost()
|
/system/bt/gd/os/host/ |
D | parameter_provider.cc | 40 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() 54 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() 60 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() 74 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() 81 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() 95 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath()
|
D | system_properties.cc | 32 std::lock_guard<std::mutex> lock(properties_mutex); in GetSystemProperty() 41 std::lock_guard<std::mutex> lock(properties_mutex); in SetSystemProperty() 47 std::lock_guard<std::mutex> lock(properties_mutex); in ClearSystemPropertiesForHost()
|
/system/bt/common/ |
D | message_loop_thread.cc | 66 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in StartUp() 86 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in DoInThreadDelayed() 125 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 151 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 159 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in GetThreadId() 168 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ToString() 173 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in IsRunning() 187 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in message_loop() 192 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in EnableRealTimeScheduling() 213 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()
|
D | leaky_bonded_queue.h | 104 std::lock_guard<std::mutex> lock(lock_); in Enqueue() 114 std::lock_guard<std::mutex> lock(lock_); in EnqueueWithPop() 128 std::lock_guard<std::mutex> lock(lock_); in Dequeue() 136 std::lock_guard<std::mutex> lock(lock_); in Clear() 145 std::lock_guard<std::mutex> lock(lock_); in Length() 156 std::lock_guard<std::mutex> lock(lock_); in Empty()
|
D | address_obfuscator.cc | 37 std::lock_guard<std::recursive_mutex> lock(instance_mutex_); in Initialize() 42 std::lock_guard<std::recursive_mutex> lock(instance_mutex_); in IsInitialized() 47 std::lock_guard<std::recursive_mutex> lock(instance_mutex_); in Obfuscate()
|
/system/bt/test/mock/ |
D | mock_common_message_loop_thread.cc | 66 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in StartUp() 86 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in DoInThreadDelayed() 125 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 151 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ShutDown() 159 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in GetThreadId() 166 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in ToString() 171 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in IsRunning() 185 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in message_loop() 190 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in EnableRealTimeScheduling() 211 std::lock_guard<std::recursive_mutex> api_lock(api_mutex_); in GetWeakPtr() [all …]
|
/system/bt/gd/storage/ |
D | storage_module.cc | 80 std::lock_guard<std::recursive_mutex> lock(mutex_); in ~StorageModule() 99 std::lock_guard<std::recursive_mutex> lock(mutex_); in Modify() 104 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetConfigCache() 109 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetMemoryOnlyConfigCache() 114 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveDelayed() 124 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveImmediately() 144 std::lock_guard<std::recursive_mutex> lock(mutex_); in Start() 185 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() 195 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLegacyKey() 204 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByClassicMacAddress() [all …]
|
D | config_cache.cc | 58 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetPersistentConfigChangedCallback() 76 std::lock_guard<std::recursive_mutex> my_lock(mutex_); in operator =() 77 std::lock_guard<std::recursive_mutex> others_lock(other.mutex_); in operator =() 88 std::lock_guard<std::recursive_mutex> my_lock(mutex_); in operator ==() 89 std::lock_guard<std::recursive_mutex> others_lock(rhs.mutex_); in operator ==() 100 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() 115 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasSection() 121 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasProperty() 138 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetProperty() 164 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetProperty() [all …]
|
/system/bt/gd/os/linux_generic/ |
D | wakelock_manager.cc | 182 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in SetOsCallouts() local 196 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Acquire() local 222 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Release() local 248 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in CleanUp() local 265 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in GetDumpsysData() local
|
/system/bt/main/shim/ |
D | stack.cc | 64 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartIdleMode() 93 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartEverything() 194 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() 227 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsRunning() 232 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() 238 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() 244 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetAcl() 251 std::lock_guard<std::recursive_mutex> lock(mutex_); in LinkPolicy() 258 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetBtm() 264 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetHandler() [all …]
|
/system/bt/service/ipc/binder/ |
D | bluetooth_a2dp_sink_binder_server.cc | 51 std::lock_guard<std::mutex> lock(*maps_lock()); in Enable() 70 std::lock_guard<std::mutex> lock(*maps_lock()); in Disable() 85 std::lock_guard<std::mutex> lock(*maps_lock()); in Connect() 105 std::lock_guard<std::mutex> lock(*maps_lock()); in Disconnect() 125 std::lock_guard<std::mutex> lock(*maps_lock()); in SetAudioFocusState() 140 std::lock_guard<std::mutex> lock(*maps_lock()); in SetAudioTrackGain() 155 std::lock_guard<std::mutex> lock(*maps_lock()); in OnConnectionState() 167 std::lock_guard<std::mutex> lock(*maps_lock()); in OnAudioState() 180 std::lock_guard<std::mutex> lock(*maps_lock()); in OnAudioConfig()
|
D | bluetooth_gatt_server_binder_server.cc | 69 std::lock_guard<std::mutex> lock(*maps_lock()); in AddService() 89 std::lock_guard<std::mutex> lock(*maps_lock()); in AddService() 114 std::lock_guard<std::mutex> lock(*maps_lock()); in SendResponse() 134 std::lock_guard<std::mutex> lock(*maps_lock()); in SendNotification() 153 std::lock_guard<std::mutex> lock(*maps_lock()); in SendNotification() 180 std::lock_guard<std::mutex> lock(*maps_lock()); in OnCharacteristicReadRequest() 197 std::lock_guard<std::mutex> lock(*maps_lock()); in OnDescriptorReadRequest() 244 std::lock_guard<std::mutex> lock(*maps_lock()); in OnCharacteristicWriteRequest() 262 std::lock_guard<std::mutex> lock(*maps_lock()); in OnDescriptorWriteRequest() 279 std::lock_guard<std::mutex> lock(*maps_lock()); in OnExecuteWriteRequest() [all …]
|
/system/core/init/ |
D | action_manager.cpp | 44 auto lock = std::lock_guard{event_queue_lock_}; in QueueEventTrigger() 49 auto lock = std::lock_guard{event_queue_lock_}; in QueuePropertyChange() 58 auto lock = std::lock_guard{event_queue_lock_}; in QueueBuiltinAction() 69 auto lock = std::lock_guard{event_queue_lock_}; in ExecuteOneCommand() 112 auto lock = std::lock_guard{event_queue_lock_}; in HasMoreCommands() 123 auto lock = std::lock_guard{event_queue_lock_}; in ClearQueue()
|
/system/netd/server/ |
D | EventReporter.cpp | 24 std::lock_guard lock(mEventMutex); in getNetdEventListener() 42 std::lock_guard lock(mUnsolicitedMutex); in getNetdUnsolicitedEventListenerMap() 48 std::lock_guard lock(mUnsolicitedMutex); in registerUnsolEventListener() 76 std::lock_guard lock(mUnsolicitedMutex); in unregisterUnsolEventListener()
|
/system/bt/osi/src/ |
D | fixed_queue.cc | 99 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_is_empty() 106 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_length() 123 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_enqueue() 137 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_dequeue() 154 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_enqueue() 169 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_dequeue() 182 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_first() 189 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_last() 198 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_remove_from_queue()
|
/system/bt/gd/common/ |
D | metric_id_manager.cc | 54 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Init() 97 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Close() 114 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in IsEmpty() 121 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in AllocateId() 155 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in SaveDevice() 183 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in ForgetDevice()
|