Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java607 final String removedPackage = "fake.package.name0"; in verifyPackageNotRetained() local
609 db.onPackageRemoved(removedPackage, System.currentTimeMillis()); in verifyPackageNotRetained()
616 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageNotRetained()
617 fail("Found removed package " + removedPackage + " in package stats."); in verifyPackageNotRetained()
622 if (removedPackage.equals(event.mPackage)) { in verifyPackageNotRetained()
623 fail("Found an event from removed package " + removedPackage); in verifyPackageNotRetained()
638 String removedPackage) { in verifyPackageDataIsRemoved() argument
644 if (stat.packageStats.containsKey(removedPackage)) { in verifyPackageDataIsRemoved()
645 fail("Found removed package " + removedPackage + " in package stats."); in verifyPackageDataIsRemoved()
650 if (removedPackage.equals(event.mPackage)) { in verifyPackageDataIsRemoved()
[all …]
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java767 final String removedPackage = removedPackagesMap.keyAt(i); in filterStats() local
768 final UsageStats usageStats = stats.packageStats.get(removedPackage); in filterStats()
770 stats.packageStats.remove(removedPackage); in filterStats()