Home
last modified time | relevance | path

Searched refs:removedPackage (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java643 final String removedPackage = "fake.package.name0"; in verifyPackageNotRetained() local
645 db.onPackageRemoved(removedPackage, System.currentTimeMillis()); in verifyPackageNotRetained()
652 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageNotRetained()
653 fail("Found removed package " + removedPackage + " in package stats."); in verifyPackageNotRetained()
658 if (removedPackage.equals(event.mPackage)) { in verifyPackageNotRetained()
659 fail("Found an event from removed package " + removedPackage); in verifyPackageNotRetained()
674 String removedPackage) { in verifyPackageDataIsRemoved() argument
680 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageDataIsRemoved()
681 fail("Found removed package " + removedPackage + " in package stats."); in verifyPackageDataIsRemoved()
686 if (removedPackage.equals(event.mPackage)) { in verifyPackageDataIsRemoved()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java864 final String removedPackage = packageRemovedInfo.mRemovedPackage; in sendSystemPackageUpdatedBroadcasts() local
871 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_ADDED, removedPackage, extras, in sendSystemPackageUpdatedBroadcasts()
876 removedPackage, extras, 0 /*flags*/, in sendSystemPackageUpdatedBroadcasts()
880 removedPackage, extras, 0 /*flags*/, in sendSystemPackageUpdatedBroadcasts()
884 sendPackageBroadcastAndNotify(Intent.ACTION_PACKAGE_REPLACED, removedPackage, in sendSystemPackageUpdatedBroadcasts()
887 removedPackage, null, null, null, null /* broadcastAllowList */, in sendSystemPackageUpdatedBroadcasts()
913 final String removedPackage = packageRemovedInfo.mRemovedPackage; in sendPackageRemovedBroadcasts() local
941 if (removedPackage != null && installerPackageName != null) { in sendPackageRemovedBroadcasts()
943 removedPackage, extras, 0 /*flags*/, in sendPackageRemovedBroadcasts()
951 if (removedPackage != null) { in sendPackageRemovedBroadcasts()
[all …]
DRemovePackageHelper.java163 final AndroidPackage removedPackage = mPm.mPackages.remove(packageName); in removePackageLI() local
164 if (removedPackage != null) { in removePackageLI()
166 cleanPackageDataStructuresLILPw(removedPackage, in removePackageLI()
167 AndroidPackageLegacyUtils.isSystem(removedPackage), chatty); in removePackageLI()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java782 final String removedPackage = removedPackagesMap.keyAt(i); in filterStats() local
783 final UsageStats usageStats = stats.packageStats.get(removedPackage); in filterStats()
785 stats.packageStats.remove(removedPackage); in filterStats()