Searched refs:mPackageDexUsage (Results 1 – 2 of 2) sorted by relevance
91 private final PackageDexUsage mPackageDexUsage; field in DexManager125 mPackageDexUsage = new PackageDexUsage(); in DexManager()264 if (mPackageDexUsage.record(searchResult.mOwningPackageName, in notifyDexLoadInternal()267 mPackageDexUsage.maybeWriteAsync(); in notifyDexLoadInternal()311 mPackageDexUsage.clear(); in load()341 if (mPackageDexUsage.clearUsedByOtherApps(packageName)) { in notifyPackageUpdated()342 mPackageDexUsage.maybeWriteAsync(); in notifyPackageUpdated()359 if (mPackageDexUsage.removePackage(packageName)) { in notifyPackageDataDestroyed()360 mPackageDexUsage.maybeWriteAsync(); in notifyPackageDataDestroyed()363 if (mPackageDexUsage.removeUserPackage(packageName, userId)) { in notifyPackageDataDestroyed()[all …]
59 private PackageDexUsage mPackageDexUsage; field in PackageDexUsageTests75 mPackageDexUsage = new PackageDexUsage(); in setup()208 mPackageDexUsage, in testRecordTooManySecondaries()233 assertNull(mPackageDexUsage.getPackageUseInfo("missing.package")); in testPackageNotFound()287 mPackageDexUsage.syncData(packageToUsersMap, packageToCodePaths, new ArrayList<String>()); in testSyncData()291 assertNull(mPackageDexUsage.getPackageUseInfo(mFooBaseUser0.mPackageName)); in testSyncData()336 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemovePackage()338 assertNull(mPackageDexUsage.getPackageUseInfo(mBarSecondary1User0.mPackageName)); in testRemovePackage()347 assertTrue(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage()350 assertFalse(mPackageDexUsage.removePackage(mBarSecondary1User0.mPackageName)); in testRemoveNonexistentPackage()[all …]