/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 276 final ProcessMemInfo pmi = mData.get(pid); in dump() local 277 if (pmi != null) { in dump() 278 pmi.dump(fd, pw, args); in dump() 400 private ProcessMemInfo pmi; field in GarbageMonitor.MemoryTile 469 pmi = gm.getMemInfo(Process.myPid()); in handleUpdateState() 476 if (pmi != null) { in handleUpdateState() 477 icon.setRss(pmi.currentRss); in handleUpdateState() 481 formatBytes(pmi.currentRss * 1024), in handleUpdateState() 495 return pmi != null ? pmi.currentRss : 0; in getRss()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 40 PackageManagerInternal pmi) { in signaturesMatch() argument 78 return pmi.isDataRestoreSafe(storedSigHashes.get(0), target.packageName); in signaturesMatch()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 254 final PackageManagerInternal pmi = mService.getPackageManagerInternalLocked(); in interceptSuspendedPackageIfNeeded() local 255 if (pmi == null) { in interceptSuspendedPackageIfNeeded() 259 final String suspendingPackage = pmi.getSuspendingPackage(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded() 263 final SuspendDialogInfo dialogInfo = pmi.getSuspendedDialogInfo(suspendedPackage, in interceptSuspendedPackageIfNeeded()
|
D | LaunchParamsPersister.java | 116 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in onSystemReady() local 117 mPackageList = pmi.getPackageList(new PackageListObserver()); in onSystemReady()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | Rollback.java | 480 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in commit() local 481 if (extensionVersionReductionWouldViolateConstraint(mExtensionVersions, pmi)) { in commit() 869 SparseIntArray rollbackExtVers, PackageManagerInternal pmi) { in extensionVersionReductionWouldViolateConstraint() argument 873 List<String> packages = pmi.getPackageList().getPackageNames(); in extensionVersionReductionWouldViolateConstraint() 875 AndroidPackage pkg = pmi.getPackage(packages.get(i)); in extensionVersionReductionWouldViolateConstraint()
|
D | RollbackPackageHealthObserver.java | 325 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isModule() local 326 AndroidPackage apkPackage = pmi.getPackage(packageName); in isModule()
|
D | RollbackManagerServiceImpl.java | 831 final PackageManagerInternal pmi = LocalServices.getService( in enableRollbackForPackageSession() local 833 List<String> apksInApex = pmi.getApksInApex(packageName); in enableRollbackForPackageSession() 879 final PackageManagerInternal pmi = LocalServices.getService( in snapshotAndRestoreUserData() local 881 pmi.finishPackageInstall(token, false); in snapshotAndRestoreUserData()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | AppBackupUtils.java | 228 PackageManagerInternal pmi) { in signaturesMatch() argument 269 return pmi.isDataRestoreSafe(storedSigs[0], target.packageName); in signaturesMatch()
|
D | RestoreUtils.java | 160 PackageManagerInternal pmi = LocalServices.getService( in installApk() local 162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
|
D | TarBackupReader.java | 391 PackageManagerInternal pmi, int userId) { in chooseRestorePolicy() argument 416 if (AppBackupUtils.signaturesMatch(signatures, pkgInfo, pmi)) { in chooseRestorePolicy()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 475 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in handleBatterySaverStateChanged() local 476 if (pmi != null) { in handleBatterySaverStateChanged() 477 pmi.powerHint(PowerHint.LOW_POWER, isEnabled() ? 1 : 0); in handleBatterySaverStateChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageInfo.java | 144 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in canRestoreTo() local 145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
|
D | UserRestrictionsUtils.java | 665 final PackageManagerInternal pmi = LocalServices.getService( in applyUserRestriction() local 667 pmi.removeAllNonSystemPackageSuspensions(userId); in applyUserRestriction() 668 pmi.removeAllDistractingPackageRestrictions(userId); in applyUserRestriction() 669 pmi.flushPackageRestrictions(userId); in applyUserRestriction()
|
D | LauncherAppsService.java | 385 final PackageManagerInternal pmi = LocalServices.getService( in shouldHideFromSuggestions() local 387 int flags = pmi.getDistractingPackageRestrictions(packageName, user.getIdentifier()); in shouldHideFromSuggestions() 628 final PackageManagerInternal pmi = in getSuspendedPackageLauncherExtras() local 630 return pmi.getSuspendedPackageLauncherExtras(packageName, user.getIdentifier()); in getSuspendedPackageLauncherExtras() 1326 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in onPackagesSuspended() local 1330 final Bundle launcherExtras = pmi.getSuspendedPackageLauncherExtras(pkg, in onPackagesSuspended()
|
D | PackageInstallerSession.java | 1319 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isSecureFrpInstallAllowed() local 1320 final String[] systemInstaller = pmi.getKnownPackageNames( in isSecureFrpInstallAllowed() 1322 final AndroidPackage callingInstaller = pmi.getPackage(callingUid); in isSecureFrpInstallAllowed() 1338 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isIncrementalInstallationAllowed() local 1339 final PackageSetting existingPkgSetting = pmi.getPackageSetting(packageName); in isIncrementalInstallationAllowed()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 154 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in startMonitoring() local 155 if (pmi != null) { in startMonitoring() 156 pmi.getPackageList(new PackageListObserver()); in startMonitoring()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 220 final PowerManagerInternal pmi = mock(PowerManagerInternal.class); 222 doReturn(state).when(pmi).getLowPowerState(anyInt()); 223 doReturn(pmi).when(() -> LocalServices.getService(eq(PowerManagerInternal.class)));
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 222 PackageManagerInternal pmi = LocalServices.getService( in restoreOneFile() local 226 pmi, mUserId); in restoreOneFile()
|
D | PerformUnifiedRestoreTask.java | 642 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in restoreKeyValue() local 643 if (!BackupUtils.signaturesMatch(metaInfo.sigHashes, mCurrentPackage, pmi)) { in restoreKeyValue()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | PackageManagerBackupAgent.java | 269 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in onBackup() local 273 && !BackupUtils.signaturesMatch(mStoredHomeSigHashes, homeInfo, pmi)); in onBackup()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 671 LogRec pmi = mLogRecVector.get(mOldestIndex); in add() local 676 pmi.update(sm, msg, messageInfo, state, orgState, transToState); in add()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 4779 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 4781 && !pmi.hasSignatureCapability( 5527 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 5534 if (pmi.hasSignatureCapability( 5573 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 5576 if (isOtherwisePermitted || pmi.hasSignatureCapability(
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 3993 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isOpRestrictedDueToSuspend() local 3994 return pmi.isPackageSuspended(packageName, UserHandle.getUserId(uid)); in isOpRestrictedDueToSuspend()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 9617 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in systemReady() local 9618 if (pmi != null) { in systemReady() 9619 pmi.registerLowPowerModeObserver(ServiceType.FORCE_BACKGROUND_CHECK, in systemReady() 9622 pmi.getLowPowerState(ServiceType.FORCE_BACKGROUND_CHECK).batterySaverEnabled); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 6413 final PackageManagerInternal pmi = LocalServices.getService( 6415 int flags = pmi.getDistractingPackageRestrictions(
|