Home
last modified time | relevance | path

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

12

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession.cpp68 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionStarted() local
95 std::lock_guard<std::recursive_mutex> guard(mutex_); in OnSessionEnded() local
131 std::lock_guard<std::recursive_mutex> guard(mutex_); in ReportControlStatus() local
152 std::lock_guard<std::recursive_mutex> guard(mutex_); in IsSessionReady() local
203 std::lock_guard<std::recursive_mutex> guard(mutex_); in RegisterStatusCback() local
230 std::lock_guard<std::recursive_mutex> guard(mutex_); in UnregisterStatusCback() local
241 std::lock_guard<std::recursive_mutex> guard(mutex_); in GetAudioConfig() local
254 std::lock_guard<std::recursive_mutex> guard(mutex_); in StartStream() local
270 std::lock_guard<std::recursive_mutex> guard(mutex_); in SuspendStream() local
286 std::lock_guard<std::recursive_mutex> guard(mutex_); in StopStream() local
[all …]
DBluetoothAudioSession_2_1.cpp72 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in GetAudioConfig() local
159 std::lock_guard<std::recursive_mutex> guard(audio_session->mutex_); in OnSessionStarted() local
192 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/neuralnetworks/utils/common/src/
DProtectCallback.cpp35 std::lock_guard guard(mMutex); in serviceDied() local
44 std::lock_guard guard(mMutex); in add() local
54 std::lock_guard guard(mMutex); in remove() local
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
DResilientBurst.cpp85 std::lock_guard guard(mMutex); in getBurst() local
90 std::lock_guard guard(mMutex); in recover() local
DResilientPreparedModel.cpp89 std::lock_guard guard(mMutex); in getPreparedModel() local
95 std::lock_guard guard(mMutex); in recover() local
DResilientDevice.cpp103 std::lock_guard guard(mMutex); in getDevice() local
109 std::lock_guard guard(mMutex); in recover() local
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerSessionManager.cpp58 std::lock_guard<std::mutex> guard(mLock); in addPowerSession() local
78 std::lock_guard<std::mutex> guard(mLock); in removePowerSession() local
96 std::lock_guard<std::mutex> guard(mLock); in isAnySessionActive() local
DPowerHintSession.cpp184 std::lock_guard<std::mutex> guard(mLock); in setUclamp() local
434 std::lock_guard<std::mutex> guard(mStaleLock); in updateStaleTimer() local
462 std::lock_guard<std::mutex> guard(mStaleLock); in handleMessage() local
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DProtectCallback.cpp38 std::lock_guard guard(mMutex); in serviceDied() local
50 std::lock_guard guard(mMutex); in add() local
56 std::lock_guard guard(mMutex); in remove() local
DBurst.cpp138 std::lock_guard guard(mMutex); in tryFreeMemory() local
220 const auto guard = ::android::base::make_scope_guard([this] { mExecutionInFlight.clear(); }); in executeInternal() 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
Dv4l2_camera.cpp189 std::lock_guard<std::mutex> guard(request_queue_lock_); in enqueueRequest() local
317 std::lock_guard<std::mutex> guard(in_flight_lock_); in setupStreams() 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/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/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.cpp178 AutoMutex guard(seHalLock); in getAtr() local
238 AutoMutex guard(seHalLock); in transmit() local
291 AutoMutex guard(seHalLock); in openLogicalChannel() local
460 AutoMutex guard(seHalLock); in openBasicChannel() local
611 AutoMutex guard(seHalLock); in closeChannel() local
/hardware/nxp/secure_element/snxxx/1.2/
DSecureElement.cpp194 AutoMutex guard(seHalLock); in getAtr() local
261 AutoMutex guard(seHalLock); in transmit() local
330 AutoMutex guard(seHalLock); in openLogicalChannel() local
510 AutoMutex guard(seHalLock); in openBasicChannel() local
706 AutoMutex guard(seHalLock); in closeChannel() local
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DExecutionBurstServer.cpp75 std::lock_guard guard(mMutex); in getCacheEntries() local
143 std::lock_guard guard(mMutex); in removeCacheEntry() local
/hardware/interfaces/automotive/vehicle/2.0/vts/functional/
DVtsHalAutomotiveVehicleV2_0TargetTest.cpp46 MutexGuard guard(mLock); in onPropertyEvent() local
/hardware/qcom/sm7250/display/sdm/libs/core/
Ddisplay_builtin.cpp929 std::lock_guard<std::mutex> guard(lock_); in Init() local
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.cpp103 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread() local
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.cpp105 std::lock_guard<std::mutex> guard(hwc_uevent->mutex_); in UEventThread() local

12