Home
last modified time | relevance | path

Searched refs:getManager (Results 1 – 25 of 30) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAccessibilityManagerCompat.java35 return getManager(context).isEnabled(); in isAccessibilityEnabled()
57 getManager(target.getContext()).sendAccessibilityEvent(event); in sendCustomAccessibilityEvent()
61 private static AccessibilityManager getManager(Context context) { in getManager() method in AccessibilityManagerCompat
106 final AccessibilityManager accessibilityManager = getManager(context); in getAccessibilityManagerForTest()
113 return getManager(context).getRecommendedTimeoutMillis(originalTimeout, flags); in getRecommendedTimeoutMillis()
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchMaintenanceServiceTest.java118 .when(() -> LocalManagerRegistry.getManager( in testDoFullPersistForUser_withInitializedLocalService_isSuccessful()
128 .when(() -> LocalManagerRegistry.getManager( in testDoFullPersistForUser_withUninitializedLocalService_failsGracefully()
142 .when(() -> LocalManagerRegistry.getManager( in testDoFullPersistForUser_onEncounteringException_failsGracefully()
153 .when(() -> LocalManagerRegistry.getManager( in testDoFullPersistForUser_checkPendingJobIfNotInitialized()
/packages/apps/Gallery2/src_pd/com/android/gallery3d/filtershow/filters/
DFiltersManager.java45 public static FiltersManager getManager() { in getManager() method in FiltersManager
66 FiltersManager.getManager().setFilterResources(resources); in setResources()
/packages/modules/AppSearch/testing/appsindexertests/src/com/android/server/appsearch/appsindexer/
DAppsIndexerMaintenanceTest.java254 LocalManagerRegistry.getManager( in testDoUpdateForUser_withInitializedLocalService_isSuccessful()
268 LocalManagerRegistry.getManager( in testDoUpdateForUser_withUninitializedLocalService_failsGracefully()
287 LocalManagerRegistry.getManager( in testDoUpdateForUser_onEncounteringException_failsGracefully()
303 LocalManagerRegistry.getManager( in testDoUpdateForUser_cancelsBackgroundJob_whenIndexerDisabled()
318 LocalManagerRegistry.getManager( in testDoUpdateForUser_doesNotCancelBackgroundJob_whenIndexerEnabled()
/packages/modules/AppSearch/testing/contactsindexertests/src/com/android/server/appsearch/contactsindexer/
DContactsIndexerMaintenanceTest.java252 .when(() -> LocalManagerRegistry.getManager( in testDoFullUpdateForUser_withInitializedLocalService_isSuccessful()
264 .when(() -> LocalManagerRegistry.getManager( in testDoFullUpdateForUser_withUninitializedLocalService_failsGracefully()
279 .when(() -> LocalManagerRegistry.getManager( in testDoFullUpdateForUser_onEncounteringException_failsGracefully()
293 .when(() -> LocalManagerRegistry.getManager( in testDoFullUpdateForUser_cancelsBackgroundJob_whenCiDisabled()
306 .when(() -> LocalManagerRegistry.getManager( in testDoFullUpdateForUser_doesNotCancelBackgroundJob_whenCiEnabled()
/packages/modules/AdServices/adservices/tests/unittest/system-service/src/com/android/server/adservices/
DAdServicesManagerServiceLifeCycleTest.java89 doReturn(manager).when(() -> LocalManagerRegistry.getManager(managerClass)); in mockGetLocalManager()
94 doReturn(null).when(() -> LocalManagerRegistry.getManager(managerClass)); in mockGetLocalManagerNotFound()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DManagedProfileAdminReceiver.java41 boolean testResult = E2eUiTestUtils.verifyProfile(context, intent, getManager(context)); in onProfileProvisioningComplete()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DRenderingRequestTask.java41 FiltersManager.getManager(), "Normal"); in RenderingRequestTask()
DImageSavingTask.java157 CachingPipeline pipeline = new CachingPipeline(FiltersManager.getManager(), "Thumb"); in createNotificationBitmap()
DRenderingRequest.java70 FiltersManager.getManager(), "Icon"); in post()
DProcessingService.java301 FiltersManager filtersManager = FiltersManager.getManager(); in setupPipeline()
DImagePreset.java684 FiltersManager filtersManager = FiltersManager.getManager(); in creatFilterFromName()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDeviceDetailsFragment.java85 LocalBluetoothManager getManager(Context context); in getManager() method
139 return sTestDataFactory.getManager(context); in getLocalBluetoothManager()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/
DAppSearchMaintenanceService.java133 LocalManagerRegistry.getManager(AppSearchManagerService.LocalService.class); in doFullyPersistJobForUser()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DGrantTimePersistenceUnitTest.java99 when(LocalManagerRegistry.getManager(AppOpsManagerLocal.class)) in mockApexEnvironment()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java457 FiltersManager filtersManager = FiltersManager.getManager(); in fillEffects()
472 FiltersManager filtersManager = FiltersManager.getManager(); in fillTools()
557 FiltersManager filtersManager = FiltersManager.getManager(); in fillBorders()
1166 FiltersManager filtersManager = FiltersManager.getManager(); in fillLooks()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/indexer/
DIndexerMaintenanceService.java266 IndexerLocalService service = LocalManagerRegistry.getManager(indexerLocalService); in doUpdateForUser()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/
DSdkSandboxServiceProviderImplUnitTest.java70 .when(() -> LocalManagerRegistry.getManager(ActivityManagerLocal.class)); in setup()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/
DSdkSandboxServiceProviderImpl.java65 mActivityManagerLocal = LocalManagerRegistry.getManager(ActivityManagerLocal.class); in SdkSandboxServiceProviderImpl()
DSdkSandboxManagerService.java293 return LocalManagerRegistry.getManager(PackageManagerLocal.class); in getPackageManagerLocal()
332 mActivityManagerLocal = LocalManagerRegistry.getManager(ActivityManagerLocal.class); in SdkSandboxManagerService()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java151 … return (ImageFilterCurves) FiltersManager.getManager().getFilter(ImageFilterCurves.class); in curves()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectServiceImplTest.java226 when(LocalManagerRegistry.getManager(AppOpsManagerLocal.class)) in setUp()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java412 CachingPipeline pipeline = new CachingPipeline(FiltersManager.getManager(), in processAndSaveImage()
/packages/modules/Permission/service/java/com/android/role/
DRoleService.java168 mPlatformHelper = LocalManagerRegistry.getManager(RoleServicePlatformHelper.class); in RoleService()
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/
DAdServicesManagerService.java201 LocalManagerRegistry.getManager(SdkSandboxManagerLocal.class); in onStart()

12