Home
last modified time | relevance | path

Searched refs:guard (Results 1 – 25 of 64) sorted by relevance

123

/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/audio/aidl/default/r_submix/
DSubmixRoute.h75 std::lock_guard guard(mLock); in isStreamInOpen()
79 std::lock_guard guard(mLock); in getStreamInStandby()
83 std::lock_guard guard(mLock); in isStreamOutOpen()
87 std::lock_guard guard(mLock); in getStreamOutStandby()
91 std::lock_guard guard(mLock); in getReadCounterFrames()
95 std::lock_guard guard(mLock); in getSink()
99 std::lock_guard guard(mLock); in getSource()
103 std::lock_guard guard(mLock); in getPipeConfig()
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/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/aidl/utils/src/
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
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
/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/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 …]
/hardware/google/gfxstream/host/vulkan/
DVkQsriTimeline.h20 std::lock_guard<std::mutex> guard(mLock); in signalNextPresentAndPoll()
26 std::lock_guard<std::mutex> guard(mLock); in registerCallbackForNextPresentAndPoll()
35 std::lock_guard<std::mutex> guard(mLock); in ~VkQsriTimeline()
/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
/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
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_entrypoints.py38 self.guard = None
52 self.guard = None
133 e.guard = r.guard
Dvk_entrypoints_gen.py298 guard = os.path.basename(args.out_h).replace('.', '_').upper()
299 f.write(TEMPLATE_H.render(guard=guard, **environment))
Dvk_physical_device_features_gen.py369 guard = required[_type.attrib['name']].guard
370 if guard is not None and (guard != "VK_ENABLE_BETA_EXTENSIONS" or not beta):
Dvk_cmd_queue_gen.py487 if type.guard is not None:
488 guard_pre_stmt = "#ifdef %s" % type.guard
599 …me=_type.attrib['name'], enum=type_enum, members=members, extended_by=[], guard=types_to_defines.g…
668 guard = os.path.basename(args.out_h).replace('.', '_').upper()
669 f.write(TEMPLATE_H.render(guard=guard, **environment))
Dvk_physical_device_properties_gen.py225 guard = required[full_name].guard
226 if guard is not None and (guard != "VK_ENABLE_BETA_EXTENSIONS" or not beta):
/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/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/google/gfxstream/utils/include/utils/
DRenderDoc.h70 std::lock_guard<std::mutex> guard(mMutex); in call()
87 std::lock_guard<std::mutex> guard(mMutex); in onFrameDelimiter()
96 std::lock_guard<std::mutex> guard(mMutex); in removeVkInstance()
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_format_info_gen.py230 guard = os.path.basename(args.out_h).replace('.', '_').upper()
231 f.write(TEMPLATE_H.render(guard=guard, **environment))
/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/interfaces/neuralnetworks/utils/common/src/
DResilientBuffer.cpp82 std::lock_guard guard(mMutex); in getBuffer() local
87 std::lock_guard guard(mMutex); in recover() 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

123