Home
last modified time | relevance | path

Searched refs:synchronized (Results 1 – 25 of 62) sorted by relevance

123

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/utils/
DFeatureUtils.kt76 synchronized(lock) { in isSessionTypesEnabled()
82 synchronized(lock) { in isSessionTypesEnabled()
88 synchronized(lock) { in isSessionTypesEnabled()
94 synchronized(lock) { in isSessionTypesEnabled()
100 synchronized(lock) { in isSessionTypesEnabled()
106 synchronized(lock) { in isSessionTypesEnabled()
112 synchronized(lock) { in isSessionTypesEnabled()
118 synchronized(lock) { in isSessionTypesEnabled()
124 synchronized(lock) { in isSessionTypesEnabled()
130 synchronized(lock) { in isSessionTypesEnabled()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DCachedLater.kt44 synchronized(mLock) { in create()
69 synchronized(mLock) { in getLater()
84 synchronized(mLock) { in getLater()
102 synchronized(mLock) { in clear()
109 synchronized(mLock) { in haveNow()
117 synchronized(mLock) { in <lambda>()
DBatchingNamedTaskExecutor.kt30 synchronized(mQueuedTasks) { in execute()
47 synchronized(mQueuedTasks) { in executeNextBatch()
64 synchronized(mQueuedTasks) { mQueuedTasks.clear() } in cancelPendingTasks()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DBasePermissionEventStorage.kt50 synchronized(fileLock) { in storeEvent()
69 synchronized(fileLock) { in loadEvents()
75 synchronized(fileLock) { dbFile.delete() } in clearEvents()
79 synchronized(fileLock) { in removeOldData()
98 synchronized(fileLock) { in removeEventsForPackage()
107 synchronized(fileLock) { in updateEventsBySystemTimeDelta()
DCheckLifecycleRegistry.kt32 synchronized(observerLock) { super.addObserver(observer) } in addObserver()
39 synchronized(observerLock) { super.removeObserver(observer) } in removeObserver()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplayPanoManager/src/com/android/car/pano/manager/
DAppCardViewModel.kt70 synchronized(lock = selectedAppCards) { in <lambda>()
86 synchronized(lock = selectedAppCards) { in <lambda>()
105 synchronized(lock = selectedAppCards) { in <lambda>()
151 synchronized(lock = selectedAppCards) { in <lambda>()
179 synchronized(lock = selectedAppCards) { in <lambda>()
252 synchronized(lock = selectedAppCards) { in <lambda>()
266 synchronized(lock = selectedAppCards) { in <lambda>()
280 synchronized(lock = selectedAppCards) { in <lambda>()
293 synchronized(lock = selectedAppCards) { in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/measurements/
DTracer.kt66 synchronized(queue) { in <lambda>()
81 return synchronized(queue) { queue.removeLastOrNull() } in <lambda>()
97 synchronized(profile) { in <lambda>()
110 return synchronized(profile) { in <lambda>()
126 synchronized(profileRecords) { in <lambda>()
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStackInstrumentationService.kt67 synchronized(networkMonitorThreads) { in <lambda>()
76 synchronized(networkMonitorExecutorServices) { in <lambda>()
89 synchronized(networkMonitorThreads) { in <lambda>()
99 synchronized(networkMonitorExecutorServices) { in <lambda>()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DMultinetworkPolicyTrackerTestDependencies.kt20 synchronized(listeners) { in <lambda>()
32 return synchronized(listeners) { configActivelyPreferBadWifi } in <lambda>()
39 synchronized(listeners) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DAppOptModeSharedPreferencesUtils.kt42 synchronized(appOptimizationModeLock) { getAppOptModeEventsMap(context).values.toList() } in <lambda>()
47 synchronized(appOptimizationModeLock) { in <lambda>()
76 synchronized(appOptimizationModeLock) { in <lambda>()
99 synchronized(appOptimizationModeLock) { clearSharedPreferences(context, listOf(uid)) } in <lambda>()
110 synchronized(appOptimizationModeLock) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DRoleListenerMultiplexer.kt41 synchronized(lock) { callbacksCopy = callbacks[user]?.get(roleName)?.toList() } in <lambda>()
47 synchronized(lock) { in <lambda>()
61 synchronized(lock) { in <lambda>()
DDataRepository.kt67 synchronized(lock) { in <lambda>()
123 synchronized(lock) { data.remove(key) } in <lambda>()
127 synchronized(lock) { in <lambda>()
175 synchronized(lock) { in invalidateAllForPackage()
205 synchronized(lock) { in getWithDeviceId()
/packages/apps/Settings/src/com/android/settings/utils/
DSensorPrivacyManagerHelper.kt69 synchronized(lock) { in <lambda>()
109 synchronized(lock) { in <lambda>()
117 synchronized(lock) { in <lambda>()
164 synchronized(lock) { in <lambda>()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarUtils.kt103 synchronized(mTZCallbacks) { in onQueryComplete()
175 synchronized(mSB) { in formatDateRange()
203 synchronized(mTZCallbacks) { in setTimeZone()
266 synchronized(mTZCallbacks) { in getTimeZone()
306 synchronized(mTZCallbacks) { in forceDBRequery()
DCalendarController.kt493 synchronized(this) { in sendEvent()
569 synchronized(this) { in registerEventHandler()
580 synchronized(this) { in registerFirstEventHandler()
591 synchronized(this) { in deregisterEventHandler()
606 synchronized(this) { in deregisterAllEventHandlers()
708 synchronized(instances) { in getInstance()
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DFakeDns.kt41 fun getAnswer(hostname: String, type: Int): DnsEntry? = synchronized(answers) { in match()
45 fun setAnswer(hostname: String, answer: Array<String>, type: Int) = synchronized(answers) { in <lambda>()
91 fun clearAll() = synchronized(answers) { in <lambda>()
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dreadme.txt1 The contacts in this example were created on a device that was synchronized to the server.
2 Contacts up to ID=6 were created and synchronized. The synch was then disabled and the others
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetylabel/
DAppsSafetyLabelHistoryPersistence.kt70 synchronized(readWriteLock) { listeners.add(listener) } in <lambda>()
75 synchronized(readWriteLock) { listeners.remove(listener) } in <lambda>()
108 synchronized(readWriteLock) { in <lambda>()
129 synchronized(readWriteLock) { in <lambda>()
162 synchronized(readWriteLock) { in <lambda>()
205 synchronized(readWriteLock) { in <lambda>()
222 synchronized(readWriteLock) { in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/
DDefaultTargetDataLoader.kt119 synchronized(activeTasks) { activeTasks.put(id, task) } in <lambda>()
123 synchronized(activeTasks) { activeTasks.remove(id) } in <lambda>()
127 synchronized(activeTasks) { in <lambda>()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DShellPermissions.kt48 synchronized(lock) { in callWithShellPermissionIdentity()
55 synchronized(lock) { in callWithShellPermissionIdentity()
/packages/apps/DeskClock/src/com/android/deskclock/
DThemeUtils.kt53 synchronized(TEMP_ATTR) { in resolveColor()
79 synchronized(TEMP_ATTR) { in resolveDrawable()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/
DImagePreviewImageLoader.kt127 synchronized(lock) { in <lambda>()
167 synchronized(lock) { in <lambda>()
175 synchronized(lock) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/
DDumpableLog.kt65 synchronized(lock) { in addLogToDump()
83 synchronized(lock) { in get()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthByWeekFragment.kt93 synchronized(this) { in run()
178 synchronized(mUpdateLoader) { in stopLoader()
300 synchronized(mUpdateLoader) { in onCreateLoader()
337 synchronized(mUpdateLoader) { in onLoadFinished()
454 synchronized(mUpdateLoader) { in onScrollStateChanged()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverSummary.kt68 synchronized(this) { in <lambda>()
83 synchronized(this) { in <lambda>()

123