/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | PackageDexUsage.java | 129 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, in record() argument 150 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record() 155 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record() 169 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record() 172 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record() 391 boolean isUsedByOtherApps = readBoolean(elems[1]); in read() 392 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read() 752 private boolean mergeCodePathUsedByOtherApps(String codePath, boolean isUsedByOtherApps, in mergeCodePathUsedByOtherApps() argument 754 if (!isUsedByOtherApps) { in mergeCodePathUsedByOtherApps() 772 public boolean isUsedByOtherApps(String codePath) { in isUsedByOtherApps() method in PackageDexUsage.PackageUseInfo [all …]
|
D | DexManager.java | 195 boolean isUsedByOtherApps = !loadingAppInfo.packageName.equals( in notifyDexLoadInternal() 200 if (primaryOrSplit && !isUsedByOtherApps) { in notifyDexLoadInternal() 221 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal() 552 boolean isUsedByOtherApps, int userId) { in registerDexModule() argument 571 dexPath, userId, isa, isUsedByOtherApps, /*primaryOrSplit*/ false, in registerDexModule()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDexUsageTests.java | 446 final boolean isUsedByOtherApps = false; in testDexUsageClassLoaderContext() 448 PackageDexUsage.DexUseInfo validContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 453 PackageDexUsage.DexUseInfo variableContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 458 PackageDexUsage.DexUseInfo unknownContext = new DexUseInfo(isUsedByOtherApps, userId, in testDexUsageClassLoaderContext() 579 assertEquals(primaryUsedByOtherApps, pInfo.isUsedByOtherApps(primary.mDexFile)); in assertPackageDexUsage() 592 assertEquals(testData.mUsedByOtherApps, dInfo.isUsedByOtherApps()); in assertPackageDexUsage() 649 … String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, String usedBy) { in TestData() argument 650 this(packageName, dexFile, ownerUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in TestData() 654 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, String usedBy, in TestData() argument 660 mUsedByOtherApps = isUsedByOtherApps; in TestData()
|
D | DexManagerTests.java | 591 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument 599 assertEquals(isUsedByOtherApps, dui.isUsedByOtherApps()); in assertSecondaryUse() 607 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument 611 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse() 616 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument 617 assertIsUsedByOtherApps(testData.getBaseAndSplitDexPaths(), pui, isUsedByOtherApps); in assertIsUsedByOtherApps() local 621 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument 623 assertEquals(codePath, isUsedByOtherApps, pui.isUsedByOtherApps(codePath)); in assertIsUsedByOtherApps()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 223 final boolean isUsedByOtherApps = options.isDexoptAsSharedLibrary() in performDexOptLI() 224 || packageUseInfo.isUsedByOtherApps(path); in performDexOptLI() 226 options.getCompilerFilter(), isUsedByOtherApps); in performDexOptLI() 372 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI() 379 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI() 470 if (useInfo.isUsedByOtherApps(path)) { in dumpDexoptState() 486 if (dexUseInfo.isUsedByOtherApps()) { in dumpDexoptState() 503 boolean isUsedByOtherApps) { in getRealCompilerFilter() argument 528 if (isProfileGuidedCompilerFilter(targetCompilerFilter) && isUsedByOtherApps) { in getRealCompilerFilter()
|
/frameworks/base/services/ |
D | art-profile | 11924 PLcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;->isUsedByOtherApps()Z 11933 PLcom/android/server/pm/dex/PackageDexUsage$PackageUseInfo;->isUsedByOtherApps(Ljava/lang/String;)Z
|