Home
last modified time | relevance | path

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

12

/packages/apps/Nfc/nci/jni/
DRoutingManager.cpp136 SyncEventGuard guard(mEeRegisterEvent); in initialize() local
149 SyncEventGuard guard(mEeInfoEvent); in initialize() local
183 SyncEventGuard guard(mRoutingEvent); in enableRoutingToHost() local
249 SyncEventGuard guard(mRoutingEvent); in disableRoutingToHost() local
309 SyncEventGuard guard(mRoutingEvent); in addAidRouting() local
328 SyncEventGuard guard(mRoutingEvent); in removeAidRouting() local
352 SyncEventGuard guard(mEeUpdateEvent); in commitRouting() local
387 SyncEventGuard guard(mEeSetModeEvent); in onNfccShutdown() local
582 SyncEventGuard guard(mRoutingEvent); in updateDefaultProtocolRoute() local
605 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.cpp282 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
292 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
302 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
314 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local
750 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
760 SyncEventGuard guard(sNfaDisableEvent); in nfaDeviceManagementCallback() local
772 SyncEventGuard guard(sNfaSetConfigEvent); in nfaDeviceManagementCallback() local
781 SyncEventGuard guard(sNfaGetConfigEvent); in nfaDeviceManagementCallback() local
832 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaDeviceManagementCallback() local
838 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local
[all …]
DPowerSwitch.cpp286 SyncEventGuard guard(mPowerStateEvent); in setPowerOffSleepState() local
310 SyncEventGuard guard(mPowerStateEvent); in setPowerOffSleepState() local
432 SyncEventGuard guard(mPowerStateEvent); in abort() local
460 SyncEventGuard guard(sPowerSwitch.mPowerStateEvent); in deviceManagementCallback() local
DNativeNfcTag.cpp157 SyncEventGuard guard(sPresenceCheckEvent); in nativeNfcTag_abortWaits() local
1342 SyncEventGuard guard(sPresenceCheckEvent); in nativeNfcTag_doPresenceCheckResult() local
1413 SyncEventGuard guard(sPresenceCheckEvent); in nativeNfcTag_doPresenceCheck() local
/packages/modules/DnsResolver/
DDnsTlsQueryMap.cpp28 std::lock_guard guard(mLock); in recordQuery() local
59 std::lock_guard guard(mLock); in markTried() local
67 std::lock_guard guard(mLock); in cleanup() local
106 std::lock_guard guard(mLock); in getAll() local
115 std::lock_guard guard(mLock); in empty() local
120 std::lock_guard guard(mLock); in clear() local
134 std::lock_guard guard(mLock); in onResponse() local
DDns64Configuration.cpp54 std::lock_guard guard(mMutex); in startPrefixDiscovery() local
109 std::lock_guard guard(mMutex); in stopPrefixDiscovery() local
122 std::lock_guard guard(mMutex); in getPrefix64() local
129 std::lock_guard guard(mMutex); in dump() local
214 std::lock_guard guard(mMutex); in shouldContinueDiscovery() local
232 std::lock_guard guard(mMutex); in recordDns64Config() local
246 std::lock_guard guard(mMutex); in setPrefix64() local
266 std::lock_guard guard(mMutex); in clearPrefix64() local
DDnsTlsTransport.cpp37 std::lock_guard guard(mLock); in query() local
57 std::lock_guard guard(mLock); in getConnectCounter() local
96 std::lock_guard guard(mLock); in onClosed() local
116 std::lock_guard guard(mLock); in doReconnect() local
134 std::lock_guard guard(mLock); in ~DnsTlsTransport() 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
DExperimentsTest.cpp53 std::lock_guard guard(mExperiments.mMutex); in setupExperimentsMap() local
58 std::lock_guard guard(mExperiments.mMutex); in expectFlagsMapInt() local
63 std::lock_guard guard(mExperiments.mMutex); in expectFlagsMapIntDefault() local
91 std::lock_guard guard(mExperiments.mMutex); in expectDumpOutput() local
DDnsTlsSessionCache.cpp56 std::lock_guard guard(mLock); in recordSession() local
65 std::lock_guard guard(mLock); in getSession() local
DPrivateDnsConfiguration.cpp97 std::lock_guard guard(mPrivateDnsLock); in set() local
148 std::lock_guard guard(mPrivateDnsLock); in getStatus() local
166 std::lock_guard guard(mPrivateDnsLock); in clear() local
234 std::lock_guard guard(mPrivateDnsLock); in recordPrivateDnsValidation() local
329 std::lock_guard<std::mutex> guard(mPrivateDnsLock); in cleanValidateThreadTracker() local
Dres_cache.cpp1068 std::lock_guard guard(cache_mutex); in _resolv_cache_query_failed() local
1303 std::lock_guard guard(cache_mutex); in resolv_cache_add() local
1374 std::lock_guard guard(cache_mutex); in resolv_gethostbyaddr_from_cache() local
1445 std::lock_guard guard(cache_mutex); in resolv_has_nameservers() local
1451 std::lock_guard guard(cache_mutex); in resolv_create_cache_for_net() local
1462 std::lock_guard guard(cache_mutex); in resolv_delete_cache_for_net() local
1467 std::lock_guard guard(cache_mutex); in resolv_flush_cache_for_net() local
1481 std::lock_guard guard(cache_mutex); in resolv_list_caches() local
1515 std::lock_guard guard(cache_mutex); in resolv_get_network_types_for_net() local
1567 std::lock_guard guard(cache_mutex); in getCustomizedTableByName() local
[all …]
DDnsTlsDispatcher.cpp59 std::lock_guard guard(sLock); in getOrderedServerList() local
155 std::lock_guard guard(sLock); in query() local
193 std::lock_guard guard(sLock); in query() local
DDnsQueryLog.cpp62 std::lock_guard guard(mLock); in push() local
74 std::lock_guard guard(mLock); in dump() local
DDnsTlsSocket.cpp137 std::lock_guard guard(mLock); in initialize() local
308 std::lock_guard guard(mLock); in loop() local
391 std::lock_guard guard(mLock); in ~DnsTlsSocket() local
Dresolv_tls_unit_test.cpp219 ~FakeSocketDelay() { std::lock_guard guard(mLock); } in ~FakeSocketDelay() local
225 std::lock_guard guard(mLock); in query() local
242 std::lock_guard guard(mLock); in sendResponses() local
475 std::lock_guard guard(mLock); in ~FakeSocketLimited() local
493 std::lock_guard guard(mLock); in query() local
514 std::lock_guard guard(mLock); in sendClose() local
620 std::lock_guard guard(mLock); in ~FakeSocketGarbage() local
626 std::lock_guard guard(mLock); in query() local
703 std::lock_guard guard(mLock); in createDnsTlsSocket() 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
97 std::lock_guard<std::recursive_mutex> guard(*tree->lock_); in DeleteTree() local
DFuseDaemon.cpp956 std::lock_guard<std::recursive_mutex> guard(fuse->lock); in create_handle_for_node() local
1705 std::lock_guard<std::recursive_mutex> guard(fuse->lock); in ShouldOpenWithFuse() local
1729 std::lock_guard<std::recursive_mutex> guard(fuse->lock); in InvalidateFuseDentryCache() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
DEnterprisePolicyGuardTest.java100 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(getContext(), true); in testDirectorySupport() local
118 EnterprisePolicyGuard guard; in testCrossProfile_userSettingOn() local
188 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(context, false); in testCrossProfile_userSettingOff() local
224 private static void checkDirectorySupport(EnterprisePolicyGuard guard, Uri uri, in checkDirectorySupport()
235 private static void checkCrossProfile(EnterprisePolicyGuard guard, Uri uri, boolean expected) { in checkCrossProfile()
/packages/services/Car/service/src/com/android/car/
DStandards.kt29 internal inline fun <T> T.guard(block: (T) -> Unit): T { in guard() method
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
DProfilers.java111 public GuardingProfiler guard() { in guard() method in Profilers
115 public Profile guard(String name) { in guard() method in Profilers
119 public Profile guard(String name, int durationMillis) { in guard() method in Profilers
/packages/apps/Camera2/src/com/android/camera/app/
DCameraApp.java60 Profile guard = Profilers.instance().guard("CameraApp onCreate()"); in onCreate() local
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java353 Profile guard = mProfiler.create("new CaptureModule").start(); in CaptureModule() local
402 Profile guard = mProfiler.create("CaptureModule.init").start(); in init() local
679 Profile guard = mProfiler.create("CaptureModule.resume").start(); in resume() local
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp769 std::lock_guard guard(mappings_mutex_); in addAnswerRecords() local
960 std::lock_guard guard(mappings_mutex_); in makeResponseFromDnsHeader() local
1006 std::lock_guard guard(mappings_mutex_); in makeResponseFromBinaryPacket() local
1043 std::lock_guard<std::mutex> guard(cv_mutex_for_deferred_resp_); in setDeferredResp() local
1113 std::unique_lock guard(cv_mutex_for_deferred_resp_); in handleQuery() local

12