Home
last modified time | relevance | path

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

/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/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/sdm845/display/sdm/include/utils/
Dlocker.h129 pthread_mutex_init(&mutex_, 0); in Locker()
136 pthread_mutex_destroy(&mutex_); in ~Locker()
141 void Lock() { pthread_mutex_lock(&mutex_); } in Lock()
142 void Unlock() { pthread_mutex_unlock(&mutex_); } in Unlock()
145 void Wait() { pthread_cond_wait(&condition_, &mutex_); } in Wait()
154 return pthread_cond_timedwait(&condition_, &mutex_, &ts); in WaitFinite()
158 pthread_mutex_t mutex_;
/hardware/qcom/display/msm8909w_3100/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/msm8909/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/bluetooth/audio/2.0/default/session/
DBluetoothAudioSession.cpp65 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted()
92 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded()
126 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportControlStatus()
147 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady()
198 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback()
225 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback()
236 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig()
249 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream()
265 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream()
281 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream()
[all …]
DBluetoothAudioSession.h84 std::recursive_mutex mutex_;
178 std::mutex mutex_; variable
/hardware/interfaces/tv/input/1.0/vts/functional/
DVtsHalTvInputV1_0TargetTest.cpp164 std::unique_lock<std::mutex> lock(parent_.mutex_); in notify()
202 std::mutex mutex_; member in TvInputHidlTest
212 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
226 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
255 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
285 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
322 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
352 std::unique_lock<std::mutex> lock(mutex_); in TEST_F()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test_utils.cpp73 std::unique_lock<std::mutex> lock(mutex_); in onRegistration()
91 std::unique_lock<std::mutex> lock(mutex_); in waitForHidlService()
109 std::mutex mutex_; member in ServiceNotificationListener
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp117 std::unique_lock<std::mutex> lock(mutex_); in onRegistration()
135 std::unique_lock<std::mutex> lock(mutex_); in waitForHidlService()
153 std::mutex mutex_; member in ServiceNotificationListener
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.cpp82 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
90 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
103 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread()
114 std::unique_lock<std::mutex> caller_lock(mutex_); in HWCUEvent()
123 std::lock_guard<std::mutex> obj(mutex_); in Register()
Dhwc_session.h60 std::mutex mutex_;
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.cpp84 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
92 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
105 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread()
116 std::unique_lock<std::mutex> caller_lock(mutex_); in HWCUEvent()
125 std::lock_guard<std::mutex> obj(mutex_); in Register()
Dhwc_session.h69 std::mutex mutex_;
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.cpp90 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
98 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
111 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread()
122 std::unique_lock<std::mutex> caller_lock(mutex_); in HWCUEvent()
131 std::lock_guard<std::mutex> obj(mutex_); in Register()
Dhwc_session.h77 std::mutex mutex_;