Home
last modified time | relevance | path

Searched refs:LockGuard (Results 1 – 23 of 23) 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) : mMutex(mutex) { in LockGuard() function
30 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.cc53 using LockGuard = std::lock_guard<std::mutex>; typedef
113 LockGuard lock(delegate_mutex_); in SetDelegate()
118 LockGuard lock(mutex_); in Enable()
123 LockGuard lock(mutex_); in Disable()
131 LockGuard lock(mutex_); in GetPlayStatusResponse()
149 LockGuard lock(mutex_); in ListPlayerAppAttrResponse()
172 LockGuard lock(mutex_); in GetPlayerAppValueResponse()
183 LockGuard lock(mutex_); in GetPlayerAppAttrTextResponse()
195 LockGuard lock(mutex_); in GetPlayerAppValueTextResponse()
207 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/shared/
Dlog_buffer.cc55 LockGuard<Mutex> lockGuard(mLock); in handleLogVa()
94 LockGuard<Mutex> lock(mLock); in copyLogs()
99 LockGuard<Mutex> lock(mLock); in logWouldCauseOverflow()
105 LockGuard<Mutex> lockGuardOther(buffer.mLock); in transferTo()
109 LockGuard<Mutex> lockGuardThis(mLock); in transferTo()
127 LockGuard<Mutex> lock(mLock); in updateNotificationSetting()
134 LockGuard<Mutex> lock(mLock); in reset()
143 LockGuard<Mutex> lockGuard(mLock); in getBufferSize()
148 LockGuard<Mutex> lockGuard(mLock); in getNumLogsDropped()
Ddram_vote_client.cc29 LockGuard<Mutex> lock(mMutex); in voteDramAccess()
40 LockGuard<Mutex> lock(mMutex); in incrementDramVoteCount()
61 LockGuard<Mutex> lock(mMutex); in decrementDramVoteCount()
Dlog_buffer_manager.cc35 LockGuard<Mutex> lockGuard(mFlushLogsMutex); in onLogsReady()
55 LockGuard<Mutex> lockGuard(mFlushLogsMutex); in onLogsSentToHost()
60 LockGuard<Mutex> lockGuard(mFlushLogsMutex); in startSendLogsToHostLoop()
122 LockGuard<Mutex> lockGuard(mFlushLogsMutex); in logVa()
/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.cc33 LockGuard<Mutex> lock(mMutex); in applyCalibration()
59 LockGuard<Mutex> lock(mMutex); in getBias()
137 LockGuard<Mutex> lock(mMutex); in updateCalibration()
Dsee_helper.cc1638 LockGuard<Mutex> lock(mMutex); in handleSeeResp()
1824 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1838 LockGuard<Mutex> lock(mMutex); in sendSeeReqSync()
1898 LockGuard<Mutex> lock(mMutex); in prepareWaitForInd()
1911 LockGuard<Mutex> lock(mMutex); in waitForInd()
/system/chre/platform/slpi/
Dinit.cc53 using chre::LockGuard;
171 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_start_thread()
251 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_stop_thread()
294 LockGuard<Mutex> lock(gThreadMutex); in chre_slpi_initialize_reverse_monitor()
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc121 chre::LockGuard<chre::Mutex> lock(mutex_); in scanMonitorStatusChangeCallback()
134 chre::LockGuard<chre::Mutex> lock(mutex_); in scanResponseCallback()
144 chre::LockGuard<chre::Mutex> lock(mutex_); in scanEventCallback()
193 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
243 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_F()
Dgnss_pal_impl_test.cc189 chre::LockGuard<chre::Mutex> lock(mutex_); in locationStatusChangeCallback()
197 chre::LockGuard<chre::Mutex> lock(mutex_); in locationEventCallback()
214 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementStatusChangeCallback()
222 chre::LockGuard<chre::Mutex> lock(mutex_); in measurementEventCallback()
253 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_P()
293 chre::LockGuard<chre::Mutex> lock(mutex_); in TEST_P()
/system/chre/core/
Dsensor.cc112 LockGuard<Mutex> mLock(mSamplingStatusMutex); in getSamplingStatus()
119 LockGuard<Mutex> mLock(mSamplingStatusMutex); in setSamplingStatus()
Dtimer_pool.cc53 LockGuard<Mutex> lock(mMutex); in setTimer()
82 LockGuard<Mutex> lock(mMutex); in cancelTimer()
217 LockGuard<Mutex> lock(mMutex); in handleExpiredTimersAndScheduleNext()
Devent_loop.cc175 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
193 LockGuard<Mutex> lock(mNanoappsLock); in startNanoapp()
506 LockGuard<Mutex> lock(mNanoappsLock); in unloadNanoappAtIndex()
/system/chre/platform/shared/include/chre/platform/shared/
Ddram_vote_client.h37 LockGuard<Mutex> lock(mMutex); in isDramVoteActive()