Home
last modified time | relevance | path

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

1234

/packages/modules/DnsResolver/tests/
Ddoh_frontend.cpp45 std::lock_guard guard(mMutex); in startServer() local
62 std::lock_guard guard(mMutex); in stopServer() local
69 std::lock_guard guard(mMutex); in queries() local
78 std::lock_guard guard(mMutex); in connections() local
87 std::lock_guard guard(mMutex); in aliveConnections() local
96 std::lock_guard guard(mMutex); in resumedConnections() local
105 std::lock_guard guard(mMutex); in earlyDataConnections() local
114 std::lock_guard guard(mMutex); in clearQueries() local
129 std::lock_guard guard(mMutex); in setMaxIdleTimeout() local
136 std::lock_guard guard(mMutex); in setMaxBufferSize() local
[all …]
/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp140 SyncEventGuard guard(mEeRegisterEvent); in initialize() local
153 SyncEventGuard guard(mEeInfoEvent); in initialize() local
187 SyncEventGuard guard(mRoutingEvent); in enableRoutingToHost() local
253 SyncEventGuard guard(mRoutingEvent); in disableRoutingToHost() local
350 SyncEventGuard guard(mRoutingEvent); in addAidRouting() local
369 SyncEventGuard guard(mRoutingEvent); in removeAidRouting() local
393 SyncEventGuard guard(mEeUpdateEvent); in commitRouting() local
428 SyncEventGuard guard(mEeSetModeEvent); in onNfccShutdown() local
625 SyncEventGuard guard(mRoutingEvent); in updateDefaultProtocolRoute() local
648 SyncEventGuard guard(mRoutingEvent); in updateDefaultRoute() local
[all …]
DPeerToPeer.cpp481 SyncEventGuard guard(pSrv->mConnRequestEvent); in deregisterServer() local
542 SyncEventGuard guard(mClients[i]->mRegisteringEvent); in createClient() local
672 SyncEventGuard guard(pClient->mConnectingEvent); in createDataLinkConn() local
865 SyncEventGuard guard(pConn->mCongEvent); in send() local
940 SyncEventGuard guard(pConn->mReadEvent); in receive() local
979 SyncEventGuard guard(pClient->mConnectingEvent); in disconnectConnOriented() local
996 SyncEventGuard guard(pConn->mDisconnectingEvent); in disconnectConnOriented() local
1126 SyncEventGuard guard(mSetTechEvent); in enableP2pListening() local
1134 SyncEventGuard guard(mSetTechEvent); in enableP2pListening() local
1174 SyncEventGuard guard(mClients[ii]->mConnectingEvent); in handleNfcOnOff() local
[all …]
DNativeNfcManager.cpp292 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
302 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
312 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
324 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
756 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
766 SyncEventGuard guard(sNfaDisableEvent); in nfaDeviceManagementCallback() local
778 SyncEventGuard guard(gNfaSetConfigEvent); in nfaDeviceManagementCallback() local
787 SyncEventGuard guard(gNfaGetConfigEvent); in nfaDeviceManagementCallback() local
847 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaDeviceManagementCallback() local
853 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaDataQueue.cpp31 std::lock_guard<std::mutex> guard(mMutex); in Add() local
41 std::lock_guard<std::mutex> guard(mMutex); in InsertAt() local
63 std::lock_guard<std::mutex> guard(mMutex); in Delete() local
89 std::lock_guard<std::mutex> guard(mMutex); in Get() local
111 std::lock_guard<std::mutex> guard(mMutex); in GetLast() local
132 std::lock_guard<std::mutex> guard(mMutex); in GetAt() local
150 std::lock_guard<std::mutex> guard(mMutex); in GetCount() local
156 std::lock_guard<std::mutex> guard(mMutex); in SetReadPosFirst() local
167 std::lock_guard<std::mutex> guard(mMutex); in GetNext() local
DIImsMediaThread.cpp44 std::lock_guard<std::mutex> guard(mThreadMutex); in StartThread() local
59 std::lock_guard<std::mutex> guard(mThreadMutex); in StopThread() local
65 std::lock_guard<std::mutex> guard(mThreadMutex); in IsThreadStopped() local
/packages/modules/DnsResolver/
DDnsTlsQueryMap.cpp35 std::lock_guard guard(mLock); in recordQuery() local
66 std::lock_guard guard(mLock); in markTried() local
74 std::lock_guard guard(mLock); in cleanup() local
113 std::lock_guard guard(mLock); in getAll() local
123 std::lock_guard guard(mLock); in empty() local
128 std::lock_guard guard(mLock); in clear() local
142 std::lock_guard guard(mLock); in onResponse() local
DDns64Configuration.cpp54 std::lock_guard guard(mMutex); in startPrefixDiscovery() local
110 std::lock_guard guard(mMutex); in stopPrefixDiscovery() local
123 std::lock_guard guard(mMutex); in getPrefix64() local
130 std::lock_guard guard(mMutex); in dump() local
215 std::lock_guard guard(mMutex); in shouldContinueDiscovery() local
233 std::lock_guard guard(mMutex); in recordDns64Config() local
247 std::lock_guard guard(mMutex); in setPrefix64() local
267 std::lock_guard guard(mMutex); in clearPrefix64() local
DExperiments.cpp46 std::lock_guard guard(mMutex); in dump() local
59 std::lock_guard guard(mMutex); in updateInternal() local
66 std::lock_guard guard(mMutex); in getFlag() local
DPrivateDnsConfiguration.cpp86 std::lock_guard guard(mPrivateDnsLock); in set() local
161 std::lock_guard guard(mPrivateDnsLock); in getStatus() local
197 std::lock_guard guard(mPrivateDnsLock); in getStatusForMetrics() local
254 std::lock_guard guard(mPrivateDnsLock); in clear() local
269 std::lock_guard guard(mPrivateDnsLock); in requestDotValidation() local
399 std::lock_guard guard(mPrivateDnsLock); in recordDotValidation() local
490 std::lock_guard guard(mPrivateDnsLock); in getDotServer() local
511 std::lock_guard guard(mPrivateDnsLock); in setObserver() local
516 std::lock_guard guard(mPrivateDnsLock); in getDohServer() local
547 std::lock_guard guard(mPrivateDnsLock); in initDoh() local
[all …]
/packages/modules/NeuralNetworks/common/
DHalBufferTracker.cpp64 std::lock_guard<std::mutex> guard(mMutex); in validateRequest() local
166 std::lock_guard<std::mutex> guard(mMutex); in validateCopyTo() local
181 std::lock_guard<std::mutex> guard(mMutex); in updateDimensions() local
187 std::lock_guard<std::mutex> guard(mMutex); in setInitialized() local
196 std::lock_guard<std::mutex> guard(mMutex); in add() local
211 std::lock_guard<std::mutex> guard(mMutex); in get() local
220 std::lock_guard<std::mutex> guard(mMutex); in free() local
DBufferTracker.cpp64 std::lock_guard<std::mutex> guard(mMutex); in validateRequest() local
163 std::lock_guard<std::mutex> guard(mMutex); in validateCopyTo() local
178 std::lock_guard<std::mutex> guard(mMutex); in updateDimensions() local
184 std::lock_guard<std::mutex> guard(mMutex); in setInitialized() local
203 std::lock_guard<std::mutex> guard(mMutex); in add() local
219 std::lock_guard<std::mutex> guard(mMutex); in get() local
229 std::lock_guard<std::mutex> guard(mMutex); in free() local
/packages/modules/Bluetooth/system/vendor_libs/linux/interface/
Dasync_fd_watcher.cc45 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
58 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local
98 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
103 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local
162 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local
181 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
/packages/providers/MediaProvider/jni/
Dnode.cpp62 std::lock_guard<std::recursive_mutex> guard(*lock_); in BuildPath() local
70 std::lock_guard<std::recursive_mutex> guard(*lock_); in BuildSafePath() local
84 std::lock_guard<std::recursive_mutex> guard(*root->lock_); in LookupAbsolutePath() local
99 std::lock_guard<std::recursive_mutex> guard(*root->lock_); in LookupInode() local
115 std::lock_guard<std::recursive_mutex> guard(*tree->lock_); in DeleteTree() local
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dasync_manager.cc101 std::unique_lock<std::recursive_mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local
119 std::unique_lock<std::recursive_mutex> guard(internal_mutex_); in StopWatchingFileDescriptor() local
144 std::unique_lock<std::recursive_mutex> guard(internal_mutex_); in stopThread() local
194 std::unique_lock<std::recursive_mutex> guard(internal_mutex_); in setUpFileDescriptorSet() local
219 std::unique_lock<std::recursive_mutex> guard(internal_mutex_); in runAppropriateCallbacks() local
289 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTask() local
295 std::unique_lock<std::mutex> guard(internal_mutex_); in CancelAsyncTasksFromUser() local
307 std::unique_lock<std::mutex> guard(synchronization_mutex_); in Synchronize() local
319 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local
411 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local
[all …]
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dparameter_provider.rs40 let guard = self.lock.lock().unwrap(); in config_file_path() localVariable
48 let guard = self.lock.lock().unwrap(); in override_config_file_path() localVariable
55 let guard = self.lock.lock().unwrap(); in snoop_log_file_path() localVariable
63 let guard = self.lock.lock().unwrap(); in override_snoop_file_path() localVariable
70 let guard = self.lock.lock().unwrap(); in snooz_log_file_path() localVariable
78 let guard = self.lock.lock().unwrap(); in override_snooz_file_path() localVariable
85 let guard = self.lock.lock().unwrap(); in get_bt_keystore_interface() localVariable
96 let guard = self.lock.lock().unwrap(); in set_bt_keystore_interface() localVariable
103 let guard = self.lock.lock().unwrap(); in is_common_criteria_mode() localVariable
111 let guard = self.lock.lock().unwrap(); in set_common_criteria_mode() localVariable
[all …]
/packages/modules/Connectivity/service/native/
DTrafficController.cpp165 std::lock_guard guard(mMutex); in initMaps() local
199 std::lock_guard guard(mMutex); in start() local
230 std::lock_guard guard(mMutex); in updateOwnerMapEntry() local
283 std::lock_guard guard(mMutex); in updateUidOwnerMap() local
362 std::lock_guard guard(mMutex); in replaceRulesInMap() local
386 std::lock_guard guard(mMutex); in addUidInterfaceRules() local
398 std::lock_guard guard(mMutex); in removeUidInterfaceRules() local
410 std::lock_guard guard(mMutex); in updateUidLockdownRule() local
454 std::lock_guard guard(mMutex); in toggleUidOwnerMap() local
501 std::lock_guard guard(mMutex); in swapActiveStatsMap() local
[all …]
/packages/modules/NeuralNetworks/shim_and_sl/
DShimBufferTracker.cpp39 std::lock_guard<std::mutex> guard(mMutex); in add() local
53 std::lock_guard<std::mutex> guard(mMutex); in get() local
62 std::lock_guard<std::mutex> guard(mMutex); in free() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DIRtpSession.cpp148 std::lock_guard<std::mutex> guard(mutexEncoder); in SetRtpEncoderListener() local
154 std::lock_guard<std::mutex> guard(mutexDecoder); in SetRtpDecoderListener() local
160 std::lock_guard<std::mutex> guard(mutexEncoder); in SetRtcpEncoderListener() local
166 std::lock_guard<std::mutex> guard(mutexDecoder); in SetRtcpDecoderListener() local
371 std::lock_guard<std::mutex> guard(mutexEncoder); in OnRtpPacket() local
391 std::lock_guard<std::mutex> guard(mutexEncoder); in OnRtcpPacket() local
413 std::lock_guard<std::mutex> guard(mutexDecoder); in OnPeerInd() local
485 std::lock_guard<std::mutex> guard(mutexDecoder); in OnTimer() local
DBaseJitterBuffer.cpp64 std::lock_guard<std::mutex> guard(mMutex); in Reset() local
72 std::lock_guard<std::mutex> guard(mMutex); in Delete() local
79 std::lock_guard<std::mutex> guard(mMutex); in ClearBuffer() local
/packages/modules/Bluetooth/system/audio_hal_interface/
Dhal_version_manager.cc41 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetHalVersion() local
59 std::lock_guard<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_1() local
76 std::unique_lock<std::mutex> guard(instance_ptr->mutex_); in GetProvidersFactory_2_0() local
/packages/modules/Connectivity/tests/native/utilities/
Dfirewall.cpp24 std::lock_guard guard(mMutex); in Firewall() local
38 std::lock_guard guard(mMutex); in toggleStandbyMatch() local
61 std::lock_guard guard(mMutex); in addRule() local
82 std::lock_guard guard(mMutex); in removeRule() local
/packages/modules/Bluetooth/system/btif/src/
Dbtif_uid.cc47 std::unique_lock<std::mutex> guard(set_lock); in uid_set_destroy() local
78 std::unique_lock<std::mutex> guard(set_lock); in uid_set_add_tx() local
86 std::unique_lock<std::mutex> guard(set_lock); in uid_set_add_rx() local
92 std::unique_lock<std::mutex> guard(set_lock); in uid_set_read_and_clear() local
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_source_hal_client.cc157 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in OnResumeReq() local
198 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in SendAudioData() local
244 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in OnSuspendReq() local
273 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in OnMetadataUpdateReq() local
327 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in Start() local
354 std::lock_guard<std::mutex> guard(audioSourceCallbacksMutex_); in Stop() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/
DImsMediaVideoSource.cpp57 std::lock_guard<std::mutex> guard(mMutex); in SetListener() local
315 std::lock_guard<std::mutex> guard(mMutex); in Stop() local
359 std::lock_guard<std::mutex> guard(mMutex); in IsStopped() local
365 std::lock_guard<std::mutex> guard(mMutex); in onCameraFrame() local
454 std::lock_guard<std::mutex> guard(mMutex); in changeBitrate() local
477 std::lock_guard<std::mutex> guard(mMutex); in requestIdrFrame() local

1234