Home
last modified time | relevance | path

Searched refs:dexUseInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java278 DexUseInfo dexUseInfo = dEntry.getValue(); in write() local
280 fpw.print(String.join(SPLIT_CHAR, Integer.toString(dexUseInfo.mOwnerUserId), in write()
281 writeBoolean(dexUseInfo.mIsUsedByOtherApps))); in write()
282 for (String isa : dexUseInfo.mLoaderIsas) { in write()
287 + String.join(SPLIT_CHAR, dexUseInfo.mLoadingPackages)); in write()
288 fpw.println(dexUseInfo.getClassLoaderContext()); in write()
370 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() local
372 dexUseInfo.mLoadingPackages.addAll(loadingPackages); in read()
376 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
389 currentPackageData.mDexUseInfoMap.put(dexPath, dexUseInfo); in read()
[all …]
DDexManager.java122 void onReconcileSecondaryDexFile(ApplicationInfo appInfo, DexUseInfo dexUseInfo, in onReconcileSecondaryDexFile() argument
435 DexUseInfo dexUseInfo = entry.getValue(); in dexoptSecondaryDex() local
440 dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
450 + " for user " + dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
451 mPackageDexUsage.removeUserPackage(packageName, dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
456 dexUseInfo, options); in dexoptSecondaryDex()
480 DexUseInfo dexUseInfo = entry.getValue(); in reconcileSecondaryDexFiles() local
488 dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
496 + " for user " + dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
499 packageName, dexUseInfo.getOwnerUserId()) || updated; in reconcileSecondaryDexFiles()
[all …]
DDexLogger.java72 public void onReconcileSecondaryDexFile(ApplicationInfo appInfo, DexUseInfo dexUseInfo, in onReconcileSecondaryDexFile() argument
99 if (dexUseInfo.isUsedByOtherApps()) { in onReconcileSecondaryDexFile()
100 Set<String> otherPackages = dexUseInfo.getLoadingPackages(); in onReconcileSecondaryDexFile()
105 otherPackageName, /*flags*/0, dexUseInfo.getOwnerUserId()); in onReconcileSecondaryDexFile()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java320 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath() argument
327 return dexOptSecondaryDexPathLI(info, path, dexUseInfo, options); in dexOptSecondaryDexPath()
369 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI() argument
370 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI()
377 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI()
393 + " pkg=" + info.packageName + " isa=" + dexUseInfo.getLoaderIsas() in dexOptSecondaryDexPathLI()
405 for (String isa : dexUseInfo.getLoaderIsas()) { in dexOptSecondaryDexPathLI()
474 PackageDexUsage.DexUseInfo dexUseInfo = e.getValue(); in dumpDexoptState() local
478 pw.println("class loader context: " + dexUseInfo.getClassLoaderContext()); in dumpDexoptState()
479 if (dexUseInfo.isUsedByOtherApps()) { in dumpDexoptState()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexLoggerTests.java160 DexUseInfo dexUseInfo = new DexUseInfo( in runOnReconcile() local
162 dexUseInfo.getLoadingPackages().addAll(Arrays.asList(otherPackageNames)); in runOnReconcile()
164 mListener.onReconcileSecondaryDexFile(appInfo, dexUseInfo, DEX_PATH, STORAGE_FLAGS); in runOnReconcile()