/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/test/fake/ |
D | fake_thread.h | 40 std::mutex mutex_; 42 std::lock_guard<decltype(mutex_)> lock(mutex_); in notify() 48 std::unique_lock<decltype(mutex_)> lock(mutex_); in wait() 55 std::lock_guard<decltype(mutex_)> lock(mutex_); in try_wait()
|
D | fake_looper.cc | 69 std::lock_guard<std::mutex> lock(thread->work_queue_semaphore.mutex_); in run_message_loop() 76 std::lock_guard<std::mutex> lock(thread->work_queue_semaphore.mutex_); in run_message_loop() 90 std::lock_guard<std::mutex> lock(thread->work_queue_semaphore.mutex_); in run_message_loop() 96 std::lock_guard<std::mutex> lock(thread->work_queue_semaphore.mutex_); in run_message_loop()
|
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/ |
D | pdf_document_jni.cc | 57 std::mutex mutex_; variable 74 std::unique_lock<std::mutex> lock(mutex_); in JNI_OnLoad() 82 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_createFromFd() 102 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_destroy() 112 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_saveToFd() 122 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_getPageDimensions() 136 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_getPageWidth() 145 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_getPageHeight() 155 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_render() 194 std::unique_lock<std::mutex> lock(mutex_); in Java_android_graphics_pdf_PdfDocumentProxy_cloneWithoutSecurity() [all …]
|
/packages/modules/Bluetooth/system/test/common/ |
D | mock_functions.cc | 24 std::mutex mutex_{}; variable 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/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/modules/Bluetooth/system/gd/common/ |
D | blocking_queue.h | 31 std::unique_lock<std::mutex> lock(mutex_); in push() 39 std::unique_lock<std::mutex> lock(mutex_); in take() 50 std::unique_lock<std::mutex> lock(mutex_); in wait_to_take() 60 std::unique_lock<std::mutex> lock(mutex_); in empty() 65 std::unique_lock<std::mutex> lock(mutex_); in clear() 72 mutable std::mutex mutex_; variable
|
D | sync_map_count.h | 34 mutable std::mutex mutex_; variable 56 std::unique_lock<std::mutex> lock(mutex_); in Put() 62 std::unique_lock<std::mutex> lock(mutex_); in Get() 67 std::unique_lock<std::mutex> lock(mutex_); in Size() 72 std::unique_lock<std::mutex> lock(mutex_); in Clear()
|
D | circular_buffer.h | 44 mutable std::mutex mutex_; variable 90 std::unique_lock<std::mutex> lock(mutex_); in Push() 99 std::unique_lock<std::mutex> lock(mutex_); in Pull() 105 std::unique_lock<std::mutex> lock(mutex_); in Drain()
|
/packages/modules/Bluetooth/system/gd/os/ |
D | queue.h | 87 std::mutex mutex_; variable 114 std::lock_guard<std::mutex> lock(mutex_); in Enqueue() 122 std::lock_guard<std::mutex> lock(mutex_); in Clear() 135 std::lock_guard<std::mutex> lock(mutex_); in NotifyOnEmpty() 142 std::lock_guard<std::mutex> lock(mutex_); in enqueue_callback() 154 mutable std::mutex mutex_; variable 172 std::lock_guard<std::mutex> lock(mutex_); in RegisterEnqueue() 188 std::lock_guard<std::mutex> lock(mutex_); in UnregisterEnqueue() 205 std::lock_guard<std::mutex> lock(mutex_); in RegisterDequeue() 219 std::lock_guard<std::mutex> lock(mutex_); in UnregisterDequeue() [all …]
|
D | handler.cc | 38 std::lock_guard<std::mutex> lock(mutex_); in ~Handler() 46 std::lock_guard<std::mutex> lock(mutex_); in Post() 59 std::lock_guard<std::mutex> lock(mutex_); in Clear() 81 std::lock_guard<std::mutex> lock(mutex_); in handle_next_event()
|
/packages/modules/adb/ |
D | transport.h | 185 void StartReadThread() REQUIRES(mutex_); 186 bool started_ GUARDED_BY(mutex_) = false; 187 bool stopped_ GUARDED_BY(mutex_) = false; 190 std::thread read_thread_ GUARDED_BY(mutex_); 191 std::thread write_thread_ GUARDED_BY(mutex_); 193 std::deque<std::unique_ptr<apacket>> write_queue_ GUARDED_BY(mutex_); 194 std::mutex mutex_; member 240 bool connection_established_ GUARDED_BY(mutex_) = false; 241 bool connection_established_ready_ GUARDED_BY(mutex_) = false; 242 std::mutex mutex_; variable [all …]
|
D | transport.cpp | 304 std::lock_guard<std::mutex> lock(mutex_); in Start() 314 std::unique_lock<std::mutex> lock(mutex_); in Start() 315 ScopedLockAssertion assume_locked(mutex_); in Start() 316 cv_.wait(lock, [this]() REQUIRES(mutex_) { in Start() 368 std::lock_guard<std::mutex> lock(mutex_); in DoTlsHandshake() 379 std::lock_guard<std::mutex> lock(mutex_); in Reset() 398 std::lock_guard<std::mutex> lock(mutex_); in Stop() 422 std::lock_guard<std::mutex> lock(mutex_); in Stop() 436 std::lock_guard<std::mutex> lock(this->mutex_); in Write() 1020 std::unique_lock<std::mutex> lock(mutex_); in WaitForConnection() [all …]
|
/packages/modules/Bluetooth/system/gd/os/linux_generic/ |
D | reactor.cc | 99 std::mutex mutex_; member in bluetooth::os::Reactor::Reactable 136 std::unique_lock<std::mutex> lock(mutex_); in Run() 146 std::scoped_lock<std::mutex> lock(mutex_); in Run() 172 std::unique_lock<std::mutex> lock(mutex_); in Run() 180 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Run() 191 std::unique_lock<std::mutex> reactable_lock(reactable->mutex_); in Run() 237 std::lock_guard<std::mutex> lock(mutex_); in Unregister() 243 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Unregister() 267 std::lock_guard<std::mutex> lock(mutex_); in WaitForUnregisteredReactable() 282 std::lock_guard<std::mutex> lock(mutex_); in WaitForIdle()
|
D | wakelock_manager.cc | 184 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in SetOsCallouts() 199 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Acquire() 225 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in Release() 251 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in CleanUp() 268 std::lock_guard<std::recursive_mutex> lock_guard(mutex_); in GetDumpsysData()
|
D | repeating_alarm.cc | 56 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 67 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 74 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
D | alarm.cc | 57 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 67 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 74 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | hci_hal_android.cc | 66 std::lock_guard<std::mutex> lock(mutex_); in SetCallback() 71 std::lock_guard<std::mutex> lock(mutex_); in ResetCallback() 87 std::lock_guard<std::mutex> lock(mutex_); in hciEventReceived() 97 std::lock_guard<std::mutex> lock(mutex_); in aclDataReceived() 107 std::lock_guard<std::mutex> lock(mutex_); in scoDataReceived() 117 std::lock_guard<std::mutex> lock(mutex_); in isoDataReceived() 123 std::mutex mutex_; member in bluetooth::hal::HciCallbacksImpl
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 146 std::mutex mutex_; member 154 std::unique_lock<std::mutex> lock(p->mutex_); in ResultCallback() 340 std::unique_lock<std::mutex> server_lock(server_waiter.mutex_); in TEST_F() 347 std::unique_lock<std::mutex> client_lock(client_waiter.mutex_); in TEST_F() 379 std::unique_lock<std::mutex> server_lock(server_waiter.mutex_); in TEST_F() 386 std::unique_lock<std::mutex> client_lock(client_waiter.mutex_); in TEST_F() 407 std::unique_lock<std::mutex> server_lock(server_waiter.mutex_); in TEST_F() 422 std::unique_lock<std::mutex> client_lock(client_waiter.mutex_); in TEST_F() 452 std::unique_lock<std::mutex> server_lock(server_waiter.mutex_); in TEST_F() 468 std::unique_lock<std::mutex> client_lock(client_waiter.mutex_); in TEST_F()
|
/packages/modules/adb/client/openscreen/platform/ |
D | task_runner.cpp | 54 std::lock_guard<std::mutex> lock(mutex_); in PostPackagedTaskWithDelay() 68 std::unique_lock<std::mutex> lock(mutex_); in TaskExecutorWorker() 69 ScopedLockAssertion assume_locked(mutex_); in TaskExecutorWorker() 94 std::lock_guard<std::mutex> lock(mutex_); in TaskExecutorWorker()
|
D | task_runner.h | 61 std::mutex mutex_; variable 63 GUARDED_BY(mutex_);
|
/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | stream_apis.h | 73 mutable std::mutex mutex_; member 81 std::mutex mutex_; member 105 mutable std::mutex mutex_; member
|
D | stream_apis.cc | 70 std::unique_lock<std::mutex> lock(out->mutex_); in out_calculate_feeding_delay_ms() 143 std::unique_lock<std::mutex> lock(in->mutex_); in in_calculate_starving_delay_ms() 269 std::unique_lock<std::mutex> lock(out->mutex_); in out_standby() 305 std::unique_lock<std::mutex> lock(out->mutex_); in out_set_parameters() 426 std::unique_lock<std::mutex> lock(out->mutex_); in out_get_parameters() 531 std::unique_lock<std::mutex> lock(out->mutex_); in out_write() 635 std::unique_lock<std::mutex> lock(out->mutex_); in out_pause() 661 std::unique_lock<std::mutex> lock(out->mutex_); in out_resume() 709 std::unique_lock<std::mutex> lock(out->mutex_); in out_update_source_metadata_v7() 831 std::lock_guard<std::mutex> guard(bluetooth_device->mutex_); in adev_open_output_stream() [all …]
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | hal_version_manager.cc | 105 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetHalVersion() 111 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_1() 129 std::unique_lock<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_0()
|