Home
last modified time | relevance | path

Searched defs:guard (Results 1 – 25 of 43) sorted by relevance

12

/hardware/interfaces/nfc/aidl/vts/functional/
DVtsNfcBehaviorChangesTest.cpp55 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
64 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
72 SyncEventGuard guard(sNfaPowerChangeEvent); in nfaDeviceManagementCallback() local
88 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
93 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
102 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
111 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
125 SyncEventGuard guard(sNfaVsCommand); in nfaVSCallback() local
184 SyncEventGuard guard(sNfaEnableEvent); in SetUp() local
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioSession.cpp61 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted() local
84 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded() local
102 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig() local
124 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportAudioConfigChanged() local
181 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady() local
205 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback() local
229 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback() local
244 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream() local
260 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream() local
276 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream() local
[all …]
/hardware/interfaces/audio/aidl/default/r_submix/
DSubmixRoute.cpp105 std::lock_guard guard(mLock); in isStreamConfigCompatible() local
128 std::lock_guard guard(mLock); in hasAtleastOneStreamOpen() local
139 std::lock_guard guard(mLock); in shouldBlockWrite() local
144 std::lock_guard guard(mLock); in updateReadCounterFrames() local
150 std::lock_guard guard(mLock); in openStream() local
169 std::lock_guard guard(mLock); in closeStream() local
229 std::lock_guard guard(mLock); in createPipe() local
241 std::lock_guard guard(mLock); in releasePipe() local
252 std::lock_guard guard(mLock); in standby() local
263 std::lock_guard guard(mLock); in exitStandby() local
/hardware/interfaces/bluetooth/async/
Dasync_fd_watcher.cc42 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
55 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local
95 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
100 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local
149 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
166 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBufferTracker.cpp63 std::lock_guard<std::mutex> guard(mMutex); in validateRequest() local
165 std::lock_guard<std::mutex> guard(mMutex); in validateCopyTo() local
180 std::lock_guard<std::mutex> guard(mMutex); in updateDimensions() local
186 std::lock_guard<std::mutex> guard(mMutex); in setInitialized() local
195 std::lock_guard<std::mutex> guard(mMutex); in add() local
210 std::lock_guard<std::mutex> guard(mMutex); in get() local
219 std::lock_guard<std::mutex> guard(mMutex); in free() local
DProtectCallback.cpp48 std::lock_guard guard(mMutex); in serviceDied() local
56 std::lock_guard<std::mutex> guard(sCookiesMutex); in serviceDied() local
76 std::lock_guard guard(mMutex); in add() local
82 std::lock_guard guard(mMutex); in remove() local
89 std::lock_guard<std::mutex> guard(sCookiesMutex); in ~DeathMonitor() local
101 std::lock_guard<std::mutex> guard(sCookiesMutex); in create() local
/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession.cpp71 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted() local
98 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded() local
134 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportControlStatus() local
157 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady() local
211 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback() local
241 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback() local
255 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig() local
270 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream() local
288 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream() local
306 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream() local
[all …]
DBluetoothAudioSession_2_1.cpp94 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in GetAudioConfig() local
181 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in OnSessionStarted() local
214 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetSessionInstance() local
/hardware/interfaces/bluetooth/1.0/default/
Dasync_fd_watcher.cc46 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
59 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local
99 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
104 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local
161 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
178 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
/hardware/interfaces/audio/aidl/default/bluetooth/
DStreamBluetooth.cpp70 std::lock_guard guard(mLock); in init() local
95 std::lock_guard guard(mLock); in transfer() local
158 std::lock_guard guard(mLock); in prepareToClose() local
168 std::lock_guard guard(mLock); in standby() local
174 std::lock_guard guard(mLock); in start() local
180 std::lock_guard guard(mLock); in shutdown() local
188 std::lock_guard guard(mLock); in updateMetadataCommon() local
220 std::lock_guard guard(mLock); in bluetoothParametersUpdated() local
DDevicePortProxy.cpp102 std::lock_guard guard(mCvMutex); in registerPort() local
168 std::lock_guard guard(mCvMutex); in controlResultHandler() local
236 std::lock_guard guard(mCvMutex); in sessionChangedHandler() local
311 std::lock_guard guard(mCvMutex); in standby() local
458 std::lock_guard guard(mCvMutex); in stop() local
553 std::lock_guard guard(mCvMutex); in setState() local
/hardware/interfaces/audio/aidl/default/usb/
DUsbAlsaMixerControl.cpp42 const std::lock_guard guard(mLock); in setDeviceConnectionState() local
45 const std::lock_guard guard(mLock); in setDeviceConnectionState() local
88 const std::lock_guard guard(mLock); in getAlsaMixer() local
94 const std::lock_guard guard(mLock); in getAlsaMixers() local
DStreamUsb.cpp56 std::lock_guard guard(mLock); in setConnectedDevices() local
76 std::lock_guard guard(mLock); in getDeviceProfiles() local
/hardware/interfaces/bluetooth/aidl/default/
DBluetoothHci.cpp91 std::lock_guard<std::mutex> guard(mHasDiedMutex); in serviceDied() local
100 std::lock_guard<std::mutex> guard(mHasDiedMutex); in getHasDied() local
211 std::lock_guard<std::mutex> guard(mStateMutex); in initialize() local
282 std::lock_guard<std::mutex> guard(mStateMutex); in initialize() local
302 std::lock_guard<std::mutex> guard(mStateMutex); in close() local
321 std::lock_guard<std::mutex> guard(mStateMutex); in close() local
355 std::lock_guard<std::mutex> guard(mStateMutex); in send() local
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DProtectCallback.cpp36 std::lock_guard guard(mMutex); in serviceDied() local
45 std::lock_guard guard(mMutex); in add() local
55 std::lock_guard guard(mMutex); in remove() local
/hardware/qcom/sm7150/gps/utils/
DLogBuffer.cpp44 lock_guard<mutex> guard(sLock); in getInstance() local
74 lock_guard<mutex> guard(mLock); in append() local
88 lock_guard<mutex> guard(mLock); in dump() local
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.cpp593 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in EnqueueRequest() local
619 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in EnqueueRequest() local
628 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in EnqueueRequest() local
647 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in EnqueueRequest() local
677 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in DequeueRequest() local
727 std::lock_guard<std::mutex> guard(buffer_queue_lock_); in GetInFlightBufferCount() local
/hardware/qcom/sm8150/gps/utils/
DLogBuffer.cpp49 lock_guard<mutex> guard(sLock); in getInstance() local
79 lock_guard<mutex> guard(mLock); in append() local
93 lock_guard<mutex> guard(mLock); in dump() local
/hardware/qcom/sm7250/gps/utils/
DLogBuffer.cpp49 lock_guard<mutex> guard(sLock); in getInstance() local
79 lock_guard<mutex> guard(mLock); in append() local
93 lock_guard<mutex> guard(mLock); in dump() local
/hardware/qcom/sm7250/display/sde-drm/
Ddrm_dpps_mgr_imp.cpp206 std::lock_guard<std::mutex> guard(api_lock_); in Init() local
319 std::lock_guard<std::mutex> guard(api_lock_); in CacheDppsFeature() local
346 std::lock_guard<std::mutex> guard(api_lock_); in CommitDppsFeatures() local
408 std::lock_guard<std::mutex> guard(api_lock_); in GetDppsFeatureInfo() local
/hardware/nxp/secure_element/snxxx/1.1/
DSecureElement.cpp204 AutoMutex guard(seHalLock); in getAtr() local
264 AutoMutex guard(seHalLock); in transmit() local
317 AutoMutex guard(seHalLock); in openLogicalChannel() local
497 AutoMutex guard(seHalLock); in openBasicChannel() local
651 AutoMutex guard(seHalLock); in closeChannel() local
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp82 std::lock_guard guard(mMutex); in getBuffer() local
87 std::lock_guard guard(mMutex); in recover() local
DResilientExecution.cpp86 std::lock_guard guard(mMutex); in getExecution() local
92 std::lock_guard guard(mMutex); in recover() local
/hardware/nxp/secure_element/snxxx/aidl/
DSecureElement.cpp173 AutoMutex guard(seHalLock); in getAtr() local
244 AutoMutex guard(seHalLock); in transmit() local
323 AutoMutex guard(seHalLock); in openLogicalChannel() local
540 AutoMutex guard(seHalLock); in openBasicChannel() local
776 AutoMutex guard(seHalLock); in closeChannel() local
/hardware/nxp/secure_element/snxxx/1.2/
DSecureElement.cpp266 AutoMutex guard(seHalLock); in getAtr() local
334 AutoMutex guard(seHalLock); in transmit() local
404 AutoMutex guard(seHalLock); in openLogicalChannel() local
621 AutoMutex guard(seHalLock); in openBasicChannel() local
842 AutoMutex guard(seHalLock); in closeChannel() local

12