/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/ |
D | worker.h | 33 void Lock() ACQUIRE(mutex_) { in Lock() 34 mutex_.lock(); in Lock() 36 void Unlock() RELEASE(mutex_) { in Unlock() 37 mutex_.unlock(); in Unlock() 69 std::mutex mutex_; variable
|
/hardware/google/camera/devices/EmulatedCamera/hwl/ |
D | EmulatedTorchState.cpp | 28 std::lock_guard<std::mutex> lock(mutex_); in SetTorchMode() 49 std::lock_guard<std::mutex> lock(mutex_); in TurnOnTorchWithStrengthLevel() 70 std::lock_guard<std::mutex> lock(mutex_); in AcquireFlashHw() 76 std::lock_guard<std::mutex> lock(mutex_); in ReleaseFlashHw() 82 std::lock_guard<std::mutex> lock(mutex_); in GetTorchStrengthLevel() 87 std::lock_guard<std::mutex> lock(mutex_); in InitializeTorchDefaultLevel() 92 std::lock_guard<std::mutex> lock(mutex_); in InitializeSupportTorchStrengthLevel()
|
D | EmulatedTorchState.h | 47 std::mutex mutex_;
|
/hardware/qcom/sm8150/display/sdm/include/utils/ |
D | locker.h | 133 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/sm7250/display/sdm/include/utils/ |
D | locker.h | 133 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/msm8909/sdm/include/utils/ |
D | locker.h | 128 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/msm8909w_3100/sdm/include/utils/ |
D | locker.h | 128 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/ |
D | locker.h | 128 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/ |
D | locker.h | 128 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/utils/aidl_session/ |
D | BluetoothAudioSession.cpp | 61 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted() 84 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded() 102 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig() 124 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportAudioConfigChanged() 181 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady() 205 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback() 229 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback() 244 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream() 260 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream() 276 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream() [all …]
|
D | BluetoothAudioSession.h | 206 std::recursive_mutex mutex_; 240 static std::mutex mutex_;
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/utils/ |
D | worker.cpp | 32 std::lock_guard<std::mutex> lk(mutex_); in InitWorker() 45 std::unique_lock<std::mutex> lk(mutex_); in Exit() 60 std::unique_lock<std::mutex> lk(mutex_, std::adopt_lock); in WaitForSignalOrExitLocked() 89 std::unique_lock<std::mutex> lk(mutex_, std::defer_lock); in InternalRoutine()
|
/hardware/interfaces/bluetooth/audio/utils/session/ |
D | BluetoothAudioSession.cpp | 71 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted() 98 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded() 134 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportControlStatus() 157 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady() 211 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback() 241 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback() 255 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig() 270 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream() 288 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream() 306 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream() [all …]
|
D | BluetoothAudioSession_2_1.cpp | 94 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in GetAudioConfig() 181 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in OnSessionStarted() 214 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetSessionInstance()
|
D | BluetoothAudioSession.h | 87 std::recursive_mutex mutex_; 184 std::mutex mutex_; variable
|
/hardware/interfaces/health/storage/test_common/include/health-storage-test/ |
D | common.h | 42 std::unique_lock<std::mutex> lock(mutex_); in OnFinish() 47 std::unique_lock<std::mutex> lock(mutex_); in Wait() 65 std::mutex mutex_; variable
|
/hardware/interfaces/tv/input/aidl/vts/functional/ |
D | VtsHalTvInputTargetTest.cpp | 32 unique_lock<mutex> lock(parent_->mutex_); in notify() 158 unique_lock<mutex> lock(mutex_); in TEST_P() 173 unique_lock<mutex> lock(mutex_); in TEST_P() 205 unique_lock<mutex> lock(mutex_); in TEST_P() 236 unique_lock<mutex> lock(mutex_); in TEST_P() 273 unique_lock<mutex> lock(mutex_); in TEST_P() 311 unique_lock<mutex> lock(mutex_); in TEST_P() 332 unique_lock<mutex> lock(mutex_); in TEST_P() 350 unique_lock<mutex> lock(mutex_); in TEST_P()
|
D | VtsHalTvInputTargetTest.h | 97 mutex mutex_; variable
|
/hardware/interfaces/tv/input/1.0/vts/functional/ |
D | VtsHalTvInputV1_0TargetTest.cpp | 147 std::unique_lock<std::mutex> lock(parent_.mutex_); in notify() 186 std::mutex mutex_; member in TvInputHidlTest 195 std::unique_lock<std::mutex> lock(mutex_); in TEST_P() 209 std::unique_lock<std::mutex> lock(mutex_); in TEST_P() 236 std::unique_lock<std::mutex> lock(mutex_); in TEST_P() 264 std::unique_lock<std::mutex> lock(mutex_); in TEST_P() 299 std::unique_lock<std::mutex> lock(mutex_); in TEST_P() 328 std::unique_lock<std::mutex> lock(mutex_); in TEST_P()
|
/hardware/interfaces/gatekeeper/aidl/software/ |
D | SharedSecret.cpp | 39 std::lock_guard lock(mutex_); in getSharedSecretParameters() 56 std::lock_guard lock(mutex_); in computeSharedSecret() 127 std::lock_guard lock(mutex_); in HmacKey()
|
D | SharedSecret.h | 37 mutable std::mutex mutex_;
|
/hardware/interfaces/health/storage/1.0/vts/functional/ |
D | VtsHalHealthStorageV1_0TargetTest.cpp | 43 std::unique_lock<std::mutex> lock(mutex_); in onFinish() 55 std::unique_lock<std::mutex> lock(mutex_); in waitForResult()
|
/hardware/interfaces/health/storage/aidl/vts/functional/ |
D | VtsHalHealthStorageTargetTest.cpp | 46 std::unique_lock<std::mutex> lock(mutex_); in onFinish() 58 std::unique_lock<std::mutex> lock(mutex_); in WaitForResult()
|
/hardware/interfaces/health/2.1/vts/functional/ |
D | VtsHalHealthV2_1TargetTest.cpp | 87 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/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | drmeventlistener.cpp | 200 std::scoped_lock lock(mutex_); in RegisterSysfsHandler() 218 std::scoped_lock lock(mutex_); in UnRegisterSysfsHandler() 404 std::scoped_lock lock(mutex_); in SysfsEventHandler()
|