Home
last modified time | relevance | path

Searched refs:LockGuard (Results 1 – 17 of 17) sorted by relevance

/system/chre/util/include/chre/util/
Dfixed_size_blocking_queue_impl.h30 LockGuard<Mutex> lock(mMutex); in push()
43 LockGuard<Mutex> lock(mMutex); in push()
54 LockGuard<Mutex> lock(mMutex); in pop()
66 LockGuard<Mutex> lock(mMutex); in empty()
72 LockGuard<Mutex> lock(mMutex); in size()
78 LockGuard<Mutex> lock(mMutex); in remove()
85 LockGuard<Mutex> lock(mMutex);
92 LockGuard<Mutex> lock(mMutex);
Dlock_guard_impl.h25 LockGuard<MutexType>::LockGuard(MutexType& mutex) in LockGuard() function
31 LockGuard<MutexType>::~LockGuard() { in ~LockGuard()
Dlock_guard.h30 class LockGuard : public NonCopyable {
35 LockGuard(MutexType& mutex);
40 ~LockGuard();
Dsynchronized_memory_pool_impl.h29 LockGuard<Mutex> lock(mMutex); in allocate()
36 LockGuard<Mutex> lock(mMutex); in deallocate()
42 LockGuard<Mutex> lock(mMutex); in getFreeBlockCount()
/system/bt/service/
Davrcp_target.cc52 using LockGuard = std::lock_guard<std::mutex>; typedef
112 LockGuard lock(delegate_mutex_); in SetDelegate()
117 LockGuard lock(mutex_); in Enable()
122 LockGuard lock(mutex_); in Disable()
130 LockGuard lock(mutex_); in GetPlayStatusResponse()
148 LockGuard lock(mutex_); in ListPlayerAppAttrResponse()
171 LockGuard lock(mutex_); in GetPlayerAppValueResponse()
182 LockGuard lock(mutex_); in GetPlayerAppAttrTextResponse()
194 LockGuard lock(mutex_); in GetPlayerAppValueTextResponse()
206 LockGuard lock(mutex_); in GetElementAttrResponse()
[all …]
Da2dp_source.cc45 using LockGuard = std::lock_guard<std::mutex>; typedef
120 LockGuard lock(delegate_mutex_); in SetDelegate()
126 LockGuard lock(mutex_); in Enable()
132 LockGuard lock(mutex_); in Disable()
138 LockGuard lock(mutex_); in Connect()
146 LockGuard lock(mutex_); in Disconnect()
157 LockGuard lock(mutex_); in ConfigCodec()
168 LockGuard lock(delegate_mutex_); in ConnectionStateCallback()
177 LockGuard lock(delegate_mutex_); in AudioStateCallback()
195 LockGuard lock(delegate_mutex_); in AudioConfigCallback()
/system/bt/btif/src/
Dbtif_a2dp_sink.cc43 using LockGuard = std::lock_guard<std::mutex>; typedef
167 LockGuard lock(g_mutex); in btif_a2dp_sink_init()
211 LockGuard lock(g_mutex); in btif_a2dp_sink_startup_delayed()
233 LockGuard lock(g_mutex); in btif_a2dp_sink_start_session_delayed()
276 LockGuard lock(g_mutex); in btif_a2dp_sink_end_session_delayed()
288 LockGuard lock(g_mutex); in btif_a2dp_sink_shutdown_delayed()
301 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup()
324 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup_delayed()
332 LockGuard lock(g_mutex); in btif_a2dp_sink_get_sample_rate()
337 LockGuard lock(g_mutex); in btif_a2dp_sink_get_bits_per_sample()
[all …]
/system/chre/util/tests/
Dlock_guard_test.cc21 using chre::LockGuard;
43 TEST(LockGuard, LockUnlock) { in TEST() argument
48 LockGuard<MockMutex> lock(mutex); in TEST()
/system/bt/service/ipc/binder/
Dbluetooth_a2dp_source_binder_server.cc66 using LockGuard = std::lock_guard<std::mutex>; typedef
128 LockGuard lock(*maps_lock()); in Enable()
134 LockGuard lock(*maps_lock()); in Disable()
142 LockGuard lock(*maps_lock()); in Connect()
149 LockGuard lock(*maps_lock()); in Disconnect()
161 LockGuard lock(*maps_lock()); in ConfigCodec()
169 LockGuard lock(*maps_lock()); in OnConnectionState()
176 LockGuard lock(*maps_lock()); in OnAudioState()
191 LockGuard lock(*maps_lock()); in OnAudioConfig()
Dbluetooth_avrcp_target_binder_server.cc68 using LockGuard = std::lock_guard<std::mutex>; typedef
217 LockGuard lock(*maps_lock()); in OnGetRemoteFeatures()
224 LockGuard lock(*maps_lock()); in OnGetPlayStatus()
231 LockGuard lock(*maps_lock()); in OnListPlayerAppAttr()
238 LockGuard lock(*maps_lock()); in OnListPlayerAppValues()
245 LockGuard lock(*maps_lock()); in OnGetPlayerAppValue()
252 LockGuard lock(*maps_lock()); in OnGetPlayerAppAttrsText()
260 LockGuard lock(*maps_lock()); in OnGetPlayerAppValuesText()
275 LockGuard lock(*maps_lock()); in OnSetPlayerAppValue()
282 LockGuard lock(*maps_lock()); in OnGetElementAttrs()
[all …]
/system/chre/platform/slpi/smgr/
Dsmr_helper.cc45 LockGuard<Mutex> lock(mMutex); in releaseSync()
77 LockGuard<Mutex> lock(mMutex); in waitForService()
151 LockGuard<Mutex> lock(mMutex); in sendReqSyncUntyped()
179 LockGuard<Mutex> lock(mMutex); in handleResp()
200 LockGuard<Mutex> lock(mMutex); in prepareForWait()
207 LockGuard<Mutex> lock(obj->mMutex); in smrReleaseCb()
225 LockGuard<Mutex> lock(obj->mMutex); in smrWaitForServiceCb()
/system/chre/platform/slpi/see/
Disland_vote_client.cc53 LockGuard<Mutex> lock(mMutex); in voteBigImage()
70 LockGuard<Mutex> lock(mMutex); in incrementBigImageRefCount()
88 LockGuard<Mutex> lock(mMutex); in decrementBigImageRefCount()
Dsee_cal_helper.cc32 LockGuard<Mutex> lock(mMutex); in applyCalibration()
58 LockGuard<Mutex> lock(mMutex); in getBias()
121 LockGuard<Mutex> lock(mMutex); in updateCalibration()
Dsee_helper.cc1569 LockGuard<Mutex> lock(mMutex); in handleSeeResp()
1749 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1763 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1823 LockGuard<Mutex> lock(mMutex); in prepareWaitForInd()
1836 LockGuard<Mutex> lock(mMutex); in waitForInd()
/system/chre/platform/slpi/
Dinit.cc46 using chre::LockGuard;
160 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_start_thread()
234 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_stop_thread()
277 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_initialize_reverse_monitor()
/system/chre/core/
Dtimer_pool.cc50 LockGuard<Mutex> lock(mMutex); in setTimer()
80 LockGuard<Mutex> lock(mMutex); in cancelTimer()
215 LockGuard<Mutex> lock(mMutex); in handleExpiredTimersAndScheduleNext()
Devent_loop.cc163 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
181 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
456 LockGuard<Mutex> lock(mNanoappsLock); in unloadNanoappAtIndex()