Searched refs:classLoaderContexts (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptUtils.java | 99 String[] classLoaderContexts = new String[/*base apk*/ 1 + splitRelativeCodePaths.length]; in getClassLoaderContexts() local 100 classLoaderContexts[0] = pathsWithCode[0] ? baseApkContextClassLoader : null; in getClassLoaderContexts() 111 for (int i = 1; i < classLoaderContexts.length; i++) { in getClassLoaderContexts() 113 classLoaderContexts[i] = encodeClassLoader( in getClassLoaderContexts() 116 classLoaderContexts[i] = null; in getClassLoaderContexts() 154 splitDependencies, classLoaderContexts, splitDependencyOnBase); in getClassLoaderContexts() 161 for (int i = 1; i < classLoaderContexts.length; i++) { in getClassLoaderContexts() 167 classLoaderContexts[i] = classLoaderContexts[i] == null in getClassLoaderContexts() 169 : encodeClassLoaderChain(splitClassLoader, classLoaderContexts[i]) in getClassLoaderContexts() 174 classLoaderContexts[i] = null; in getClassLoaderContexts() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/dex/ |
D | DexManagerTests.java | 874 String[] classLoaderContexts = computeClassLoaderContexts(classLoaders, classPaths); in notifyDexLoad() local 878 notifyDexLoad(testData, dexPaths, classLoaderContexts, loaderUserId, isolatedProcess); in notifyDexLoad() 882 String[] classLoaderContexts, int loaderUserId, boolean isolatedProcess) { in notifyDexLoad() argument 883 assertTrue(dexPaths.size() == classLoaderContexts.length); in notifyDexLoad() 886 dexPathMapping.put(dexPaths.get(i), classLoaderContexts != null in notifyDexLoad() 887 ? classLoaderContexts[i] : PackageDexUsage.UNSUPPORTED_CLASS_LOADER_CONTEXT); in notifyDexLoad()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 281 String[] classLoaderContexts = DexoptUtils.getClassLoaderContexts( in performDexOptLI() local 285 if (paths.size() != classLoaderContexts.length) { in performDexOptLI() 301 if (classLoaderContexts[i] == null) { in performDexOptLI() 383 profileAnalysisResult, classLoaderContexts[i], dexoptFlags, sharedGid, in performDexOptLI()
|