/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | PackageDexUsage.java | 120 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, in record() argument 138 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record() 143 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record() 157 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record() 160 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record() 369 boolean isUsedByOtherApps = readBoolean(elems[1]); in read() 370 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() 729 private boolean mergeCodePathUsedByOtherApps(String codePath, boolean isUsedByOtherApps, in mergeCodePathUsedByOtherApps() argument 731 if (!isUsedByOtherApps) { in mergeCodePathUsedByOtherApps() 749 public boolean isUsedByOtherApps(String codePath) { in isUsedByOtherApps() method in PackageDexUsage.PackageUseInfo [all …]
|
D | DexManager.java | 209 boolean isUsedByOtherApps = !loadingAppInfo.packageName.equals( in notifyDexLoadInternal() 214 if (primaryOrSplit && !isUsedByOtherApps) { in notifyDexLoadInternal() 231 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal() 546 boolean isUsedByOtherApps, int userId) { in registerDexModule() argument 565 dexPath, userId, isa, isUsedByOtherApps, /*primaryOrSplit*/ false, in registerDexModule()
|
D | DexLogger.java | 99 if (dexUseInfo.isUsedByOtherApps()) { in onReconcileSecondaryDexFile()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDexUsageTests.java | 437 final boolean isUsedByOtherApps = false; in testDexUsageClassLoaderContext() 439 PackageDexUsage.DexUseInfo validContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 445 PackageDexUsage.DexUseInfo unsupportedContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 451 PackageDexUsage.DexUseInfo variableContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 457 PackageDexUsage.DexUseInfo unknownContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 551 assertEquals(primaryUsedByOtherApps, pInfo.isUsedByOtherApps(primary.mDexFile)); in assertPackageDexUsage() 564 assertEquals(testData.mUsedByOtherApps, dInfo.isUsedByOtherApps()); in assertPackageDexUsage() 621 … String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, String usedBy) { in TestData() argument 622 this(packageName, dexFile, ownerUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in TestData() 626 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, String usedBy, in TestData() argument [all …]
|
D | DexManagerTests.java | 481 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument 489 assertEquals(isUsedByOtherApps, dui.isUsedByOtherApps()); in assertSecondaryUse() 497 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument 501 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse() 506 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument 507 assertIsUsedByOtherApps(testData.getBaseAndSplitDexPaths(), pui, isUsedByOtherApps); in assertIsUsedByOtherApps() local 511 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument 513 assertEquals(codePath, isUsedByOtherApps, pui.isUsedByOtherApps(codePath)); in assertIsUsedByOtherApps()
|
D | DexLoggerTests.java | 159 boolean isUsedByOtherApps = otherPackageNames.length > 0; in runOnReconcile() 161 isUsedByOtherApps, OWNER_USER_ID, /* classLoaderContext */ null, /* loaderIsa */ null); in runOnReconcile()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 225 final boolean isUsedByOtherApps = options.isDexoptAsSharedLibrary() in performDexOptLI() 226 || packageUseInfo.isUsedByOtherApps(path); in performDexOptLI() 228 options.getCompilerFilter(), isUsedByOtherApps); in performDexOptLI() 370 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI() 377 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI() 463 if (useInfo.isUsedByOtherApps(path)) { in dumpDexoptState() 479 if (dexUseInfo.isUsedByOtherApps()) { in dumpDexoptState() 496 boolean isUsedByOtherApps) { in getRealCompilerFilter() argument 507 if (isProfileGuidedCompilerFilter(targetCompilerFilter) && isUsedByOtherApps) { in getRealCompilerFilter()
|