Home
last modified time | relevance | path

Searched refs:mMutex (Results 1 – 25 of 111) sorted by relevance

12345

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dsync.h27 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/qcwcn/wifi_hal/
Dsync.h27 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/gps/msm8909w_3100/location/
DLocationAPIClientBase.cpp45 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/sdm845/gps/sdm845/location/
DLocationAPIClientBase.cpp45 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/
DLocationAPIClientBase.cpp45 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/interfaces/graphics/composer/2.1/utils/vts/
DGraphicsComposerCallback.cpp27 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()
68 std::lock_guard<std::mutex> lock(mMutex); in onRefresh()
78 std::lock_guard<std::mutex> lock(mMutex); in onVsync()
/hardware/qcom/sdm845/gps/msm8998/location/
DLocationAPIClientBase.cpp54 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/location/
DLocationAPIClientBase.cpp54 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/sdm845/gps/msm8998/utils/
DLocSharedLock.h44 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/msm8998/utils/
DLocSharedLock.h44 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/
DLocSharedLock.h44 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/sdm845/gps/sdm845/utils/
DLocSharedLock.h44 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/sdm845/gps/msm8996/utils/
DLocSharedLock.h44 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/
DLocSharedLock.h44 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/sdm845/gps/msm8909/utils/
DLocSharedLock.h44 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/
DLocSharedLock.h44 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/sm8150/gps/utils/
DLocSharedLock.h62 pthread_mutex_t mMutex; variable
63 inline ~LocSharedLock() { pthread_mutex_destroy(&mMutex); } in ~LocSharedLock()
66 inline LocSharedLock() : mRef(1) { pthread_mutex_init(&mMutex, NULL); } in LocSharedLock()
72 inline void lock() { pthread_mutex_lock(&mMutex); } in lock()
74 inline void unlock() { pthread_mutex_unlock(&mMutex); } in unlock()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DCallbacks.h121 mutable std::mutex mMutex;
123 bool mNotified GUARDED_BY(mMutex) = false;
195 mutable std::mutex mMutex;
197 bool mNotified GUARDED_BY(mMutex) = false;
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DCallbacks.cpp30 std::lock_guard<std::mutex> hold(mMutex); in notify()
48 std::unique_lock<std::mutex> lock(mMutex); in wait()
66 std::lock_guard<std::mutex> hold(mMutex); in notify()
82 std::unique_lock<std::mutex> lock(mMutex); in wait()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/include/1.2/
DCallbacks.h151 mutable std::mutex mMutex;
153 bool mNotified GUARDED_BY(mMutex) = false;
315 mutable std::mutex mMutex; variable
317 bool mNotified GUARDED_BY(mMutex) = false;
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DGnssAPIClient.cpp84 mMutex.lock(); in gnssUpdateCallbacks()
87 mMutex.unlock(); in gnssUpdateCallbacks()
284 mMutex.lock(); in onCapabilitiesCb()
286 mMutex.unlock(); in onCapabilitiesCb()
330 mMutex.lock(); in onTrackingCb()
332 mMutex.unlock(); in onTrackingCb()
348 mMutex.lock(); in onGnssNiCb()
350 mMutex.unlock(); in onGnssNiCb()
423 mMutex.lock(); in onGnssSvCb()
425 mMutex.unlock(); in onGnssSvCb()
[all …]
/hardware/qcom/sm8150/gps/android/2.0/location_api/
DGnssAPIClient.cpp158 mMutex.lock(); in gnssUpdateCallbacks()
161 mMutex.unlock(); in gnssUpdateCallbacks()
172 mMutex.lock(); in gnssUpdateCallbacks_2_0()
174 mMutex.unlock(); in gnssUpdateCallbacks_2_0()
185 mMutex.lock(); in gnssStart()
187 mMutex.unlock(); in gnssStart()
198 mMutex.lock(); in gnssStop()
200 mMutex.unlock(); in gnssStop()
357 mMutex.lock(); in onCapabilitiesCb()
360 mMutex.unlock(); in onCapabilitiesCb()
[all …]
/hardware/interfaces/neuralnetworks/1.3/vts/functional/include/1.3/
DCallbacks.h181 mutable std::mutex mMutex; variable
183 bool mNotified GUARDED_BY(mMutex) = false;
381 mutable std::mutex mMutex; variable
383 bool mNotified GUARDED_BY(mMutex) = false;
/hardware/qcom/sm8150/gps/android/1.1/location_api/
DGnssAPIClient.cpp90 mMutex.lock(); in gnssUpdateCallbacks()
93 mMutex.unlock(); in gnssUpdateCallbacks()
308 mMutex.lock(); in onCapabilitiesCb()
310 mMutex.unlock(); in onCapabilitiesCb()
357 mMutex.lock(); in onTrackingCb()
359 mMutex.unlock(); in onTrackingCb()
375 mMutex.lock(); in onGnssNiCb()
377 mMutex.unlock(); in onGnssNiCb()
450 mMutex.lock(); in onGnssSvCb()
452 mMutex.unlock(); in onGnssSvCb()
[all …]
/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DGnssAPIClient.cpp89 mMutex.lock(); in gnssUpdateCallbacks()
92 mMutex.unlock(); in gnssUpdateCallbacks()
304 mMutex.lock(); in onCapabilitiesCb()
306 mMutex.unlock(); in onCapabilitiesCb()
353 mMutex.lock(); in onTrackingCb()
355 mMutex.unlock(); in onTrackingCb()
371 mMutex.lock(); in onGnssNiCb()
373 mMutex.unlock(); in onGnssNiCb()
450 mMutex.lock(); in onGnssSvCb()
452 mMutex.unlock(); in onGnssSvCb()
[all …]

12345