Home
last modified time | relevance | path

Searched refs:mutex_ (Results 1 – 25 of 39) sorted by relevance

12

/system/extras/memory_replay/
DThread.cpp31 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()
DThread.h48 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
/system/core/adb/
Dtransport.h147 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 …]
Dtransport.cpp274 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/
DThreadEntry.h37 pthread_mutex_lock(&mutex_); in Lock()
45 pthread_mutex_unlock(&mutex_); in Unlock()
59 pthread_mutex_t mutex_; variable
/system/bt/service/
Da2dp_sink.cc49 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()
Davrcp_target.cc117 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 …]
Dgatt_server.cc52 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 …]
Da2dp_source.cc126 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()
Davrcp_control.cc53 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/
Dgrant_store.cpp44 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()
Dgrant_store.h78 mutable std::shared_mutex mutex_; variable
/system/extras/perfprofd/
Dperfprofd_threaded_handler.h53 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/
Dhandler.cc53 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()
Dalarm.cc52 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()
Drepeating_alarm.cc52 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/
Dheart_rate_server.cc112 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/
DMapInfo.cpp195 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/
Dhandler.h54 mutable std::mutex mutex_; variable
Drepeating_alarm.h53 mutable std::mutex mutex_; variable
Dalarm.h53 mutable std::mutex mutex_; variable
Dthread.h68 mutable std::mutex mutex_; variable
Dreactor.h69 mutable std::mutex mutex_;
/system/bt/audio_bluetooth_hw/
Dstream_apis.cc137 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/
DFuseBridgeLoop.h63 std::mutex mutex_; variable

12