Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptUtilsTest.java55 boolean[] pathsWithCode; field in DexoptUtilsTest.TestData
65 boolean[] pathsWithCode; in createMockApplicationInfo()
67 pathsWithCode = new boolean[] {true}; in createMockApplicationInfo()
69 pathsWithCode = new boolean[9]; in createMockApplicationInfo()
70 Arrays.fill(pathsWithCode, true); in createMockApplicationInfo()
71 pathsWithCode[7] = false; // config split in createMockApplicationInfo()
107 data.pathsWithCode = pathsWithCode; in createMockApplicationInfo()
116 data.info, sharedLibrary, data.pathsWithCode); in testSplitChain()
136 data.info, sharedLibrary, data.pathsWithCode); in testSplitChainNoSplitDependencies()
162 data.info, null, data.pathsWithCode); in testSplitChainNoIsolationNoSharedLibrary()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptUtils.java67 String[] sharedLibraries, boolean[] pathsWithCode) { in getClassLoaderContexts() argument
93 classLoaderContexts[0] = pathsWithCode[0] ? baseApkContextClassLoader : null; in getClassLoaderContexts()
101 classLoaderContexts[i] = pathsWithCode[i] in getClassLoaderContexts()
137 if (pathsWithCode[splitIndex]) { in getClassLoaderContexts()
149 if (pathsWithCode[i]) { in getClassLoaderContexts()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java175 boolean[] pathsWithCode = new boolean[paths.size()]; in performDexOptLI()
176 pathsWithCode[0] = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0; in performDexOptLI()
178 pathsWithCode[i] = (pkg.splitFlags[i - 1] & ApplicationInfo.FLAG_HAS_CODE) != 0; in performDexOptLI()
181 pkg.applicationInfo, sharedLibraries, pathsWithCode); in performDexOptLI()
197 if (!pathsWithCode[i]) { in performDexOptLI()