/system/extras/memory_replay/ |
D | Thread.cpp | 30 pthread_mutex_lock(&mutex_); in WaitForReady() 32 pthread_cond_wait(&cond_, &mutex_); in WaitForReady() 34 pthread_mutex_unlock(&mutex_); in WaitForReady() 38 pthread_mutex_lock(&mutex_); in WaitForPending() 40 pthread_cond_wait(&cond_, &mutex_); in WaitForPending() 42 pthread_mutex_unlock(&mutex_); in WaitForPending() 46 pthread_mutex_lock(&mutex_); in SetPending() 48 pthread_mutex_unlock(&mutex_); in SetPending() 53 pthread_mutex_lock(&mutex_); in ClearPending() 55 pthread_mutex_unlock(&mutex_); in ClearPending()
|
/system/bt/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
|
/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/main/shim/ |
D | stack.cc | 51 std::lock_guard<std::mutex> lock(mutex_); in StartIdleMode() 63 std::lock_guard<std::mutex> lock(mutex_); in StartEverything() 110 std::lock_guard<std::mutex> lock(mutex_); in Stop() 130 std::lock_guard<std::mutex> lock(mutex_); in IsRunning() 135 std::lock_guard<std::mutex> lock(mutex_); in GetStackManager() 141 std::lock_guard<std::mutex> lock(mutex_); in GetBtm() 147 std::lock_guard<std::mutex> lock(mutex_); in GetHandler()
|
/system/bt/gd/os/linux_generic/ |
D | reactor.cc | 57 std::mutex mutex_; member in bluetooth::os::Reactor::Reactable 94 std::unique_lock<std::mutex> lock(mutex_); in Run() 129 std::unique_lock<std::mutex> lock(mutex_); in Run() 137 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Run() 148 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Run() 189 std::lock_guard<std::mutex> lock(mutex_); in Unregister() 195 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in Unregister() 219 std::lock_guard<std::mutex> lock(mutex_); in WaitForUnregisteredReactable() 234 std::lock_guard<std::mutex> lock(mutex_); in WaitForIdle() 256 std::lock_guard<std::mutex> reactable_lock(reactable->mutex_); in ModifyRegistration()
|
D | handler.cc | 47 std::lock_guard<std::mutex> lock(mutex_); in ~Handler() 58 std::lock_guard<std::mutex> lock(mutex_); in Post() 73 std::lock_guard<std::mutex> lock(mutex_); in Clear() 95 std::lock_guard<std::mutex> lock(mutex_); in handle_next_event()
|
D | repeating_alarm.cc | 55 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 66 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 73 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
D | alarm.cc | 56 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 66 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 73 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
D | queue.tpp | 28 std::lock_guard<std::mutex> lock(mutex_); 44 std::lock_guard<std::mutex> lock(mutex_); 60 std::lock_guard<std::mutex> lock(mutex_); 74 std::lock_guard<std::mutex> lock(mutex_); 90 std::lock_guard<std::mutex> lock(mutex_); 110 std::lock_guard<std::mutex> lock(mutex_);
|
/system/core/libbacktrace/ |
D | ThreadEntry.h | 37 pthread_mutex_lock(&mutex_); in Lock() 45 pthread_mutex_unlock(&mutex_); in Unlock() 59 pthread_mutex_t mutex_; variable
|
/system/core/adb/ |
D | transport.h | 181 void StartReadThread() REQUIRES(mutex_); 182 bool started_ GUARDED_BY(mutex_) = false; 183 bool stopped_ GUARDED_BY(mutex_) = false; 186 std::thread read_thread_ GUARDED_BY(mutex_); 187 std::thread write_thread_ GUARDED_BY(mutex_); 189 std::deque<std::unique_ptr<apacket>> write_queue_ GUARDED_BY(mutex_); 190 std::mutex mutex_; member 236 bool connection_established_ GUARDED_BY(mutex_) = false; 237 bool connection_established_ready_ GUARDED_BY(mutex_) = false; 238 std::mutex mutex_; variable [all …]
|
/system/bt/service/ |
D | a2dp_sink.cc | 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()
|
D | avrcp_target.cc | 117 LockGuard lock(mutex_); in Enable() 122 LockGuard lock(mutex_); in Disable() 130 LockGuard lock(mutex_); in GetPlayStatusResponse() 148 LockGuard lock(mutex_); in ListPlayerAppAttrResponse() 171 LockGuard lock(mutex_); in GetPlayerAppValueResponse() 182 LockGuard lock(mutex_); in GetPlayerAppAttrTextResponse() 194 LockGuard lock(mutex_); in GetPlayerAppValueTextResponse() 206 LockGuard lock(mutex_); in GetElementAttrResponse() 217 LockGuard lock(mutex_); in SetPlayerAppValueResponse() 229 LockGuard lock(mutex_); in RegisterNotificationResponse() [all …]
|
D | gatt_server.cc | 52 lock_guard<mutex> lock(mutex_); in SetDelegate() 63 lock_guard<mutex> lock(mutex_); in AddService() 114 lock_guard<mutex> lock(mutex_); in SendResponse() 189 lock_guard<mutex> lock(mutex_); in SendNotification() 250 lock_guard<mutex> lock(mutex_); in ConnectionCallback() 300 lock_guard<mutex> lock(mutex_); in ServiceAddedCallback() 342 lock_guard<mutex> lock(mutex_); in RequestReadCharacteristicCallback() 375 lock_guard<mutex> lock(mutex_); in RequestReadDescriptorCallback() 410 lock_guard<mutex> lock(mutex_); in RequestWriteCharacteristicCallback() 449 lock_guard<mutex> lock(mutex_); in RequestWriteDescriptorCallback() [all …]
|
D | avrcp_control.cc | 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()
|
D | a2dp_source.cc | 126 LockGuard lock(mutex_); in Enable() 132 LockGuard lock(mutex_); in Disable() 138 LockGuard lock(mutex_); in Connect() 146 LockGuard lock(mutex_); in Disconnect() 157 LockGuard lock(mutex_); in ConfigCodec()
|
/system/chre/pal/tests/src/ |
D | gnss_pal_impl_test.cc | 187 chre::LockGuard<chre::Mutex> lock(mutex_); in locationStatusChangeCallback() 195 chre::LockGuard<chre::Mutex> lock(mutex_); in locationEventCallback() 212 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementStatusChangeCallback() 220 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementEventCallback() 233 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess() 251 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F() 261 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_F() 290 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F() 300 waitSuccess = condVar_.wait_for(mutex_, kGnssEventTimeoutNs); in TEST_F()
|
D | wifi_pal_impl_test.cc | 150 chre::LockGuard<chre::Mutex> lock(mutex_); in scanMonitorStatusChangeCallback() 163 chre::LockGuard<chre::Mutex> lock(mutex_); in scanResponseCallback() 173 chre::LockGuard<chre::Mutex> lock(mutex_); in scanEventCallback() 203 waitSuccess = condVar_.wait_for(mutex_, timeoutNs); in waitForAsyncResponseAssertSuccess() 222 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F() 240 waitSuccess = condVar_.wait_for(mutex_, kScanResultTimeoutNs); in TEST_F() 272 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
|
/system/bt/gd/os/ |
D | queue.h | 88 std::mutex mutex_; variable 117 std::lock_guard<std::mutex> lock(mutex_); in Enqueue() 125 std::lock_guard<std::mutex> lock(mutex_); in Clear() 138 std::lock_guard<std::mutex> lock(mutex_); in NotifyOnEmpty() 145 std::lock_guard<std::mutex> lock(mutex_); in enqueue_callback() 157 mutable std::mutex mutex_; variable
|
/system/security/keystore/ |
D | grant_store.cpp | 44 std::unique_lock<std::shared_mutex> lock(mutex_); in put() 63 std::shared_lock<std::shared_mutex> lock(mutex_); in get() 78 std::unique_lock<std::shared_mutex> lock(mutex_); in removeByFileAlias() 90 std::unique_lock<std::shared_mutex> lock(mutex_); in removeAllGrantsToKey() 102 std::unique_lock<std::shared_mutex> lock(mutex_); in removeAllGrantsToUid()
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 112 std::lock_guard<std::mutex> lock(mutex_); in ~HeartRateServer() 124 std::lock_guard<std::mutex> lock(mutex_); in Run() 160 std::lock_guard<std::mutex> lock(mutex_); in SendHeartRateMeasurement() 228 std::lock_guard<std::mutex> lock(mutex_); in OnServerRegistered() 284 std::lock_guard<std::mutex> lock(mutex_); in OnServiceAdded() 316 std::lock_guard<std::mutex> lock(mutex_); in OnCharacteristicReadRequest() 339 std::lock_guard<std::mutex> lock(mutex_); in OnDescriptorReadRequest() 373 std::lock_guard<std::mutex> lock(mutex_); in OnCharacteristicWriteRequest() 416 std::lock_guard<std::mutex> lock(mutex_); in OnDescriptorWriteRequest() 480 std::lock_guard<std::mutex> lock(mutex_); in OnNotificationSent()
|
/system/core/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()
|
/system/core/libunwindstack/ |
D | MapInfo.cpp | 198 std::lock_guard<std::mutex> guard(mutex_); in GetElf() 244 std::lock_guard<std::mutex> guard(prev_real_map->mutex_); in GetElf() 256 std::lock_guard<std::mutex> guard(mutex_); in GetFunctionName() 274 std::lock_guard<std::mutex> guard(mutex_); in GetLoadBias() 315 mutex_.lock(); in GetBuildID() 317 mutex_.unlock(); in GetBuildID()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.h | 81 std::mutex mutex_; variable 89 std::lock_guard<std::mutex> lock(mutex_); in issueCmd() 121 std::lock_guard<std::mutex> lock(mutex_); in issueCmd()
|