/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 99 private PackageManagerInternal mPackageManagerInternal; field in ActivityStartInterceptorTest 131 when(mService.getPackageManagerInternalLocked()).thenReturn(mPackageManagerInternal); in setUp() 158 when(mPackageManagerInternal.getSuspendingPackage(TEST_PACKAGE_NAME, TEST_USER_ID)) in testSuspendedByAdminPackage() 176 when(mPackageManagerInternal.getSuspendingPackage(TEST_PACKAGE_NAME, TEST_USER_ID)) in testSuspendedPackage() 178 when(mPackageManagerInternal.getSuspendedDialogInfo(TEST_PACKAGE_NAME, TEST_USER_ID)) in testSuspendedPackage()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 72 private PackageManagerInternal mPackageManagerInternal; field in CrossProfileAppsServiceImplTest 487 when(mPackageManagerInternal.getPackageInfo( in mockAppsInstalled() 511 when(mPackageManagerInternal.queryIntentActivities( in mockActivityLaunchIntentResolvedTo() 559 return mPackageManagerInternal; in getPackageManagerInternal()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 108 private final PackageManagerInternal mPackageManagerInternal; field in Owners 149 mPackageManagerInternal = packageManagerInternal; in Owners() 207 mPackageManagerInternal.setDeviceAndProfileOwnerPackages( in pushToPackageManagerLocked() 213 final int uid = mDeviceOwner != null ? mPackageManagerInternal.getPackageUid( in pushToActivityTaskManagerLocked() 659 final int uid = mPackageManagerInternal.getPackageUid(mDeviceOwner.packageName, in pushToAppOpsLocked() 668 final int uid = mPackageManagerInternal.getPackageUid( in pushToAppOpsLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 128 PackageManagerInternal mPackageManagerInternal; field in UsageStatsService 186 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in onStart() 350 return !mPackageManagerInternal.canAccessInstantApps(callingUid, userId); in shouldObfuscateInstantAppsForCaller() 476 && mPackageManagerInternal.isPackageEphemeral(userId, event.mPackage)) { in reportEvent() 641 if (mPackageManagerInternal.isPackageEphemeral(userId, stats.mPackageName)) { in queryUsageStats() 977 if (mPackageManagerInternal.getPackageUid(pkg, /*flags=*/ 0, in checkCallerIsSameApp() 1193 final int packageUid = mPackageManagerInternal.getPackageUid(packageName, 0, userId); in getAppStandbyBucket() 1241 final int packageUid = mPackageManagerInternal.getPackageUid(packageName, in setAppStandbyBucket() 1316 if (mPackageManagerInternal.getPackageUid(packageName, in setAppStandbyBuckets()
|
D | AppStandbyController.java | 1584 private PackageManagerInternal mPackageManagerInternal; field in AppStandbyController.Injector 1608 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in onBootPhase() 1660 return mPackageManagerInternal.isPackageEphemeral(userId, packageName); in isPackageEphemeral() 1664 return mPackageManagerInternal.getPackageUid(packageName, flags, userId) >= 0; in isPackageInstalled()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 87 private final PackageManagerInternal mPackageManagerInternal; field in SliceManagerService 109 mPackageManagerInternal = Preconditions.checkNotNull( in SliceManagerService() 484 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultHome()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkScoreServiceTest.java | 136 @Mock private PackageManagerInternal mPackageManagerInternal; field in NetworkScoreServiceTest 166 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInternal); in setUp() 200 verify(mPackageManagerInternal) in testConstructor_setsUseOpenWifiPackagesProvider() 213 verify(mPackageManagerInternal, timeout(500)) in testConstructor_registersUseOpenWifiPackageContentObserver()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 1019 private final PackageManagerInternal mPackageManagerInternal; field in OverlayManagerService.PackageManagerHelper 1030 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in PackageManagerHelper() 1074 return mPackageManagerInternal.getOverlayPackages(userId); in getOverlayPackages()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 233 private PackageManagerInternal mPackageManagerInternal; field in AppWidgetServiceImpl 260 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in onStart() 627 final String suspendingPackage = mPackageManagerInternal.getSuspendingPackage( in maskWidgetsViewsLocked() 633 final SuspendDialogInfo dialogInfo = mPackageManagerInternal in maskWidgetsViewsLocked()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 181 @Mock private PackageManagerInternal mPackageManagerInternal; field in KeyValueBackupTaskTest 247 when(mPackageManagerInternal.getApplicationEnabledState(any(), anyInt())) in setUp() 250 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInternal); in setUp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 319 private final PackageManagerInternal mPackageManagerInternal; field in ShortcutService 436 mPackageManagerInternal = Preconditions.checkNotNull( in ShortcutService() 2430 final ComponentName defaultLauncher = mPackageManagerInternal in getDefaultLauncher()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 338 private final PackageManagerInternal mPackageManagerInternal; field in SyncManager 664 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in SyncManager() 4065 return mPackageManagerInternal.wasPackageEverLaunched(packageName, userId); in wasPackageEverLaunched()
|