Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8998/sdm/include/utils/
Dlocker.h128 pthread_mutex_init(&mutex_, 0); in Locker()
133 pthread_mutex_destroy(&mutex_); in ~Locker()
137 void Lock() { pthread_mutex_lock(&mutex_); } in Lock()
138 void Unlock() { pthread_mutex_unlock(&mutex_); } in Unlock()
141 void Wait() { pthread_cond_wait(&condition_, &mutex_); } in Wait()
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts); in WaitFinite()
154 pthread_mutex_t mutex_;
/hardware/qcom/display/msm8996/sdm/include/utils/
Dlocker.h128 pthread_mutex_init(&mutex_, 0); in Locker()
133 pthread_mutex_destroy(&mutex_); in ~Locker()
137 void Lock() { pthread_mutex_lock(&mutex_); } in Lock()
138 void Unlock() { pthread_mutex_unlock(&mutex_); } in Unlock()
141 void Wait() { pthread_cond_wait(&condition_, &mutex_); } in Wait()
150 return pthread_cond_timedwait(&condition_, &mutex_, &ts); in WaitFinite()
154 pthread_mutex_t mutex_;
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp148 std::unique_lock<std::mutex> lock(parent_.mutex_); in notify()
186 std::mutex mutex_; member in TvInputHidlTest
205 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
219 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
248 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
278 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
315 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
345 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp98 std::unique_lock<std::mutex> lock(mutex_); in onRegistration()
116 std::unique_lock<std::mutex> lock(mutex_); in waitForHidlService()
134 std::mutex mutex_; member in ServiceNotificationListener