/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 99 EnterprisePolicyGuard guard = new EnterprisePolicyGuardTestable(getContext(), true); in testDirectorySupport() local 100 checkDirectorySupport(guard, URI_PHONE_LOOKUP, true); in testDirectorySupport() 101 checkDirectorySupport(guard, URI_EMAILS_LOOKUP, true); in testDirectorySupport() 102 checkDirectorySupport(guard, URI_CONTACTS_FILTER, true); in testDirectorySupport() 103 checkDirectorySupport(guard, URI_PHONES_FILTER, true); in testDirectorySupport() 104 checkDirectorySupport(guard, URI_CALLABLES_FILTER, true); in testDirectorySupport() 105 checkDirectorySupport(guard, URI_EMAILS_FILTER, true); in testDirectorySupport() 106 checkDirectorySupport(guard, URI_DIRECTORY_FILE, true); in testDirectorySupport() 107 checkDirectorySupport(guard, URI_DIRECTORIES, false); in testDirectorySupport() 108 checkDirectorySupport(guard, URI_DIRECTORIES_ID, false); in testDirectorySupport() [all …]
|
/packages/providers/MediaProvider/jni/ |
D | node-inl.h | 105 std::lock_guard<std::recursive_mutex> guard(*lock_); in Exists() 113 std::lock_guard<std::recursive_mutex> guard(*lock_); in CheckTracked() 120 std::lock_guard<std::recursive_mutex> guard(*lock_); in NodeDeleted() 130 std::lock_guard<std::recursive_mutex> guard(*lock_); in NodeCreated() 153 std::lock_guard<std::recursive_mutex> guard(*lock); in Create() 162 std::lock_guard<std::recursive_mutex> guard(*lock); in CreateRoot() 193 std::lock_guard<std::recursive_mutex> guard(*lock_); in Release() 243 std::lock_guard<std::recursive_mutex> guard(*lock_); in SetDeleted() 255 std::lock_guard<std::recursive_mutex> guard(*lock_); in Rename() 296 std::lock_guard<std::recursive_mutex> guard(*lock_); in GetName() [all …]
|
D | node.cpp | 62 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/DnsResolver/tests/ |
D | doh_frontend.cpp | 45 std::lock_guard guard(mMutex); in startServer() local 62 std::lock_guard guard(mMutex); in stopServer() local 70 std::lock_guard guard(mMutex); in queries() local 79 std::lock_guard guard(mMutex); in connections() local 88 std::lock_guard guard(mMutex); in aliveConnections() local 97 std::lock_guard guard(mMutex); in resumedConnections() local 106 std::lock_guard guard(mMutex); in clearQueries() local 121 std::lock_guard guard(mMutex); in setMaxIdleTimeout() local 129 std::lock_guard guard(mMutex); in setMaxBufferSize() local 137 std::lock_guard guard(mMutex); in setMaxStreamsBidi() local [all …]
|
/packages/modules/Uwb/service/uci/jni/ |
D | UwbNativeManager.cpp | 220 SyncEventGuard guard(sUwaEnableEvent); in uwaDeviceManagementCallback() local 228 SyncEventGuard guard(sUwaDisableEvent); in uwaDeviceManagementCallback() local 236 SyncEventGuard guard(sUwaDeviceResetEvent); in uwaDeviceManagementCallback() local 248 SyncEventGuard guard(sUwadeviceNtfEvent); in uwaDeviceManagementCallback() local 260 SyncEventGuard guard(sUwaGetDeviceInfoEvent); in uwaDeviceManagementCallback() local 284 SyncEventGuard guard(sUwaSetConfigEvent); in uwaDeviceManagementCallback() local 291 SyncEventGuard guard(sUwaGetConfigEvent); in uwaDeviceManagementCallback() local 312 SyncEventGuard guard(sUwaSessionInitEvent); in uwaDeviceManagementCallback() local 325 SyncEventGuard guard(sUwaSessionDeInitEvent); in uwaDeviceManagementCallback() local 357 SyncEventGuard guard(sUwaSetAppConfigEvent); in uwaDeviceManagementCallback() local [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | async_manager.cc | 101 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 314 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local 406 std::unique_lock<std::mutex> guard(internal_mutex_); in scheduleTask() local 437 std::unique_lock<std::mutex> guard(internal_mutex_); in tryStartThread() local [all …]
|
/packages/apps/Nfc/nci/jni/ |
D | RoutingManager.cpp | 136 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 346 SyncEventGuard guard(mRoutingEvent); in addAidRouting() local 365 SyncEventGuard guard(mRoutingEvent); in removeAidRouting() local 389 SyncEventGuard guard(mEeUpdateEvent); in commitRouting() local 424 SyncEventGuard guard(mEeSetModeEvent); in onNfccShutdown() local 621 SyncEventGuard guard(mRoutingEvent); in updateDefaultProtocolRoute() local 644 SyncEventGuard guard(mRoutingEvent); in updateDefaultRoute() local [all …]
|
D | NativeNfcManager.cpp | 301 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local 311 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local 321 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local 333 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaConnectionCallback() local 774 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local 784 SyncEventGuard guard(sNfaDisableEvent); in nfaDeviceManagementCallback() local 796 SyncEventGuard guard(gNfaSetConfigEvent); in nfaDeviceManagementCallback() local 805 SyncEventGuard guard(gNfaGetConfigEvent); in nfaDeviceManagementCallback() local 865 SyncEventGuard guard(sNfaEnableDisablePollingEvent); in nfaDeviceManagementCallback() local 871 SyncEventGuard guard(sNfaEnableEvent); in nfaDeviceManagementCallback() local [all …]
|
D | PeerToPeer.cpp | 481 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 …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsQueryMap.cpp | 35 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 122 std::lock_guard guard(mLock); in empty() local 127 std::lock_guard guard(mLock); in clear() local 141 std::lock_guard guard(mLock); in onResponse() local
|
D | Dns64Configuration.cpp | 52 std::lock_guard guard(mMutex); in startPrefixDiscovery() local 107 std::lock_guard guard(mMutex); in stopPrefixDiscovery() local 120 std::lock_guard guard(mMutex); in getPrefix64() local 127 std::lock_guard guard(mMutex); in dump() local 212 std::lock_guard guard(mMutex); in shouldContinueDiscovery() local 230 std::lock_guard guard(mMutex); in recordDns64Config() local 244 std::lock_guard guard(mMutex); in setPrefix64() local 264 std::lock_guard guard(mMutex); in clearPrefix64() local
|
D | PrivateDnsConfiguration.cpp | 71 std::lock_guard guard(mPrivateDnsLock); in set() local 117 std::lock_guard guard(mPrivateDnsLock); in getStatus() local 145 std::lock_guard guard(mPrivateDnsLock); in clear() local 153 std::lock_guard guard(mPrivateDnsLock); in requestValidation() local 281 std::lock_guard guard(mPrivateDnsLock); in recordPrivateDnsValidation() local 375 std::lock_guard guard(mPrivateDnsLock); in getPrivateDns() local 396 std::lock_guard guard(mPrivateDnsLock); in setObserver() local 401 std::lock_guard guard(mPrivateDnsLock); in getDohServer() local 432 std::lock_guard guard(mPrivateDnsLock); in initDoh() local 451 std::lock_guard guard(mPrivateDnsLock); in setDoh() local [all …]
|
D | LockedQueue.h | 34 std::lock_guard guard(mLock); in push() 40 std::lock_guard guard(mLock); in swap() 55 std::lock_guard guard(mLock); in push() 63 std::lock_guard guard(mLock); in copy()
|
D | res_cache.cpp | 1112 std::lock_guard guard(cache_mutex); in _resolv_cache_query_failed() local 1344 std::lock_guard guard(cache_mutex); in resolv_cache_add() local 1415 std::lock_guard guard(cache_mutex); in resolv_gethostbyaddr_from_cache() local 1486 std::lock_guard guard(cache_mutex); in resolv_has_nameservers() local 1492 std::lock_guard guard(cache_mutex); in resolv_create_cache_for_net() local 1504 std::lock_guard guard(cache_mutex); in resolv_delete_cache_for_net() local 1509 std::lock_guard guard(cache_mutex); in resolv_flush_cache_for_net() local 1523 std::lock_guard guard(cache_mutex); in resolv_list_caches() local 1557 std::lock_guard guard(cache_mutex); in resolv_get_network_types_for_net() local 1573 std::lock_guard guard(cache_mutex); in is_mdns_supported_network() local [all …]
|
D | ExperimentsTest.cpp | 53 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
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraApp.java | 60 Profile guard = Profilers.instance().guard("CameraApp onCreate()"); in onCreate() local 65 guard.mark("initializeTimeOfFirstRun"); in onCreate() 68 guard.mark("UsageStatistics.initialize"); in onCreate() 71 guard.stop("clearNotifications"); in onCreate()
|
/packages/modules/Bluetooth/system/vendor_libs/linux/interface/ |
D | async_fd_watcher.cc | 43 std::unique_lock<std::mutex> guard(internal_mutex_); in WatchFdForNonBlockingReads() local 56 std::unique_lock<std::mutex> guard(timeout_mutex_); in ConfigureTimeout() local 96 std::unique_lock<std::mutex> guard(internal_mutex_); in stopThread() local 101 std::unique_lock<std::mutex> guard(timeout_mutex_); in stopThread() local 159 std::unique_lock<std::mutex> guard(timeout_mutex_); in ThreadRoutine() local 178 std::unique_lock<std::mutex> guard(internal_mutex_); in ThreadRoutine() local
|
/packages/modules/Uwb/service/uci/jni/rfTest/ |
D | UwbRfTestManager.cpp | 339 SyncEventGuard guard(sUwaSetTestConfigEvent); in setTestConfigurations() local 408 SyncEventGuard guard(sUwaGetTestConfigEvent); in getTestConfigurations() local 475 SyncEventGuard guard(sUwaRfTestEvent); in startPerRxTest() local 543 SyncEventGuard guard(sUwaRfTestEvent); in startPeriodicTxTest() local 609 SyncEventGuard guard(sUwaRfTestEvent); in startUwbLoopBackTest() local 659 SyncEventGuard guard(sUwaRfTestEvent); in startRxTest() local 697 SyncEventGuard guard(sUwaRfTestEvent); in stopRfTest() local 732 SyncEventGuard guard(sUwaSetTestConfigEvent); in uwaRfTestDeviceManagementCallback() local 747 SyncEventGuard guard(sUwaGetTestConfigEvent); in uwaRfTestDeviceManagementCallback() local 763 SyncEventGuard guard(sUwaRfTestEvent); in uwaRfTestDeviceManagementCallback() local [all …]
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | hal_version_manager.cc | 41 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 78 guard.unlock(); in GetProvidersFactory_2_0() 89 guard.unlock(); in GetProvidersFactory_2_0()
|
/packages/modules/NeuralNetworks/common/ |
D | HalBufferTracker.cpp | 64 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
|
D | BufferTracker.cpp | 64 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/apps/Camera2/src/com/android/camera/stats/profiler/ |
D | Profilers.java | 111 public GuardingProfiler guard() { in guard() method in Profilers 115 public Profile guard(String name) { in guard() method in Profilers 116 return guard().create(name).start(); in guard() 119 public Profile guard(String name, int durationMillis) { in guard() method in Profilers 120 return guard().create(name, durationMillis).start(); in guard()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModule.java | 344 private final Profiler mProfiler = Profilers.instance().guard(); 353 Profile guard = mProfiler.create("new CaptureModule").start(); in CaptureModule() local 385 guard.stop(); in CaptureModule() 402 Profile guard = mProfiler.create("CaptureModule.init").start(); in init() local 442 guard.stop(); in init() 679 Profile guard = mProfiler.create("CaptureModule.resume").start(); in resume() local 687 guard.mark(); in resume() 689 guard.mark("getRemoteShutterListener.onModuleReady"); in resume() 710 guard.mark(); in resume() 713 guard.mark("initSurfaceTextureConsumer"); in resume() [all …]
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_uid.cc | 47 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/gd/btaa/android/ |
D | activity_attribution.cc | 58 std::lock_guard<std::mutex> guard(g_module_mutex); in notifyAcquired() local 65 std::lock_guard<std::mutex> guard(g_module_mutex); in notifyReleased() local 81 std::lock_guard<std::mutex> guard(g_module_mutex); in notifyWakeup() local 96 std::lock_guard<std::mutex> guard(g_module_mutex); in impl() local 135 std::lock_guard<std::mutex> guard(g_module_mutex); in ~impl() local
|