/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | AccessibilityManagerCompat.java | 35 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/ |
D | AppSearchMaintenanceServiceTest.java | 118 .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/ |
D | FiltersManager.java | 45 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/ |
D | AppsIndexerMaintenanceTest.java | 254 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/ |
D | ContactsIndexerMaintenanceTest.java | 252 .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/ |
D | AdServicesManagerServiceLifeCycleTest.java | 89 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/ |
D | ManagedProfileAdminReceiver.java | 41 boolean testResult = E2eUiTestUtils.verifyProfile(context, intent, getManager(context)); in onProfileProvisioningComplete()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | RenderingRequestTask.java | 41 FiltersManager.getManager(), "Normal"); in RenderingRequestTask()
|
D | ImageSavingTask.java | 157 CachingPipeline pipeline = new CachingPipeline(FiltersManager.getManager(), "Thumb"); in createNotificationBitmap()
|
D | RenderingRequest.java | 70 FiltersManager.getManager(), "Icon"); in post()
|
D | ProcessingService.java | 301 FiltersManager filtersManager = FiltersManager.getManager(); in setupPipeline()
|
D | ImagePreset.java | 684 FiltersManager filtersManager = FiltersManager.getManager(); in creatFilterFromName()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 85 LocalBluetoothManager getManager(Context context); in getManager() method 139 return sTestDataFactory.getManager(context); in getLocalBluetoothManager()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/ |
D | AppSearchMaintenanceService.java | 133 LocalManagerRegistry.getManager(AppSearchManagerService.LocalService.class); in doFullyPersistJobForUser()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | GrantTimePersistenceUnitTest.java | 99 when(LocalManagerRegistry.getManager(AppOpsManagerLocal.class)) in mockApexEnvironment()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 457 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/ |
D | IndexerMaintenanceService.java | 266 IndexerLocalService service = LocalManagerRegistry.getManager(indexerLocalService); in doUpdateForUser()
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/ |
D | SdkSandboxServiceProviderImplUnitTest.java | 70 .when(() -> LocalManagerRegistry.getManager(ActivityManagerLocal.class)); in setup()
|
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/ |
D | SdkSandboxServiceProviderImpl.java | 65 mActivityManagerLocal = LocalManagerRegistry.getManager(ActivityManagerLocal.class); in SdkSandboxServiceProviderImpl()
|
D | SdkSandboxManagerService.java | 293 return LocalManagerRegistry.getManager(PackageManagerLocal.class); in getPackageManagerLocal() 332 mActivityManagerLocal = LocalManagerRegistry.getManager(ActivityManagerLocal.class); in SdkSandboxManagerService()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCurves.java | 151 … return (ImageFilterCurves) FiltersManager.getManager().getFilter(ImageFilterCurves.class); in curves()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 226 when(LocalManagerRegistry.getManager(AppOpsManagerLocal.class)) in setUp()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 412 CachingPipeline pipeline = new CachingPipeline(FiltersManager.getManager(), in processAndSaveImage()
|
/packages/modules/Permission/service/java/com/android/role/ |
D | RoleService.java | 168 mPlatformHelper = LocalManagerRegistry.getManager(RoleServicePlatformHelper.class); in RoleService()
|
/packages/modules/AdServices/adservices/service/java/com/android/server/adservices/ |
D | AdServicesManagerService.java | 201 LocalManagerRegistry.getManager(SdkSandboxManagerLocal.class); in onStart()
|