Home
last modified time | relevance | path

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

12345678

/system/bt/main/shim/
Dstack.cc64 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartIdleMode() local
93 std::lock_guard<std::recursive_mutex> lock(mutex_); in StartEverything() local
194 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() local
227 std::lock_guard<std::recursive_mutex> lock(mutex_); in IsRunning() local
232 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() local
238 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetStackManager() local
244 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetAcl() local
251 std::lock_guard<std::recursive_mutex> lock(mutex_); in LinkPolicy() local
258 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetBtm() local
264 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetHandler() local
[all …]
/system/bt/gd/os/android/
Dparameter_provider.cc35 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
44 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
50 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
59 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
66 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
75 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath() local
/system/bt/gd/storage/
Dstorage_module.cc80 std::lock_guard<std::recursive_mutex> lock(mutex_); in ~StorageModule() local
99 std::lock_guard<std::recursive_mutex> lock(mutex_); in Modify() local
104 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetConfigCache() local
109 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetMemoryOnlyConfigCache() local
114 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveDelayed() local
124 std::lock_guard<std::recursive_mutex> lock(mutex_); in SaveImmediately() local
144 std::lock_guard<std::recursive_mutex> lock(mutex_); in Start() local
185 std::lock_guard<std::recursive_mutex> lock(mutex_); in Stop() local
195 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByLegacyKey() local
204 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetDeviceByClassicMacAddress() local
[all …]
Dconfig_cache.cc58 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetPersistentConfigChangedCallback() local
100 std::lock_guard<std::recursive_mutex> lock(mutex_); in Clear() local
115 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasSection() local
121 std::lock_guard<std::recursive_mutex> lock(mutex_); in HasProperty() local
138 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetProperty() local
164 std::lock_guard<std::recursive_mutex> lock(mutex_); in SetProperty() local
203 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveSection() local
214 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveProperty() local
267 std::lock_guard<std::recursive_mutex> lock(mutex_); in RemoveSectionWithProperty() local
294 std::lock_guard<std::recursive_mutex> lock(mutex_); in GetPersistentSections() local
[all …]
/system/bt/service/
Da2dp_sink.cc44 std::lock_guard<std::mutex> lock(delegate_mutex_); in SetDelegate() local
49 std::lock_guard<std::mutex> lock(mutex_); in Enable() local
54 std::lock_guard<std::mutex> lock(mutex_); in Disable() local
59 std::lock_guard<std::mutex> lock(mutex_); in Connect() local
78 std::lock_guard<std::mutex> lock(mutex_); in Disconnect() local
97 std::lock_guard<std::mutex> lock(mutex_); in SetAudioFocusState() local
104 std::lock_guard<std::mutex> lock(mutex_); in SetAudioTrackGain() local
114 std::lock_guard<std::mutex> lock(delegate_mutex_); in ConnectionStateCallback() local
124 std::lock_guard<std::mutex> lock(delegate_mutex_); in AudioStateCallback() local
135 std::lock_guard<std::mutex> lock(delegate_mutex_); in AudioConfigCallback() local
Davrcp_target.cc113 LockGuard lock(delegate_mutex_); in SetDelegate() local
118 LockGuard lock(mutex_); in Enable() local
123 LockGuard lock(mutex_); in Disable() local
131 LockGuard lock(mutex_); in GetPlayStatusResponse() local
149 LockGuard lock(mutex_); in ListPlayerAppAttrResponse() local
172 LockGuard lock(mutex_); in GetPlayerAppValueResponse() local
183 LockGuard lock(mutex_); in GetPlayerAppAttrTextResponse() local
195 LockGuard lock(mutex_); in GetPlayerAppValueTextResponse() local
207 LockGuard lock(mutex_); in GetElementAttrResponse() local
218 LockGuard lock(mutex_); in SetPlayerAppValueResponse() local
[all …]
Davrcp_control.cc48 std::lock_guard<std::mutex> lock(delegate_mutex_); in SetDelegate() local
53 std::lock_guard<std::mutex> lock(mutex_); in Enable() local
58 std::lock_guard<std::mutex> lock(mutex_); in Disable() local
73 std::lock_guard<std::mutex> lock(mutex_); in SendPassThroughCommand() local
96 std::lock_guard<std::mutex> lock(mutex_); in SetAbsVolumeResponse() local
120 std::lock_guard<std::mutex> lock(mutex_); in RegisterForAbsVolumeCallbackResponse() local
139 std::lock_guard<std::mutex> lock(delegate_mutex_); in ConnectionStateCallback() local
147 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlSetabsvolCmdCallback() local
155 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlRegisternotificationAbsVolCallback() local
211 std::lock_guard<std::mutex> lock(delegate_mutex_); in CtrlTrackChangedCallback() local
Da2dp_source.cc120 LockGuard lock(delegate_mutex_); in SetDelegate() local
126 LockGuard lock(mutex_); in Enable() local
132 LockGuard lock(mutex_); in Disable() local
138 LockGuard lock(mutex_); in Connect() local
146 LockGuard lock(mutex_); in Disconnect() local
157 LockGuard lock(mutex_); in ConfigCodec() local
168 LockGuard lock(delegate_mutex_); in ConnectionStateCallback() local
177 LockGuard lock(delegate_mutex_); in AudioStateCallback() local
195 LockGuard lock(delegate_mutex_); in AudioConfigCallback() local
204 LockGuard lock(delegate_mutex_); in MandatoryCodecPreferredCallback() local
/system/bt/gd/os/host/
Dparameter_provider.cc40 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
54 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
60 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
74 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
81 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
95 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoozLogFilePath() local
Dsystem_properties.cc32 std::lock_guard<std::mutex> lock(properties_mutex); in GetSystemProperty() local
41 std::lock_guard<std::mutex> lock(properties_mutex); in SetSystemProperty() local
47 std::lock_guard<std::mutex> lock(properties_mutex); in ClearSystemPropertiesForHost() local
/system/bt/gd/os/linux/
Dparameter_provider.cc40 std::lock_guard<std::mutex> lock(parameter_mutex); in ConfigFilePath() local
49 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideConfigFilePath() local
55 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoopLogFilePath() local
65 std::lock_guard<std::mutex> lock(parameter_mutex); in OverrideSnoopLogFilePath() local
71 std::lock_guard<std::mutex> lock(parameter_mutex); in SnoozLogFilePath() local
Dsystem_properties.cc32 std::lock_guard<std::mutex> lock(properties_mutex); in GetSystemProperty() local
41 std::lock_guard<std::mutex> lock(properties_mutex); in SetSystemProperty() local
47 std::lock_guard<std::mutex> lock(properties_mutex); in ClearSystemPropertiesForHost() local
/system/bt/btif/src/
Dbtif_a2dp_sink.cc173 LockGuard lock(g_mutex); in btif_a2dp_sink_init() local
217 LockGuard lock(g_mutex); in btif_a2dp_sink_startup_delayed() local
239 LockGuard lock(g_mutex); in btif_a2dp_sink_start_session_delayed() local
281 LockGuard lock(g_mutex); in btif_a2dp_sink_end_session_delayed() local
293 LockGuard lock(g_mutex); in btif_a2dp_sink_shutdown_delayed() local
306 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup() local
329 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup_delayed() local
337 LockGuard lock(g_mutex); in btif_a2dp_sink_get_sample_rate() local
342 LockGuard lock(g_mutex); in btif_a2dp_sink_get_bits_per_sample() local
347 LockGuard lock(g_mutex); in btif_a2dp_sink_get_channel_count() local
[all …]
/system/bt/service/ipc/binder/
Dbluetooth_a2dp_sink_binder_server.cc51 std::lock_guard<std::mutex> lock(*maps_lock()); in Enable() local
70 std::lock_guard<std::mutex> lock(*maps_lock()); in Disable() local
85 std::lock_guard<std::mutex> lock(*maps_lock()); in Connect() local
105 std::lock_guard<std::mutex> lock(*maps_lock()); in Disconnect() local
125 std::lock_guard<std::mutex> lock(*maps_lock()); in SetAudioFocusState() local
140 std::lock_guard<std::mutex> lock(*maps_lock()); in SetAudioTrackGain() local
155 std::lock_guard<std::mutex> lock(*maps_lock()); in OnConnectionState() local
167 std::lock_guard<std::mutex> lock(*maps_lock()); in OnAudioState() local
180 std::lock_guard<std::mutex> lock(*maps_lock()); in OnAudioConfig() local
/system/netd/server/
DEventReporter.cpp24 std::lock_guard lock(mEventMutex); in getNetdEventListener() local
42 std::lock_guard lock(mUnsolicitedMutex); in getNetdUnsolicitedEventListenerMap() local
48 std::lock_guard lock(mUnsolicitedMutex); in registerUnsolEventListener() local
76 std::lock_guard lock(mUnsolicitedMutex); in unregisterUnsolEventListener() local
/system/bt/service/hal/
Dbluetooth_avrcp_interface.cc71 shared_lock<shared_mutex_impl> lock(g_instance_lock); in RemoteFeaturesCallback() local
80 shared_lock<shared_mutex_impl> lock(g_instance_lock); in GetPlayStatusCallback() local
89 shared_lock<shared_mutex_impl> lock(g_instance_lock); in ListPlayerAppAttrCallback() local
99 shared_lock<shared_mutex_impl> lock(g_instance_lock); in ListPlayerAppValuesCallback() local
109 shared_lock<shared_mutex_impl> lock(g_instance_lock); in GetPlayerAppValueCallback() local
120 shared_lock<shared_mutex_impl> lock(g_instance_lock); in GetPlayerAppAttrsTextCallback() local
131 shared_lock<shared_mutex_impl> lock(g_instance_lock); in GetPlayerAppValuesTextCallback() local
141 shared_lock<shared_mutex_impl> lock(g_instance_lock); in SetPlayerAppValueCallback() local
151 shared_lock<shared_mutex_impl> lock(g_instance_lock); in GetElementAttrCallback() local
161 shared_lock<shared_mutex_impl> lock(g_instance_lock); in RegisterNotificationCallback() local
[all …]
Dbluetooth_interface.cc72 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AdapterStateChangedCallback() local
80 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AdapterPropertiesCallback() local
92 shared_lock<shared_mutex_impl> lock(g_instance_lock); in RemoteDevicePropertiesCallback() local
103 shared_lock<shared_mutex_impl> lock(g_instance_lock); in DeviceFoundCallback() local
110 shared_lock<shared_mutex_impl> lock(g_instance_lock); in DiscoveryStateChangedCallback() local
118 shared_lock<shared_mutex_impl> lock(g_instance_lock); in PinRequestCallback() local
130 shared_lock<shared_mutex_impl> lock(g_instance_lock); in SSPRequestCallback() local
141 shared_lock<shared_mutex_impl> lock(g_instance_lock); in BondStateChangedCallback() local
151 shared_lock<shared_mutex_impl> lock(g_instance_lock); in AclStateChangedCallback() local
199 shared_lock<shared_mutex_impl> lock(g_instance_lock); in LinkQualityReportCallback() local
[all …]
/system/chre/platform/shared/
Ddram_vote_client.cc29 LockGuard<Mutex> lock(mMutex); in voteDramAccess() local
40 LockGuard<Mutex> lock(mMutex); in incrementDramVoteCount() local
61 LockGuard<Mutex> lock(mMutex); in decrementDramVoteCount() local
/system/bt/common/
Dmetric_id_allocator.cc51 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Init() local
91 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Close() local
108 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in IsEmpty() local
115 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in AllocateId() local
148 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in SaveDevice() local
178 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in ForgetDevice() local
/system/bt/gd/common/
Dmetric_id_manager.cc54 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Init() local
97 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in Close() local
114 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in IsEmpty() local
121 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in AllocateId() local
155 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in SaveDevice() local
183 std::lock_guard<std::mutex> lock(id_allocator_mutex_); in ForgetDevice() local
/system/bt/gd/os/linux_generic/
Dhandler.cc47 std::lock_guard<std::mutex> lock(mutex_); in ~Handler() local
58 std::lock_guard<std::mutex> lock(mutex_); in Post() local
73 std::lock_guard<std::mutex> lock(mutex_); in Clear() local
95 std::lock_guard<std::mutex> lock(mutex_); in handle_next_event() local
/system/bt/osi/src/
Dallocation_tracker.cc53 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_init() local
66 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_uninit() local
74 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_reset() local
81 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_expect_no_allocations() local
103 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_notify_alloc() local
137 std::unique_lock<std::mutex> lock(tracker_lock); in allocation_tracker_notify_free() local
179 std::unique_lock<std::mutex> lock(tracker_lock); in osi_allocator_debug_dump() local
Dfixed_queue.cc99 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_is_empty() local
106 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_length() local
123 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_enqueue() local
137 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_dequeue() local
154 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_enqueue() local
169 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_dequeue() local
182 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_first() local
189 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_peek_last() local
198 std::lock_guard<std::mutex> lock(*queue->mutex); in fixed_queue_try_remove_from_queue() local
/system/chre/platform/linux/
Dplatform_log.cc32 std::unique_lock<std::mutex> lock(mMutex); in logLooper() local
62 std::unique_lock<std::mutex> lock(mMutex); in ~PlatformLog() local
76 std::unique_lock<std::mutex> lock(mMutex); in logVa() local
/system/chre/util/tests/
Dconditional_lock_guard_test.cc27 void lock() { in lock() function in MockMutex
48 ConditionalLockGuard<MockMutex> lock(mutex, true); in TEST() local
60 ConditionalLockGuard<MockMutex> lock(mutex, false); in TEST() local

12345678