Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/pm/
DDomainVerificationConnection.java41 mUmInternal = mPm.mInjector.getLocalService(UserManagerInternal.class); in DomainVerificationConnection()
75 return mPm.mInjector.getLocalService(DeviceIdleInternal.class); in getDeviceIdleInternal()
DCrossProfileAppsService.java34 publishLocalService(CrossProfileAppsInternal.class, mServiceImpl.getLocalService()); in onStart()
DPackageManagerServiceInjector.java345 public <T> T getLocalService(Class<T> c) { in getLocalService() method in PackageManagerServiceInjector
404 return getLocalService(ActivityManagerInternal.class); in getActivityManagerInternal()
DFreeStorageHelper.java166 mInjector.getLocalService(StorageManagerInternal.class); in freeStorage()
DStorageEventHelper.java182 StorageManagerInternal smInternal = mPm.mInjector.getLocalService( in loadPrivatePackagesInner()
DMovePackageHelper.java400 mPm.mInjector.getLocalService(StorageManagerInternal.class); in prepareUserStorageForMove()
DAppDataHelper.java137 StorageManagerInternal smInternal = mInjector.getLocalService( in prepareAppDataPostCommitLIF()
DPreferredActivityHelper.java637 mPm.mInjector.getLocalService(NetworkPolicyManagerInternal.class).resetUserState(userId);
DCrossProfileAppsServiceImpl.java732 CrossProfileAppsInternal getLocalService() {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DPackageManagerServiceHibernationTests.kt72 whenever(rule.mocks().injector.getLocalService(AppHibernationManagerInternal::class.java)) in setup()
120 whenever(rule.mocks().injector.getLocalService(AppHibernationManagerInternal::class.java)) in testExitForceStop_nonExistingAppHibernationManager_doesNotThrowException()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java423 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in setUp()
567 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onDisplayColorModeChanged()
577 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onDisplayColorModeChanged()
627 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onAccessibilityDaltonizerChanged()
646 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in onAccessibilityInversionChanged()
688 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in applyTint()
742 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in applyTintByCct()
847 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in updateDisplayWhiteBalanceStatus()
904 final DisplayTransformManager dtm = getLocalService(DisplayTransformManager.class); in isDeviceColorManagedInternal()
1276 mTwilightManager = getLocalService(TwilightManager.class); in TwilightNightDisplayAutoMode()
/frameworks/base/services/core/java/com/android/server/
DBinderCallsStatsService.java287 CachedDeviceState.Readonly deviceState = getLocalService( in onBootPhase()
292 BatteryStatsInternal batteryStatsInternal = getLocalService( in onBootPhase()
DSystemService.java634 protected final <T> T getLocalService(Class<T> type) { in getLocalService() method in SystemService
DLooperStatsService.java221 mStats.setDeviceState(getLocalService(CachedDeviceState.Readonly.class)); in onBootPhase()
/frameworks/base/services/robotests/src/com/android/server/pm/
DCrossProfileAppsServiceImplRoboTest.java443 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_setsAppOp()
450 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_setsAppOpOnOtherProfile()
457 mCrossProfileAppsServiceImpl.getLocalService().setInteractAcrossProfilesAppOp( in setInteractAcrossProfilesAppOp_userToSetInDifferentProfileGroupToCaller_doesNotSetCallerAppOp()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java74 mDpmInternal = getLocalService(DevicePolicyManagerInternal.class); in RestrictionsManagerImpl()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java233 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
234 mAtmInternal = getLocalService(ActivityTaskManagerInternal.class); in DreamManagerService()
235 mPmInternal = getLocalService(PackageManagerInternal.class); in DreamManagerService()
262 mBatteryManagerInternal = getLocalService(BatteryManagerInternal.class); in DreamManagerService()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java164 DeviceIdleInternal deviceIdleInternal = getLocalService(DeviceIdleInternal.class); in setupServiceRepository()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryExternalStatsWorkerTest.java221 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() method in BatteryExternalStatsWorkerTest.TestInjector
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryExternalStatsWorker.java189 public <T> T getLocalService(Class<T> serviceClass) { in getLocalService() method in BatteryExternalStatsWorker.Injector
207 final PowerStatsInternal psi = mInjector.getLocalService(PowerStatsInternal.class); in systemServicesReady()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java208 mAppOpsManagerInternal = getLocalService(AppOpsManagerInternal.class); in SensorPrivacyService()
209 mUserManagerInternal = getLocalService(UserManagerInternal.class); in SensorPrivacyService()
211 mActivityManagerInternal = getLocalService(ActivityManagerInternal.class); in SensorPrivacyService()
214 mPackageManagerInternal = getLocalService(PackageManagerInternal.class); in SensorPrivacyService()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt396 whenever(this.getLocalService(ActivityTaskManagerInternal::class.java)) { in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsManagerServiceTest.java117 mService = UriGrantsManagerService.createForTest(mContext.getFilesDir()).getLocalService(); in setUp()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2686 mLocalAlarmManager = getLocalService(AlarmManagerInternal.class); in onBootPhase()
2688 mLocalActivityManager = getLocalService(ActivityManagerInternal.class); in onBootPhase()
2689 mLocalActivityTaskManager = getLocalService(ActivityTaskManagerInternal.class); in onBootPhase()
2690 mPackageManagerInternal = getLocalService(PackageManagerInternal.class); in onBootPhase()
2691 mLocalPowerManager = getLocalService(PowerManagerInternal.class); in onBootPhase()
2701 mNetworkPolicyManagerInternal = getLocalService(NetworkPolicyManagerInternal.class); in onBootPhase()
2716 mHandler, getLocalService(LocalService.class)); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/biometrics/
DAuthService.java318 VirtualDeviceManagerInternal vdm = getLocalService( in authenticate()

12