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.java294 DexUseInfo dexUseInfo = dEntry.getValue(); in write() local
296 fpw.print(String.join(SPLIT_CHAR, Integer.toString(dexUseInfo.mOwnerUserId), in write()
297 writeBoolean(dexUseInfo.mIsUsedByOtherApps))); in write()
298 for (String isa : dexUseInfo.mLoaderIsas) { in write()
303 + String.join(SPLIT_CHAR, dexUseInfo.mLoadingPackages)); in write()
304 fpw.println(dexUseInfo.getClassLoaderContext()); in write()
392 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() local
394 dexUseInfo.mLoadingPackages.addAll(loadingPackages); in read()
398 dexUseInfo.mLoaderIsas.add(elems[i]); in read()
411 currentPackageData.mDexUseInfoMap.put(dexPath, dexUseInfo); in read()
[all …]
DDexManager.java445 DexUseInfo dexUseInfo = entry.getValue(); in dexoptSecondaryDex() local
450 dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
460 + " for user " + dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
461 mPackageDexUsage.removeUserPackage(packageName, dexUseInfo.getOwnerUserId()); in dexoptSecondaryDex()
466 dexUseInfo, options); in dexoptSecondaryDex()
490 DexUseInfo dexUseInfo = entry.getValue(); in reconcileSecondaryDexFiles() local
498 dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
506 + " for user " + dexUseInfo.getOwnerUserId()); in reconcileSecondaryDexFiles()
509 packageName, dexUseInfo.getOwnerUserId()) || updated; in reconcileSecondaryDexFiles()
523 packageName, dexPath, dexUseInfo.getOwnerUserId()) || updated; in reconcileSecondaryDexFiles()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java322 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPath() argument
329 return dexOptSecondaryDexPathLI(info, path, dexUseInfo, options); in dexOptSecondaryDexPath()
371 PackageDexUsage.DexUseInfo dexUseInfo, DexoptOptions options) { in dexOptSecondaryDexPathLI() argument
372 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI()
379 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI()
395 if (dexUseInfo.isUnknownClassLoaderContext() || dexUseInfo.isVariableClassLoaderContext()) { in dexOptSecondaryDexPathLI()
400 classLoaderContext = dexUseInfo.getClassLoaderContext(); in dexOptSecondaryDexPathLI()
405 + " pkg=" + info.packageName + " isa=" + dexUseInfo.getLoaderIsas() in dexOptSecondaryDexPathLI()
412 for (String isa : dexUseInfo.getLoaderIsas()) { in dexOptSecondaryDexPathLI()
481 PackageDexUsage.DexUseInfo dexUseInfo = e.getValue(); in dumpDexoptState() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexManagerTests.java690 for (DexUseInfo dexUseInfo : pui.getDexUseInfoMap().values()) { in assertNoUseInfo()
691 assertNotEquals(userId, dexUseInfo.getOwnerUserId()); in assertNoUseInfo()