Searched refs:pathsWithCode (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptUtilsTest.java | 61 boolean[] pathsWithCode; field in DexoptUtilsTest.TestData 73 boolean[] pathsWithCode; in createMockApplicationInfo() 75 pathsWithCode = new boolean[] {true}; in createMockApplicationInfo() 77 pathsWithCode = new boolean[9]; in createMockApplicationInfo() 78 Arrays.fill(pathsWithCode, true); in createMockApplicationInfo() 79 pathsWithCode[7] = false; // config split in createMockApplicationInfo() 133 data.pathsWithCode = pathsWithCode; in createMockApplicationInfo() 151 data.pkg, sharedLibrary, data.pathsWithCode); in testSplitChain() 172 data.pkg, sharedLibrary, data.pathsWithCode); in testSplitChainNoSplitDependencies() 198 data.pkg, null, data.pathsWithCode); in testSplitChainNoIsolationNoSharedLibrary() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | DexoptUtils.java | 72 List<SharedLibraryInfo> sharedLibraries, boolean[] pathsWithCode) { in getClassLoaderContexts() argument 100 classLoaderContexts[0] = pathsWithCode[0] ? baseApkContextClassLoader : null; in getClassLoaderContexts() 112 if (pathsWithCode[i]) { in getClassLoaderContexts() 151 if (pathsWithCode[splitIndex]) { in getClassLoaderContexts() 164 if (pathsWithCode[i]) { in getClassLoaderContexts()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageDexOptimizer.java | 276 boolean[] pathsWithCode = new boolean[paths.size()]; in performDexOptLI() 277 pathsWithCode[0] = pkg.isDeclaredHavingCode(); in performDexOptLI() 279 pathsWithCode[i] = (pkg.getSplitFlags()[i - 1] & ApplicationInfo.FLAG_HAS_CODE) != 0; in performDexOptLI() 282 pkg, sharedLibraries, pathsWithCode); in performDexOptLI() 298 if (!pathsWithCode[i]) { in performDexOptLI()
|