/system/extras/memory_replay/ |
D | Thread.cpp | 31 pthread_mutex_lock(&mutex_); in WaitForReady() 33 pthread_cond_wait(&cond_, &mutex_); in WaitForReady() 35 pthread_mutex_unlock(&mutex_); in WaitForReady() 39 pthread_mutex_lock(&mutex_); in WaitForPending() 41 pthread_cond_wait(&cond_, &mutex_); in WaitForPending() 43 pthread_mutex_unlock(&mutex_); in WaitForPending() 47 pthread_mutex_lock(&mutex_); in SetPending() 49 pthread_mutex_unlock(&mutex_); in SetPending() 54 pthread_mutex_lock(&mutex_); in ClearPending() 56 pthread_mutex_unlock(&mutex_); in ClearPending()
|
D | Thread.h | 48 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
|
/system/core/adb/ |
D | transport.h | 147 bool started_ GUARDED_BY(mutex_) = false; 148 bool stopped_ GUARDED_BY(mutex_) = false; 151 std::thread read_thread_ GUARDED_BY(mutex_); 152 std::thread write_thread_ GUARDED_BY(mutex_); 154 std::deque<std::unique_ptr<apacket>> write_queue_ GUARDED_BY(mutex_); 155 std::mutex mutex_; member 208 bool connection_established_ GUARDED_BY(mutex_) = false; 209 bool connection_established_ready_ GUARDED_BY(mutex_) = false; 210 std::mutex mutex_; variable 258 std::lock_guard<std::mutex> lock(mutex_); in connection() [all …]
|
D | transport.cpp | 274 std::lock_guard<std::mutex> lock(mutex_); in Start() 296 std::unique_lock<std::mutex> lock(mutex_); in Start() 297 ScopedLockAssertion assume_locked(mutex_); in Start() 298 cv_.wait(lock, [this]() REQUIRES(mutex_) { in Start() 322 std::lock_guard<std::mutex> lock(mutex_); in Reset() 342 std::lock_guard<std::mutex> lock(mutex_); in Stop() 367 std::lock_guard<std::mutex> lock(mutex_); in Stop() 381 std::lock_guard<std::mutex> lock(this->mutex_); in Write() 947 std::unique_lock<std::mutex> lock(mutex_); in WaitForConnection() 948 ScopedLockAssertion assume_locked(mutex_); in WaitForConnection() [all …]
|
/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/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() 112 lock_guard<mutex> lock(mutex_); in SendResponse() 187 lock_guard<mutex> lock(mutex_); in SendNotification() 248 lock_guard<mutex> lock(mutex_); in ConnectionCallback() 298 lock_guard<mutex> lock(mutex_); in ServiceAddedCallback() 340 lock_guard<mutex> lock(mutex_); in RequestReadCharacteristicCallback() 373 lock_guard<mutex> lock(mutex_); in RequestReadDescriptorCallback() 408 lock_guard<mutex> lock(mutex_); in RequestWriteCharacteristicCallback() 447 lock_guard<mutex> lock(mutex_); in RequestWriteDescriptorCallback() [all …]
|
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()
|
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()
|
/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()
|
D | grant_store.h | 78 mutable std::shared_mutex mutex_; variable
|
/system/extras/perfprofd/ |
D | perfprofd_threaded_handler.h | 53 std::unique_lock<std::mutex> guard(mutex_); in Sleep() 58 std::unique_lock<std::mutex> guard(mutex_); in ShouldStopProfiling() 63 std::unique_lock<std::mutex> guard(mutex_); in ResetStopProfiling() 67 std::unique_lock<std::mutex> guard(mutex_); in StopProfiling() 87 std::mutex mutex_; variable
|
/system/bt/gd/os/linux_generic/ |
D | handler.cc | 53 std::lock_guard<std::mutex> lock(mutex_); in Post() 62 std::lock_guard<std::mutex> lock(mutex_); in Clear() 85 std::lock_guard<std::mutex> lock(mutex_); in handle_next_event()
|
D | alarm.cc | 52 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 65 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 72 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
D | repeating_alarm.cc | 52 std::lock_guard<std::mutex> lock(mutex_); in Schedule() 65 std::lock_guard<std::mutex> lock(mutex_); in Cancel() 72 std::unique_lock<std::mutex> lock(mutex_); in on_fire()
|
/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/libunwindstack/ |
D | MapInfo.cpp | 195 std::lock_guard<std::mutex> guard(mutex_); in GetElf() 239 std::lock_guard<std::mutex> guard(prev_map->mutex_); in GetElf() 251 std::lock_guard<std::mutex> guard(mutex_); in GetFunctionName() 269 std::lock_guard<std::mutex> guard(mutex_); in GetLoadBias() 310 mutex_.lock(); in GetBuildID() 312 mutex_.unlock(); in GetBuildID()
|
/system/bt/gd/os/ |
D | handler.h | 54 mutable std::mutex mutex_; variable
|
D | repeating_alarm.h | 53 mutable std::mutex mutex_; variable
|
D | alarm.h | 53 mutable std::mutex mutex_; variable
|
D | thread.h | 68 mutable std::mutex mutex_; variable
|
D | reactor.h | 69 mutable std::mutex mutex_;
|
/system/bt/audio_bluetooth_hw/ |
D | stream_apis.cc | 137 std::unique_lock<std::mutex> lock(out->mutex_); in out_standby() 173 std::unique_lock<std::mutex> lock(out->mutex_); in out_set_parameters() 259 std::unique_lock<std::mutex> lock(out->mutex_); in out_get_parameters() 343 std::unique_lock<std::mutex> lock(out->mutex_); in out_get_latency_ms() 367 std::unique_lock<std::mutex> lock(out->mutex_); in out_write() 423 std::unique_lock<std::mutex> lock(out->mutex_); in out_get_render_position() 468 std::unique_lock<std::mutex> lock(out->mutex_); in out_pause() 494 std::unique_lock<std::mutex> lock(out->mutex_); in out_resume() 537 std::unique_lock<std::mutex> lock(out->mutex_); in out_get_presentation_position() 582 std::unique_lock<std::mutex> lock(out->mutex_); in out_update_source_metadata()
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBridgeLoop.h | 63 std::mutex mutex_; variable
|