Home
last modified time | relevance | path

Searched refs:LockGuard (Results 1 – 19 of 19) 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()
[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/btif/src/
Dbtif_a2dp_sink.cc43 using LockGuard = std::lock_guard<std::mutex>; typedef
173 LockGuard lock(g_mutex); in btif_a2dp_sink_init()
217 LockGuard lock(g_mutex); in btif_a2dp_sink_startup_delayed()
239 LockGuard lock(g_mutex); in btif_a2dp_sink_start_session_delayed()
281 LockGuard lock(g_mutex); in btif_a2dp_sink_end_session_delayed()
293 LockGuard lock(g_mutex); in btif_a2dp_sink_shutdown_delayed()
306 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup()
329 LockGuard lock(g_mutex); in btif_a2dp_sink_cleanup_delayed()
337 LockGuard lock(g_mutex); in btif_a2dp_sink_get_sample_rate()
342 LockGuard lock(g_mutex); in btif_a2dp_sink_get_bits_per_sample()
[all …]
/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()
146 LockGuard<Mutex> lock(mMutex); in updateCalibration()
Dsee_helper.cc1612 LockGuard<Mutex> lock(mMutex); in handleSeeResp()
1792 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1806 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1866 LockGuard<Mutex> lock(mMutex); in prepareWaitForInd()
1879 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/pal/tests/src/
Dgnss_pal_impl_test.cc187 chre::LockGuard<chre::Mutex> lock(mutex_); in locationStatusChangeCallback()
195 chre::LockGuard<chre::Mutex> lock(mutex_); in locationEventCallback()
212 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementStatusChangeCallback()
220 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementEventCallback()
251 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
290 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
Dwifi_pal_impl_test.cc150 chre::LockGuard<chre::Mutex> lock(mutex_); in scanMonitorStatusChangeCallback()
163 chre::LockGuard<chre::Mutex> lock(mutex_); in scanResponseCallback()
173 chre::LockGuard<chre::Mutex> lock(mutex_); in scanEventCallback()
222 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
272 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
/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.cc165 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
183 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
469 LockGuard<Mutex> lock(mNanoappsLock); in unloadNanoappAtIndex()