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()
125 data.info, sharedLibrary, data.pathsWithCode); in testSplitChain()
146 data.info, sharedLibrary, data.pathsWithCode); in testSplitChainNoSplitDependencies()
174 data.info, null, data.pathsWithCode); in testSplitChainNoIsolationNoSharedLibrary()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptUtils.java70 List<SharedLibraryInfo> sharedLibraries, boolean[] pathsWithCode) { in getClassLoaderContexts() argument
98 classLoaderContexts[0] = pathsWithCode[0] ? baseApkContextClassLoader : null; in getClassLoaderContexts()
106 if (pathsWithCode[i]) { in getClassLoaderContexts()
146 if (pathsWithCode[splitIndex]) { in getClassLoaderContexts()
158 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()