Home
last modified time | relevance | path

Searched refs:PackageUseInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java97 private final Map<String, PackageUseInfo> mPackageUseInfoMap;
140 PackageUseInfo packageUseInfo = mPackageUseInfoMap.get(owningPackageName); in record()
143 packageUseInfo = new PackageUseInfo(owningPackageName); in record()
264 Map<String, PackageUseInfo> packageUseInfoMapClone = clonePackageUseInfoMap(); in write()
272 for (Map.Entry<String, PackageUseInfo> pEntry : packageUseInfoMapClone.entrySet()) { in write()
275 PackageUseInfo packageUseInfo = pEntry.getValue(); in write()
323 Map<String, PackageUseInfo> data = new HashMap<>(); in read()
346 PackageUseInfo currentPackageData = null; in read()
419 currentPackageData = new PackageUseInfo(currentPackage); in read()
478 Iterator<Map.Entry<String, PackageUseInfo>> pIt = in syncData()
[all …]
DDexManager.java20 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo;
456 public PackageUseInfo getPackageUseInfoOrDefault(String packageName) { in getPackageUseInfoOrDefault()
466 PackageUseInfo useInfo = mPackageDexUsage.getPackageUseInfo(packageName); in getPackageUseInfoOrDefault()
467 return useInfo == null ? new PackageUseInfo(packageName) : useInfo; in getPackageUseInfoOrDefault()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/
DDexManagerTests.java20 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo;
209 PackageUseInfo pui = getPackageUseInfo(mBarUser0); in testNotifyPrimaryForeignUse()
223 PackageUseInfo pui = getPackageUseInfo(mFooUser0); in testNotifySecondary()
240 PackageUseInfo pui = getPackageUseInfo(mFooUser0); in testNotifyPrimaryAndSecondary()
262 PackageUseInfo pui = getPackageUseInfo(mBarUser0); in testNotifySecondaryForeign()
287 PackageUseInfo pui = getPackageUseInfo(mBarUser0); in testNotifySequence()
367 PackageUseInfo pui = getPackageUseInfo(newPackage); in testNotifyPackageInstallUsedByOther()
384 PackageUseInfo pui = getPackageUseInfo(newPackage); in testNotifyPackageInstallSelfUse()
397 PackageUseInfo pui = getPackageUseInfo(mBarUser0); in testNotifyPackageUpdated()
418 PackageUseInfo pui = getPackageUseInfo(mBarUser0); in testNotifyUsedByIsolatedProcess()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java21 import static com.android.server.pm.dex.PackageDexUsage.PackageUseInfo;
627 PackageUseInfo pInfo = packageDexUsage.getPackageUseInfo(packageName); in assertPackageDexUsage()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java221 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) in performDexOpt()
253 PackageDexUsage.PackageUseInfo packageUseInfo, DexoptOptions options) in performDexOptLI()
DPackageManagerServiceUtils.java212 long thresholdTimeinMillis, PackageDexUsage.PackageUseInfo packageUseInfo, in isUnusedSinceTimeInMillis()
DComputerEngine.java5671 PackageDexUsage.PackageUseInfo packageUseInfo = in getUnusedPackages()