Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/display/sdm/include/utils/
Dlocker.h133 pthread_mutex_init(&mutex_, &attr); in Locker()
135 pthread_mutex_init(&mutex_, 0); in Locker()
143 pthread_mutex_destroy(&mutex_); in ~Locker()
148 void Lock() { pthread_mutex_lock(&mutex_); } in Lock()
149 int32_t TryLock() { return pthread_mutex_trylock(&mutex_); } in TryLock()
150 void Unlock() { pthread_mutex_unlock(&mutex_); } in Unlock()
153 void Wait() { pthread_cond_wait(&condition_, &mutex_); } in Wait()
162 return pthread_cond_timedwait(&condition_, &mutex_, &ts); in WaitFinite()
166 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/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/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()
128 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportControlStatus()
149 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady()
200 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback()
227 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback()
238 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig()
251 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream()
267 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream()
283 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream()
[all …]
DBluetoothAudioSession.h84 std::recursive_mutex mutex_;
179 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/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp87 std::lock_guard<std::mutex> lock(mutex_); in healthInfoChangedInternal()
94 std::unique_lock<std::mutex> lock(mutex_); in waitInvoke()
101 std::mutex mutex_; member in android::hardware::health::V2_1::CallbackBase
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_test_utils.cpp119 std::unique_lock<std::mutex> lock(mutex_); in onRegistration()
137 std::unique_lock<std::mutex> lock(mutex_); in waitForHidlService()
155 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_;
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_session.cpp110 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
118 std::unique_lock<std::mutex> caller_lock(hwc_uevent->mutex_); in UEventThread()
131 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread()
142 std::unique_lock<std::mutex> caller_lock(mutex_); in HWCUEvent()
151 std::lock_guard<std::mutex> obj(mutex_); in Register()
Dhwc_session.h107 std::mutex mutex_;