Searched refs:splitIdx (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/split/ |
D | SplitDependencyLoader.java | 61 protected void loadDependenciesForSplit(@IntRange(from = 0) int splitIdx) throws E { in loadDependenciesForSplit() 63 if (isSplitCached(splitIdx)) { in loadDependenciesForSplit() 68 if (splitIdx == 0) { in loadDependenciesForSplit() 76 linearDependencies.add(splitIdx); in loadDependenciesForSplit() 83 final int[] deps = mDependencies.get(splitIdx); in loadDependenciesForSplit() 85 splitIdx = deps[0]; in loadDependenciesForSplit() 87 splitIdx = -1; in loadDependenciesForSplit() 90 if (splitIdx < 0 || isSplitCached(splitIdx)) { in loadDependenciesForSplit() 94 linearDependencies.add(splitIdx); in loadDependenciesForSplit() 98 int parentIdx = splitIdx; in loadDependenciesForSplit() [all …]
|
D | SplitAssetDependencyLoader.java | 63 protected boolean isSplitCached(int splitIdx) { in isSplitCached() argument 64 return mCachedAssetManagers[splitIdx] != null; in isSplitCached() 91 protected void constructSplit(int splitIdx, @NonNull int[] configSplitIndices, in constructSplit() argument 101 assets.add(loadApkAssets(mSplitPaths[splitIdx], mFlags)); in constructSplit() 109 mCachedSplitApks[splitIdx] = assets.toArray(new ApkAssets[assets.size()]); in constructSplit() 110 mCachedAssetManagers[splitIdx] = createAssetManagerWithAssets(mCachedSplitApks[splitIdx]); in constructSplit()
|
D | DefaultSplitAssetLoader.java | 75 int splitIdx = 0; in getBaseAssetManager() local 76 apkAssets[splitIdx++] = loadApkAssets(mBaseCodePath, mFlags); in getBaseAssetManager() 81 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags); in getBaseAssetManager() 95 public AssetManager getSplitAssetManager(int splitIdx) throws PackageParserException { in getSplitAssetManager() argument
|
D | SplitAssetLoader.java | 29 AssetManager getSplitAssetManager(int splitIdx) throws PackageParser.PackageParserException; in getSplitAssetManager() argument
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 588 protected boolean isSplitCached(int splitIdx) { in isSplitCached() argument 589 return mCachedClassLoaders[splitIdx] != null; in isSplitCached() 593 protected void constructSplit(int splitIdx, @NonNull int[] configSplitIndices, in constructSplit() argument 596 if (splitIdx == 0) { in constructSplit() 610 mCachedClassLoaders[splitIdx] = ApplicationLoaders.getDefault().getClassLoader( in constructSplit() 611 mSplitAppDirs[splitIdx - 1], getTargetSdkVersion(), false, null, null, parent, in constructSplit() 612 mSplitClassLoaderNames[splitIdx - 1]); in constructSplit() 615 splitPaths.add(mSplitResDirs[splitIdx - 1]); in constructSplit() 619 mCachedResourcePaths[splitIdx] = splitPaths.toArray(new String[splitPaths.size()]); in constructSplit()
|