Home
last modified time | relevance | path

Searched refs:pmi (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DGarbageMonitor.java264 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/
DBackupUtils.java40 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/
DActivityStartInterceptor.java243 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()
DLaunchParamsPersister.java106 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/
DSystemServicesTestRule.java139 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/
DAppBackupUtils.java228 PackageManagerInternal pmi) { in signaturesMatch() argument
269 return pmi.isDataRestoreSafe(storedSigs[0], target.packageName); in signaturesMatch()
DRestoreUtils.java160 PackageManagerInternal pmi = LocalServices.getService( in installApk() local
162 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
DTarBackupReader.java391 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/
DBatterySaverController.java454 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/
DShortcutPackageInfo.java144 PackageManagerInternal pmi = LocalServices.getService(PackageManagerInternal.class); in canRestoreTo() local
145 if (!BackupUtils.signaturesMatch(mSigHashes, currentPackage, pmi)) { in canRestoreTo()
DLauncherAppsService.java360 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/
DPermissionMonitor.java151 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/
DFullRestoreEngine.java233 PackageManagerInternal pmi = LocalServices.getService( in restoreOneFile() local
237 pmi, mUserId); in restoreOneFile()
DPerformUnifiedRestoreTask.java627 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/
DPackageManagerBackupAgent.java269 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/
DStateMachine.java671 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/
DRollbackManagerServiceImpl.java983 final PackageManagerInternal pmi = LocalServices.getService( in snapshotAndRestoreUserData() local
985 pmi.finishPackageInstall(token, false); in snapshotAndRestoreUserData()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java4784 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/
DAppOpsService.java2775 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/
DActivityManagerService.java9065 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/
DNotificationManagerService.java5557 final PackageManagerInternal pmi = LocalServices.getService(
5559 int flags = pmi.getDistractingPackageRestrictions(