Home
last modified time | relevance | path

Searched refs:isUsedByOtherApps (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DPackageDexUsage.java128 String loaderIsa, boolean isUsedByOtherApps, boolean primaryOrSplit, in record() argument
146 packageUseInfo.mergeCodePathUsedByOtherApps(dexPath, isUsedByOtherApps, in record()
151 DexUseInfo newData = new DexUseInfo(isUsedByOtherApps, ownerUserId, in record()
165 dexPath, isUsedByOtherApps, owningPackageName, loadingPackageName); in record()
168 isUsedByOtherApps, ownerUserId, classLoaderContext, loaderIsa); in record()
387 boolean isUsedByOtherApps = readBoolean(elems[1]); in read()
388 DexUseInfo dexUseInfo = new DexUseInfo(isUsedByOtherApps, ownerUserId, in read()
748 private boolean mergeCodePathUsedByOtherApps(String codePath, boolean isUsedByOtherApps, in mergeCodePathUsedByOtherApps() argument
750 if (!isUsedByOtherApps) { in mergeCodePathUsedByOtherApps()
768 public boolean isUsedByOtherApps(String codePath) { in isUsedByOtherApps() method in PackageDexUsage.PackageUseInfo
[all …]
DDexManager.java223 boolean isUsedByOtherApps = !loadingAppInfo.packageName.equals( in notifyDexLoadInternal()
228 if (primaryOrSplit && !isUsedByOtherApps) { in notifyDexLoadInternal()
249 dexPath, loaderUserId, loaderIsa, isUsedByOtherApps, primaryOrSplit, in notifyDexLoadInternal()
581 boolean isUsedByOtherApps, int userId) { in registerDexModule() argument
600 dexPath, userId, isa, isUsedByOtherApps, /*primaryOrSplit*/ false, in registerDexModule()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java446 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()
DDexManagerTests.java511 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId, in assertSecondaryUse() argument
519 assertEquals(isUsedByOtherApps, dui.isUsedByOtherApps()); in assertSecondaryUse()
527 List<String> secondaries, boolean isUsedByOtherApps, int ownerUserId) { in assertSecondaryUse() argument
531 assertSecondaryUse(testData, pui, secondaries, isUsedByOtherApps, ownerUserId, in assertSecondaryUse()
536 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument
537 assertIsUsedByOtherApps(testData.getBaseAndSplitDexPaths(), pui, isUsedByOtherApps); in assertIsUsedByOtherApps() local
541 boolean isUsedByOtherApps) { in assertIsUsedByOtherApps() argument
543 assertEquals(codePath, isUsedByOtherApps, pui.isUsedByOtherApps(codePath)); in assertIsUsedByOtherApps()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java225 final boolean isUsedByOtherApps = options.isDexoptAsSharedLibrary() in performDexOptLI()
226 || packageUseInfo.isUsedByOtherApps(path); in performDexOptLI()
228 options.getCompilerFilter(), isUsedByOtherApps); in performDexOptLI()
377 if (options.isDexoptOnlySharedDex() && !dexUseInfo.isUsedByOtherApps()) { in dexOptSecondaryDexPathLI()
384 dexUseInfo.isUsedByOtherApps()); in dexOptSecondaryDexPathLI()
475 if (useInfo.isUsedByOtherApps(path)) { in dumpDexoptState()
491 if (dexUseInfo.isUsedByOtherApps()) { in dumpDexoptState()
508 boolean isUsedByOtherApps) { in getRealCompilerFilter() argument
533 if (isProfileGuidedCompilerFilter(targetCompilerFilter) && isUsedByOtherApps) { in getRealCompilerFilter()
/frameworks/base/services/
Dart-profile11924 PLcom/android/server/pm/dex/PackageDexUsage$DexUseInfo;->isUsedByOtherApps()Z
11933 PLcom/android/server/pm/dex/PackageDexUsage$PackageUseInfo;->isUsedByOtherApps(Ljava/lang/String;)Z