Home
last modified time | relevance | path

Searched refs:getLocalService (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsService.java34 publishLocalService(CrossProfileAppsInternal.class, mServiceImpl.getLocalService()); in onStart()
DCrossProfileAppsServiceImpl.java700 CrossProfileAppsInternal getLocalService() {
DPackageManagerService.java1255 public <T> T getLocalService(Class<T> c) { in getLocalService() method in PackageManagerService.Injector
1759 return mInjector.getLocalService(DeviceIdleInternal.class); in getDeviceIdleInternal()
4258 if (!mInjector.getLocalService(ActivityTaskManagerInternal.class) in isRecentsAccessingChildProfiles()
8960 mInjector.getLocalService(StorageManagerInternal.class); in freeStorage()
11627 mInjector.getLocalService(UriGrantsManagerInternal.class); in resolveContentProviderInternal()
12879 mInjector.getLocalService(AppHibernationManagerInternal.class); in getOptimizablePackages()
15672 mInjector.getLocalService(ActivityManagerInternal.class).broadcastIntent( in doSendBroadcast()
17478 RollbackManagerInternal rm = mInjector.getLocalService(RollbackManagerInternal.class); in performRollbackManagerRestore()
18361 mInjector.getLocalService(DeviceIdleInternal.class); in sendPackageVerificationRequest()
21231 if (mInjector.getLocalService(ActivityTaskManagerInternal.class) in deletePackageVersionedInternal()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceHibernationTests.kt67 whenever(rule.mocks().injector.getLocalService(AppHibernationManagerInternal::class.java)) in setup()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java287 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase()
291 BatteryStatsInternal batteryStatsInternal = getLocalService( in onBootPhase()
DSystemService.java468 protected final <T> T getLocalService(Class<T> type) { in getLocalService() method in SystemService
DLooperStatsService.java221 mStats.setDeviceState(getLocalService(CachedDeviceState.Readonly.class)); in onBootPhase()
DSensorPrivacyService.java204 mAppOpsManagerInternal = getLocalService(AppOpsManagerInternal.class); in SensorPrivacyService()
205 mUserManagerInternal = getLocalService(UserManagerInternal.class); in SensorPrivacyService()
207 mActivityManagerInternal = getLocalService(ActivityManagerInternal.class); in SensorPrivacyService()
1045 final int[] users = getLocalService(UserManagerInternal.class).getUserIds(); in upgradeAndInit()
DUiModeManagerService.java374 TwilightManager twilightManager = getLocalService(TwilightManager.class); in onBootPhase()
428 TwilightManager twilightManager = getLocalService(TwilightManager.class); in onStart()
DBatteryService.java208 mLed = new Led(context, getLocalService(LightsManager.class)); in BatteryService()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java442 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_setsAppOp()
449 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_setsAppOpOnOtherProfile()
456 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_doesNotSetCallerAppOp()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java553 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onDisplayColorModeChanged()
593 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onAccessibilityDaltonizerChanged()
612 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onAccessibilityInversionChanged()
654 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in applyTint()
794 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in isDeviceColorManagedInternal()
1168 mTwilightManager = getLocalService(TwilightManager.class); in TwilightNightDisplayAutoMode()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java166 DeviceIdleInternal deviceIdleInternal = getLocalService(DeviceIdleInternal.class); in setupServiceRepository()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java127 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
128 mAtmInternal = getLocalService(ActivityTaskManagerInternal.class); in DreamManagerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBatteryExternalStatsWorkerTest.java185 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() method in BatteryExternalStatsWorkerTest.TestInjector
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java178 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() method in BatteryExternalStatsWorker.Injector
196 final PowerStatsInternal psi = mInjector.getLocalService(PowerStatsInternal.class); in systemServicesReady()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt370 whenever(this.getLocalService(ActivityTaskManagerInternal::class.java)) { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java82 mService = UriGrantsManagerService.createForTest(mContext.getFilesDir()).getLocalService(); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2358 mLocalAlarmManager = getLocalService(AlarmManagerInternal.class); in onBootPhase()
2360 mLocalActivityManager = getLocalService(ActivityManagerInternal.class); in onBootPhase()
2361 mLocalActivityTaskManager = getLocalService(ActivityTaskManagerInternal.class); in onBootPhase()
2362 mPackageManagerInternal = getLocalService(PackageManagerInternal.class); in onBootPhase()
2363 mLocalPowerManager = getLocalService(PowerManagerInternal.class); in onBootPhase()
2373 mNetworkPolicyManagerInternal = getLocalService(NetworkPolicyManagerInternal.class); in onBootPhase()
2389 mHandler, getLocalService(LocalService.class)); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1133 mDreamManager = getLocalService(DreamManagerInternal.class);
1134 mDisplayManagerInternal = getLocalService(DisplayManagerInternal.class);
1135 mPolicy = getLocalService(WindowManagerPolicy.class);
1136 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class);
1156 mLightsManager = getLocalService(LightsManager.class);
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java163 UriGrantsManagerInternal getLocalService() { in getLocalService() method in UriGrantsManagerService
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2290 mStatusBar = getLocalService(StatusBarManagerInternal.class); in init()
2458 getLocalService(LightsManager.class), in onStart()
2663 mAudioManagerInternal = getLocalService(AudioManagerInternal.class);
2676 mShortcutHelper = new ShortcutHelper(launcherApps, mShortcutListener, getLocalService(
/frameworks/base/services/
Dart-profile3148 HSPLcom/android/server/SystemService;->getLocalService(Ljava/lang/Class;)Ljava/lang/Object;
7186 HSPLcom/android/server/am/BatteryExternalStatsWorker$Injector;->getLocalService(Ljava/lang/Class;)L…
29417 HSPLcom/android/server/pm/CrossProfileAppsServiceImpl;->getLocalService()Landroid/content/pm/CrossP…
30761 HSPLcom/android/server/pm/PackageManagerService$Injector;->getLocalService(Ljava/lang/Class;)Ljava/…