Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java290 DexUseInfo dexUseInfo = dEntry.getValue(); in write() local
292 fpw.print(String.join(SPLIT_CHAR, Integer.toString(dexUseInfo.mOwnerUserId), in write()
293 writeBoolean(dexUseInfo.mIsUsedByOtherApps))); in write()
294 for (String isa : dexUseInfo.mLoaderIsas) { in write()
299 + String.join(SPLIT_CHAR, dexUseInfo.mLoadingPackages)); in write()
300 fpw.println(dexUseInfo.getClassLoaderContext()); in write()
388 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() local
390 dexUseInfo.mLoadingPackages.addAll(loadingPackages); in read()
394 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
407 currentPackageData.mDexUseInfoMap.put(dexPath, dexUseInfo); in read()
[all …]
DDexManager.java474 DexUseInfo dexUseInfo = entry.getValue(); in dexoptSecondaryDex() local
479 dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
489 + " for user " + dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
490 mPackageDexUsage.removeUserPackage(packageName, dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
495 dexUseInfo, options); in dexoptSecondaryDex()
519 DexUseInfo dexUseInfo = entry.getValue(); in reconcileSecondaryDexFiles() local
527 dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
535 + " for user " + dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
538 packageName, dexUseInfo.getOwnerUserId()) || updated; in reconcileSecondaryDexFiles()
552 packageName, dexPath, dexUseInfo.getOwnerUserId()) || updated; in reconcileSecondaryDexFiles()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java327 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath() argument
334 return dexOptSecondaryDexPathLI(info, path, dexUseInfo, options); in dexOptSecondaryDexPath()
376 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI() argument
377 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI()
384 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI()
400 if (dexUseInfo.isUnknownClassLoaderContext() || dexUseInfo.isVariableClassLoaderContext()) { in dexOptSecondaryDexPathLI()
405 classLoaderContext = dexUseInfo.getClassLoaderContext(); in dexOptSecondaryDexPathLI()
410 + " pkg=" + info.packageName + " isa=" + dexUseInfo.getLoaderIsas() in dexOptSecondaryDexPathLI()
417 for (String isa : dexUseInfo.getLoaderIsas()) { in dexOptSecondaryDexPathLI()
486 PackageDexUsage.DexUseInfo dexUseInfo = e.getValue(); in dumpDexoptState() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexManagerTests.java584 for (DexUseInfo dexUseInfo : pui.getDexUseInfoMap().values()) { in assertNoUseInfo()
585 assertNotEquals(userId, dexUseInfo.getOwnerUserId()); in assertNoUseInfo()