Home
last modified time | relevance | path

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

/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/libbacktrace/
DThreadEntry.h37 pthread_mutex_lock(&mutex_); in Lock()
45 pthread_mutex_unlock(&mutex_); in Unlock()
59 pthread_mutex_t mutex_; variable
DThreadEntry.cpp34 : pid_(pid), tid_(tid), ref_count_(1), mutex_(PTHREAD_MUTEX_INITIALIZER), in ThreadEntry()
/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()
Dheart_rate_server.h85 std::mutex mutex_; variable
/system/bt/service/
Dgatt_server.cc61 lock_guard<mutex> lock(mutex_); in SetDelegate()
72 lock_guard<mutex> lock(mutex_); in AddService()
121 lock_guard<mutex> lock(mutex_); in SendResponse()
190 lock_guard<mutex> lock(mutex_); in SendNotification()
251 lock_guard<mutex> lock(mutex_); in ConnectionCallback()
301 lock_guard<mutex> lock(mutex_); in ServiceAddedCallback()
343 lock_guard<mutex> lock(mutex_); in RequestReadCharacteristicCallback()
376 lock_guard<mutex> lock(mutex_); in RequestReadDescriptorCallback()
411 lock_guard<mutex> lock(mutex_); in RequestWriteCharacteristicCallback()
450 lock_guard<mutex> lock(mutex_); in RequestWriteDescriptorCallback()
[all …]
Dgatt_server.h244 std::mutex mutex_; variable
/system/core/libappfuse/include/libappfuse/
DFuseBridgeLoop.h63 std::mutex mutex_; variable
DFuseAppLoop.h64 std::mutex mutex_; variable
/system/core/libappfuse/
DFuseBridgeLoop.cc313 std::lock_guard<std::mutex> lock(mutex_); in AddBridge()
357 std::lock_guard<std::mutex> lock(mutex_); in Start()