/hardware/interfaces/broadcastradio/aidl/default/ |
D | BroadcastRadio.h | 43 EXCLUDES(mMutex) override; 46 ndk::ScopedAStatus getProperties(Properties* returnProperties) EXCLUDES(mMutex) override; 49 EXCLUDES(mMutex) override; 50 ndk::ScopedAStatus unsetTunerCallback() EXCLUDES(mMutex) override; 51 ndk::ScopedAStatus tune(const ProgramSelector& program) EXCLUDES(mMutex) override; 52 ndk::ScopedAStatus seek(bool directionUp, bool skipSubChannel) EXCLUDES(mMutex) override; 53 ndk::ScopedAStatus step(bool directionUp) EXCLUDES(mMutex) override; 54 ndk::ScopedAStatus cancel() EXCLUDES(mMutex) override; 56 EXCLUDES(mMutex) override; 57 ndk::ScopedAStatus stopProgramListUpdates() EXCLUDES(mMutex) override; [all …]
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | sync.h | 27 pthread_mutex_t mMutex; 30 pthread_mutex_init(&mMutex, NULL); in Mutex() 33 pthread_mutex_destroy(&mMutex); in ~Mutex() 36 return pthread_mutex_trylock(&mMutex); in tryLock() 39 return pthread_mutex_lock(&mMutex); in lock() 42 pthread_mutex_unlock(&mMutex); in unlock() 50 pthread_mutex_t mMutex; variable 54 pthread_mutex_init(&mMutex, NULL); in Condition() 59 pthread_mutex_destroy(&mMutex); in ~Condition() 63 return pthread_cond_wait(&mCondition, &mMutex); in wait()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | sync.h | 27 pthread_mutex_t mMutex; 30 pthread_mutex_init(&mMutex, NULL); in Mutex() 33 pthread_mutex_destroy(&mMutex); in ~Mutex() 36 return pthread_mutex_trylock(&mMutex); in tryLock() 39 return pthread_mutex_lock(&mMutex); in lock() 42 pthread_mutex_unlock(&mMutex); in unlock() 50 pthread_mutex_t mMutex; variable 54 pthread_mutex_init(&mMutex, NULL); in Condition() 59 pthread_mutex_destroy(&mMutex); in ~Condition() 63 return pthread_cond_wait(&mCondition, &mMutex); in wait()
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | sync.h | 27 pthread_mutex_t mMutex; 30 pthread_mutex_init(&mMutex, NULL); in Mutex() 33 pthread_mutex_destroy(&mMutex); in ~Mutex() 36 return pthread_mutex_trylock(&mMutex); in tryLock() 39 return pthread_mutex_lock(&mMutex); in lock() 42 pthread_mutex_unlock(&mMutex); in unlock() 50 pthread_mutex_t mMutex; variable 54 pthread_mutex_init(&mMutex, NULL); in Condition() 59 pthread_mutex_destroy(&mMutex); in ~Condition() 63 int status = pthread_cond_wait(&mCondition, &mMutex); in wait() [all …]
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | sync.h | 27 pthread_mutex_t mMutex; 30 pthread_mutex_init(&mMutex, NULL); in Mutex() 33 pthread_mutex_destroy(&mMutex); in ~Mutex() 36 return pthread_mutex_trylock(&mMutex); in tryLock() 39 return pthread_mutex_lock(&mMutex); in lock() 42 pthread_mutex_unlock(&mMutex); in unlock() 50 pthread_mutex_t mMutex; variable 54 pthread_mutex_init(&mMutex, NULL); in Condition() 59 pthread_mutex_destroy(&mMutex); in ~Condition() 63 int status = pthread_cond_wait(&mCondition, &mMutex); in wait() [all …]
|
/hardware/interfaces/graphics/composer/aidl/vts/ |
D | GraphicsComposerCallback.h | 69 mutable std::mutex mMutex; variable 71 std::vector<int64_t> mDisplays GUARDED_BY(mMutex); 73 bool mVsyncAllowed GUARDED_BY(mMutex) = true; 75 bool mRefreshRateChangedDebugDataEnabledCallbackAllowed GUARDED_BY(mMutex) = false; 77 std::optional<VsyncPeriodChangeTimeline> mTimeline GUARDED_BY(mMutex); 79 std::vector<RefreshRateChangedDebugData> mRefreshRateChangedDebugData GUARDED_BY(mMutex); 81 int32_t mVsyncIdleCount GUARDED_BY(mMutex) = 0; 82 int64_t mVsyncIdleTime GUARDED_BY(mMutex) = 0; 85 int32_t mInvalidHotplugCount GUARDED_BY(mMutex) = 0; 86 int32_t mInvalidRefreshCount GUARDED_BY(mMutex) = 0; [all …]
|
D | GraphicsComposerCallback.cpp | 29 std::scoped_lock lock(mMutex); in setVsyncAllowed() 34 std::scoped_lock lock(mMutex); in setRefreshRateChangedDebugDataEnabledCallbackAllowed() 39 std::scoped_lock lock(mMutex); in getDisplays() 44 std::scoped_lock lock(mMutex); in getInvalidHotplugCount() 49 std::scoped_lock lock(mMutex); in getInvalidRefreshCount() 54 std::scoped_lock lock(mMutex); in getInvalidVsyncCount() 59 std::scoped_lock lock(mMutex); in getInvalidVsyncPeriodChangeCount() 64 std::scoped_lock lock(mMutex); in getInvalidSeamlessPossibleCount() 69 std::scoped_lock lock(mMutex); in getVsyncIdleCount() 74 std::scoped_lock lock(mMutex); in getVsyncIdleTime() [all …]
|
/hardware/nxp/secure_element/snxxx/libese-spi/src/adaptation/ |
D | Mutex.cpp | 41 memset(&mMutex, 0, sizeof(mMutex)); in Mutex() 42 int res = pthread_mutex_init(&mMutex, NULL); in Mutex() 58 int res = pthread_mutex_destroy(&mMutex); in ~Mutex() 74 int res = pthread_mutex_lock(&mMutex); in lock() 90 int res = pthread_mutex_unlock(&mMutex); in unlock() 106 int res = pthread_mutex_trylock(&mMutex); in tryLock() 122 pthread_mutex_t* Mutex::nativeHandle() { return &mMutex; } in nativeHandle()
|
/hardware/interfaces/graphics/composer/2.4/utils/vts/ |
D | GraphicsComposerCallback.cpp | 22 std::lock_guard<std::mutex> lock(mMutex); in setVsyncAllowed() 27 std::lock_guard<std::mutex> lock(mMutex); in getDisplays() 32 std::lock_guard<std::mutex> lock(mMutex); in getInvalidHotplugCount() 37 std::lock_guard<std::mutex> lock(mMutex); in getInvalidRefreshCount() 42 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncCount() 47 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsync_2_4Count() 52 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncPeriodChangeCount() 57 std::lock_guard<std::mutex> lock(mMutex); in getInvalidSeamlessPossibleCount() 63 std::lock_guard<std::mutex> lock(mMutex); in takeLastVsyncPeriodChangeTimeline() 72 std::lock_guard<std::mutex> lock(mMutex); in onHotplug() [all …]
|
/hardware/qcom/sm7250/gps/location/ |
D | LocationAPIClientBase.cpp | 50 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient() 75 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient() 86 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient() 88 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient() 94 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData() 103 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData() 111 pthread_mutex_lock(&mMutex); in locAPIEnable() 125 pthread_mutex_unlock(&mMutex); in locAPIEnable() 132 pthread_mutex_lock(&mMutex); in locAPIDisable() 144 pthread_mutex_unlock(&mMutex); in locAPIDisable() [all …]
|
/hardware/qcom/gps/msm8909w_3100/location/ |
D | LocationAPIClientBase.cpp | 45 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient() 70 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient() 81 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient() 83 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient() 89 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData() 98 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData() 106 pthread_mutex_lock(&mMutex); in locAPIEnable() 120 pthread_mutex_unlock(&mMutex); in locAPIEnable() 127 pthread_mutex_lock(&mMutex); in locAPIDisable() 139 pthread_mutex_unlock(&mMutex); in locAPIDisable() [all …]
|
/hardware/qcom/sm8150p/gps/location/ |
D | LocationAPIClientBase.cpp | 45 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient() 70 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient() 81 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient() 83 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient() 89 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData() 98 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData() 106 pthread_mutex_lock(&mMutex); in locAPIEnable() 120 pthread_mutex_unlock(&mMutex); in locAPIEnable() 127 pthread_mutex_lock(&mMutex); in locAPIDisable() 139 pthread_mutex_unlock(&mMutex); in locAPIDisable() [all …]
|
/hardware/qcom/sm7150/gps/location/ |
D | LocationAPIClientBase.cpp | 45 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient() 70 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient() 81 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient() 83 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient() 89 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData() 98 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData() 106 pthread_mutex_lock(&mMutex); in locAPIEnable() 120 pthread_mutex_unlock(&mMutex); in locAPIEnable() 127 pthread_mutex_lock(&mMutex); in locAPIDisable() 139 pthread_mutex_unlock(&mMutex); in locAPIDisable() [all …]
|
/hardware/qcom/sm8150/gps/location/ |
D | LocationAPIClientBase.cpp | 45 pthread_mutex_init(&mMutex, nullptr); in LocationAPIControlClient() 70 pthread_mutex_lock(&mMutex); in ~LocationAPIControlClient() 81 pthread_mutex_unlock(&mMutex); in ~LocationAPIControlClient() 83 pthread_mutex_destroy(&mMutex); in ~LocationAPIControlClient() 89 pthread_mutex_lock(&mMutex); in locAPIGnssDeleteAidingData() 98 pthread_mutex_unlock(&mMutex); in locAPIGnssDeleteAidingData() 106 pthread_mutex_lock(&mMutex); in locAPIEnable() 120 pthread_mutex_unlock(&mMutex); in locAPIEnable() 127 pthread_mutex_lock(&mMutex); in locAPIDisable() 139 pthread_mutex_unlock(&mMutex); in locAPIDisable() [all …]
|
/hardware/qcom/gps/msm8998/location/ |
D | LocationAPIClientBase.cpp | 54 pthread_mutex_init(&mMutex, &attr); in LocationAPIClientBase() 65 pthread_mutex_lock(&mMutex); in locAPISetCallbacks() 109 pthread_mutex_unlock(&mMutex); in locAPISetCallbacks() 114 pthread_mutex_lock(&mMutex); in ~LocationAPIClientBase() 131 pthread_mutex_unlock(&mMutex); in ~LocationAPIClientBase() 133 pthread_mutex_destroy(&mMutex); in ~LocationAPIClientBase() 139 pthread_mutex_lock(&mMutex); in locAPIStartTracking() 161 pthread_mutex_unlock(&mMutex); in locAPIStartTracking() 168 pthread_mutex_lock(&mMutex); in locAPIStopTracking() 181 pthread_mutex_unlock(&mMutex); in locAPIStopTracking() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocSharedLock.h | 44 pthread_mutex_t mMutex; variable 45 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 48 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 54 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 56 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | GraphicsComposerCallback.cpp | 27 std::lock_guard<std::mutex> lock(mMutex); in setVsyncAllowed() 32 std::lock_guard<std::mutex> lock(mMutex); in getDisplays() 37 std::lock_guard<std::mutex> lock(mMutex); in getInvalidHotplugCount() 42 std::lock_guard<std::mutex> lock(mMutex); in getInvalidRefreshCount() 47 std::lock_guard<std::mutex> lock(mMutex); in getInvalidVsyncCount() 52 std::lock_guard<std::mutex> lock(mMutex); in onHotplug() 73 std::lock_guard<std::mutex> lock(mMutex); in onRefresh() 84 std::lock_guard<std::mutex> lock(mMutex); in onVsync()
|
/hardware/nxp/secure_element/snxxx/libese-spi/src/include/ |
D | SyncEvent.h | 46 void start() { mMutex.lock(); } in start() 57 void wait() { mCondVar.wait(mMutex); } in wait() 70 bool retVal = mCondVar.wait(mMutex, millisec); in wait() 95 void end() { mMutex.unlock(); } in end() 99 Mutex mMutex; variable
|
/hardware/interfaces/nfc/aidl/vts/functional/ |
D | SyncEvent.h | 47 void start() { mMutex.lock(); } in start() 58 void wait() { mCondVar.wait(mMutex); } in wait() 71 bool retVal = mCondVar.wait(mMutex, millisec); in wait() 96 void end() { mMutex.unlock(); } in end() 100 std::mutex mMutex; variable
|
/hardware/interfaces/biometrics/face/aidl/vts/ |
D | VtsHalBiometricsFaceTargetTest.cpp | 40 auto lock = std::lock_guard{mMutex}; in onChallengeGenerated() 48 auto lock = std::lock_guard{mMutex}; in onChallengeRevoked() 64 auto lock = std::lock_guard<std::mutex>{mMutex}; in onError() 96 auto lock = std::lock_guard{mMutex}; in onEnrollmentsEnumerated() 104 auto lock = std::lock_guard{mMutex}; in onEnrollmentsRemoved() 111 auto lock = std::lock_guard{mMutex}; in onFeaturesRetrieved() 122 auto lock = std::lock_guard{mMutex}; in onAuthenticatorIdRetrieved() 129 auto lock = std::lock_guard{mMutex}; in onAuthenticatorIdInvalidated() 136 auto lock = std::lock_guard<std::mutex>{mMutex}; in onSessionClosed() 142 std::mutex mMutex; member in aidl::android::hardware::biometrics::face::__anon6530394c0111::SessionCallback [all …]
|
/hardware/interfaces/biometrics/fingerprint/aidl/vts/ |
D | VtsHalBiometricsFingerprintTargetTest.cpp | 39 auto lock = std::lock_guard{mMutex}; in onChallengeGenerated() 47 auto lock = std::lock_guard{mMutex}; in onChallengeRevoked() 59 auto lock = std::lock_guard{mMutex}; in onError() 90 auto lock = std::lock_guard{mMutex}; in onEnrollmentsEnumerated() 98 auto lock = std::lock_guard{mMutex}; in onEnrollmentsRemoved() 105 auto lock = std::lock_guard{mMutex}; in onAuthenticatorIdRetrieved() 112 auto lock = std::lock_guard{mMutex}; in onAuthenticatorIdInvalidated() 119 auto lock = std::lock_guard{mMutex}; in onSessionClosed() 125 std::mutex mMutex; member in aidl::android::hardware::biometrics::fingerprint::__anon93029d5e0111::SessionCallback 173 auto lock = std::unique_lock<std::mutex>(mCb->mMutex); in TearDown() [all …]
|
/hardware/qcom/sm7250/gps/utils/ |
D | LocSharedLock.h | 64 pthread_mutex_t mMutex; variable 65 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock() 68 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock() 74 inline void lock() { pthread_mutex_lock(&mMutex); } in lock() 76 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
|