Home
last modified time | relevance | path

Searched refs:classLoaderContexts (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptUtils.java99 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/servicestests/src/com/android/server/pm/dex/
DDexManagerTests.java662 String[] classLoaderContexts = computeClassLoaderContexts(classLoaders, classPaths); in notifyDexLoad() local
666 notifyDexLoad(testData, dexPaths, classLoaderContexts, loaderUserId); in notifyDexLoad()
670 String[] classLoaderContexts, int loaderUserId) { in notifyDexLoad() argument
671 assertTrue(dexPaths.size() == classLoaderContexts.length); in notifyDexLoad()
674 dexPathMapping.put(dexPaths.get(i), classLoaderContexts != null in notifyDexLoad()
675 ? classLoaderContexts[i] : PackageDexUsage.UNSUPPORTED_CLASS_LOADER_CONTEXT); in notifyDexLoad()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java193 String[] classLoaderContexts = DexoptUtils.getClassLoaderContexts( in performDexOptLI() local
197 if (paths.size() != classLoaderContexts.length) { in performDexOptLI()
213 if (classLoaderContexts[i] == null) { in performDexOptLI()
252 profileUpdated, classLoaderContexts[i], dexoptFlags, sharedGid, in performDexOptLI()