/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PolicyEnforcerCallbacks.java | 226 PackageManagerInternal pmi = 230 pmi.setOwnerProtectedPackages(userId, 242 setBgUsageAppOp(packages, pmi, user, appOpsManager); 246 pmi.setPackageStoppedState(packageName, false, user); 265 private static void setBgUsageAppOp(Set<String> packages, PackageManagerInternal pmi, 269 final var appInfo = pmi.getApplicationInfo(pkg, packageFlags, Process.myUid(), userId);
|
D | PackageSuspender.java | 54 PackageManagerInternal pmi, int userId) { in PackageSuspender() argument 60 mPackageManager = pmi; in PackageSuspender()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 37 static boolean isPrivilegedApp(PackageManagerInternal pmi, int callerUid, int callerPid) { in isPrivilegedApp() argument 42 return pmi.isUidPrivileged(callerUid); in isPrivilegedApp()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PreferredComponent.java | 208 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in sameSet() local 209 String setupWizardPackageName = pmi.getSetupWizardPackageName(); in sameSet() 224 final PackageStateInternal ps = pmi.getPackageStateInternal(ai.packageName); in sameSet() 312 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isSuperset() local 313 String setupWizardPackageName = pmi.getSetupWizardPackageName(); in isSuperset()
|
D | ProcessLoggingHandler.java | 59 void logAppProcessStart(Context context, PackageManagerInternal pmi, String apkFile, in logAppProcessStart() argument 104 pmi.requestChecksums(packageName, false, 0, CHECKSUM_TYPE, null, in logAppProcessStart()
|
D | ShortcutPackageInfo.java | 145 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in canRestoreTo() local 146 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
|
D | UserRestrictionsUtils.java | 772 final PackageManagerInternal pmi = LocalServices.getService( in applyUserRestriction() local 774 pmi.removeAllNonSystemPackageSuspensions(userId); in applyUserRestriction() 775 pmi.removeAllDistractingPackageRestrictions(userId); in applyUserRestriction() 776 pmi.flushPackageRestrictions(userId); in applyUserRestriction()
|
D | PackageInstallerSession.java | 1686 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in setChecksums() local 1687 final AndroidPackage callingInstaller = pmi.getPackage(installerPackageName); in setChecksums() 2326 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isSecureFrpInstallAllowed() local 2327 final String[] systemInstaller = pmi.getKnownPackageNames( in isSecureFrpInstallAllowed() 2329 final AndroidPackage callingInstaller = pmi.getPackage(callingUid); in isSecureFrpInstallAllowed() 3283 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 3284 final PackageStateInternal ps = pmi.getPackageStateInternal(packageName); 3570 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 3571 final PackageStateInternal existingPkgSetting = pmi.getPackageStateInternal(mPackageName);
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 41 PackageManagerInternal pmi) { in signaturesMatch() argument 80 return pmi.isDataRestoreSafe(storedSigHashes.get(0), target.packageName); in signaturesMatch()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemConfigService.java | 118 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 121 pmi.canQueryPackage(Binder.getCallingUid(), preventUserDisablePackage))
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ComponentAliasResolver.java | 433 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in resolveService() 435 ResolveInfo rInfo = pmi.resolveService(service, in resolveService() 471 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in resolveReceiver() local 483 List<ResolveInfo> resolved = pmi.queryIntentReceivers( in resolveReceiver()
|
D | AppPermissionTracker.java | 132 final PackageManagerInternal pmi = mInjector.getPackageManagerInternal(); in handlePermissionsInit() local 138 final List<ApplicationInfo> apps = pmi.getInstalledApplications(0, userId, SYSTEM_UID); in handlePermissionsInit()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 526 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in commit() local 527 if (extensionVersionReductionWouldViolateConstraint(mExtensionVersions, pmi)) { in commit() 909 SparseIntArray rollbackExtVers, PackageManagerInternal pmi) { in extensionVersionReductionWouldViolateConstraint() argument 913 List<String> packages = pmi.getPackageList().getPackageNames(); in extensionVersionReductionWouldViolateConstraint() 915 AndroidPackage pkg = pmi.getPackage(packages.get(i)); in extensionVersionReductionWouldViolateConstraint()
|
D | RollbackManagerServiceImpl.java | 956 final PackageManagerInternal pmi = LocalServices.getService( 958 List<String> apksInApex = pmi.getApksInApex(packageName); 1016 final PackageManagerInternal pmi = LocalServices.getService( 1018 pmi.finishPackageInstall(token, false);
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 166 PackageManagerInternal pmi = LocalServices.getService( in installApk() local 169 BackupEligibilityRules.forBackup(packageManager, pmi, userId, in installApk()
|
D | TarBackupReader.java | 397 PackageManagerInternal pmi, int userId, Context context) { in chooseRestorePolicy() argument 398 return chooseRestorePolicy(packageManager, allowApks, info, signatures, pmi, userId, in chooseRestorePolicy() 399 BackupEligibilityRules.forBackup(packageManager, pmi, userId, context), context); in chooseRestorePolicy() 415 PackageManagerInternal pmi, int userId, BackupEligibilityRules eligibilityRules, in chooseRestorePolicy() argument
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 452 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in handleBatterySaverStateChanged() local 453 if (pmi != null) { in handleBatterySaverStateChanged() 454 pmi.setPowerMode(Mode.LOW_POWER, isEnabled()); in handleBatterySaverStateChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 337 final PackageManagerInternal pmi = mService.getPackageManagerInternalLocked(); in interceptSuspendedPackageIfNeeded() local 338 if (pmi == null) { in interceptSuspendedPackageIfNeeded() 342 final UserPackage suspender = pmi.getSuspendingPackage(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded() 346 final SuspendDialogInfo dialogInfo = pmi.getSuspendedDialogInfo(suspendedPackage, in interceptSuspendedPackageIfNeeded()
|
D | LaunchParamsPersister.java | 115 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in onSystemReady() local 116 mPackageList = pmi.getPackageList(new PackageListObserver()); in onSystemReady()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsCheckingServiceImpl.java | 601 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in upgradeScheduleExactAlarmLocked() local 609 final int uid = pmi.getPackageUid(pkg, 0, userId); in upgradeScheduleExactAlarmLocked() 638 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in resetUseFullScreenIntentLocked() local 649 final int uid = pmi.getPackageUid(pkg, 0, userId); in resetUseFullScreenIntentLocked()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 315 final PowerManagerInternal pmi = mock(PowerManagerInternal.class); 317 doReturn(state).when(pmi).getLowPowerState(anyInt()); 318 doReturn(pmi).when(() -> LocalServices.getService(eq(PowerManagerInternal.class)));
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 822 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in notifyActiveChanged() local 826 pmi.setLowPowerStandbyActive(active); in notifyActiveChanged() 1361 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in notifyAllowlistChanged() local 1364 pmi.setLowPowerStandbyAllowlist(allowlistUids); in notifyAllowlistChanged()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 269 PackageManagerInternal pmi = LocalServices.getService( in restoreOneFile() local 273 pmi, mUserId, mBackupEligibilityRules, in restoreOneFile()
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | StateMachine.java | 672 LogRec pmi = mLogRecVector.get(mOldestIndex); in add() local 677 pmi.update(sm, msg, messageInfo, state, orgState, transToState); in add()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
D | AppStandbyController.java | 738 final PackageManagerInternal pmi = mInjector.getPackageManagerInternal(); in reportContentProviderUsage() local 746 final int appId = UserHandle.getAppId(pmi.getPackageUid(packageName, 0, userId)); in reportContentProviderUsage() 1568 final PackageManagerInternal pmi = mInjector.getPackageManagerInternal(); in getIdleUidsForUser() local 1569 final List<ApplicationInfo> apps = pmi.getInstalledApplications(0, userId, Process.myUid()); in getIdleUidsForUser()
|