/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 264 final ProcessMemInfo pmi = mData.get(pid); in dump() local 265 if (pmi != null) { in dump() 266 pmi.dump(fd, pw, args); in dump() 390 private ProcessMemInfo pmi; field in GarbageMonitor.MemoryTile 457 pmi = gm.getMemInfo(Process.myPid()); in handleUpdateState() 464 if (pmi != null) { in handleUpdateState() 465 icon.setPss(pmi.currentPss); in handleUpdateState() 469 formatBytes(pmi.currentPss * 1024), in handleUpdateState() 483 return pmi != null ? pmi.currentPss : 0; in getPss()
|
/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 | 243 final PackageManagerInternal pmi = mService.getPackageManagerInternalLocked(); in interceptSuspendedPackageIfNeeded() local 244 if (pmi == null) { in interceptSuspendedPackageIfNeeded() 248 final String suspendingPackage = pmi.getSuspendingPackage(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded() 252 final SuspendDialogInfo dialogInfo = pmi.getSuspendedDialogInfo(suspendedPackage, mUserId); in interceptSuspendedPackageIfNeeded()
|
D | LaunchParamsPersister.java | 106 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in onSystemReady() local 107 mPackageList = pmi.getPackageList(new PackageListObserver()); in onSystemReady()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 139 final PowerManagerInternal pmi = mock(PowerManagerInternal.class); 141 doReturn(state).when(pmi).getLowPowerState(anyInt()); 142 doReturn(pmi).when(() -> LocalServices.getService(eq(PowerManagerInternal.class)));
|
/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 | 454 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in handleBatterySaverStateChanged() local 455 if (pmi != null) { in handleBatterySaverStateChanged() 456 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 | LauncherAppsService.java | 360 final PackageManagerInternal pmi = LocalServices.getService( in shouldHideFromSuggestions() local 362 int flags = pmi.getDistractingPackageRestrictions(packageName, user.getIdentifier()); in shouldHideFromSuggestions() 601 final PackageManagerInternal pmi = in getSuspendedPackageLauncherExtras() local 603 return pmi.getSuspendedPackageLauncherExtras(packageName, user.getIdentifier()); in getSuspendedPackageLauncherExtras()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 151 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in startMonitoring() local 152 if (pmi != null) { in startMonitoring() 153 pmi.getPackageList(this); in startMonitoring()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngine.java | 233 PackageManagerInternal pmi = LocalServices.getService( in restoreOneFile() local 237 pmi, mUserId); in restoreOneFile()
|
D | PerformUnifiedRestoreTask.java | 627 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in restoreKeyValue() local 628 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/rollback/ |
D | RollbackManagerServiceImpl.java | 983 final PackageManagerInternal pmi = LocalServices.getService( in snapshotAndRestoreUserData() local 985 pmi.finishPackageInstall(token, false); in snapshotAndRestoreUserData()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 4784 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 4786 && !pmi.hasSignatureCapability( 5531 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 5538 if (pmi.hasSignatureCapability( 5577 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); 5580 if (isOtherwisePermitted || pmi.hasSignatureCapability(
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 2775 final PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in isOpRestrictedDueToSuspend() local 2776 return pmi.isPackageSuspended(packageName, UserHandle.getUserId(uid)); in isOpRestrictedDueToSuspend()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 9065 final PowerManagerInternal pmi = LocalServices.getService(PowerManagerInternal.class); in systemReady() local 9066 if (pmi != null) { in systemReady() 9067 pmi.registerLowPowerModeObserver(ServiceType.FORCE_BACKGROUND_CHECK, in systemReady() 9070 pmi.getLowPowerState(ServiceType.FORCE_BACKGROUND_CHECK).batterySaverEnabled); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 5557 final PackageManagerInternal pmi = LocalServices.getService( 5559 int flags = pmi.getDistractingPackageRestrictions(
|