Home
last modified time | relevance | path

Searched refs:splitIdx (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/content/pm/split/
DSplitDependencyLoader.java61 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 …]
/frameworks/base/core/java/com/android/internal/pm/split/
DSplitAssetDependencyLoader.java63 protected boolean isSplitCached(int splitIdx) { in isSplitCached() argument
64 return mCachedAssetManagers[splitIdx] != null; in isSplitCached()
90 protected void constructSplit(int splitIdx, @NonNull int[] configSplitIndices, in constructSplit() argument
100 assets.add(loadApkAssets(mSplitPaths[splitIdx], mFlags)); in constructSplit()
108 mCachedSplitApks[splitIdx] = assets.toArray(new ApkAssets[assets.size()]); in constructSplit()
109 mCachedAssetManagers[splitIdx] = createAssetManagerWithAssets(mCachedSplitApks[splitIdx]); in constructSplit()
DDefaultSplitAssetLoader.java74 int splitIdx = 0; in getBaseAssetManager() local
75 apkAssets[splitIdx++] = mBaseApkAssets = loadApkAssets(mBaseApkPath, mFlags); in getBaseAssetManager()
80 apkAssets[splitIdx++] = loadApkAssets(apkPath, mFlags); in getBaseAssetManager()
94 public AssetManager getSplitAssetManager(int splitIdx) throws IllegalArgumentException { in getSplitAssetManager() argument
DSplitAssetLoader.java29 AssetManager getSplitAssetManager(int splitIdx) throws IllegalArgumentException; in getSplitAssetManager() argument
/frameworks/base/core/java/android/content/pm/
DPackageParser.java8727 AssetManager getSplitAssetManager(int splitIdx) throws PackageParserException; in getSplitAssetManager() argument
8767 protected void loadDependenciesForSplit(@IntRange(from = 0) int splitIdx) throws E { in loadDependenciesForSplit()
8769 if (isSplitCached(splitIdx)) { in loadDependenciesForSplit()
8774 if (splitIdx == 0) { in loadDependenciesForSplit()
8782 linearDependencies.add(splitIdx); in loadDependenciesForSplit()
8789 final int[] deps = mDependencies.get(splitIdx); in loadDependenciesForSplit()
8791 splitIdx = deps[0]; in loadDependenciesForSplit()
8793 splitIdx = -1; in loadDependenciesForSplit()
8796 if (splitIdx < 0 || isSplitCached(splitIdx)) { in loadDependenciesForSplit()
8800 linearDependencies.add(splitIdx); in loadDependenciesForSplit()
[all …]
/frameworks/base/core/java/android/app/
DLoadedApk.java652 protected boolean isSplitCached(int splitIdx) { in isSplitCached() argument
654 return mCachedClassLoaders[splitIdx] != null; in isSplitCached()
659 protected void constructSplit(int splitIdx, @NonNull int[] configSplitIndices, in constructSplit() argument
663 if (splitIdx == 0) { in constructSplit()
677 mCachedClassLoaders[splitIdx] = ApplicationLoaders.getDefault().getClassLoader( in constructSplit()
678 mSplitAppDirs[splitIdx - 1], getTargetSdkVersion(), false, null, in constructSplit()
679 null, parent, mSplitClassLoaderNames[splitIdx - 1]); in constructSplit()
682 splitPaths.add(mSplitResDirs[splitIdx - 1]); in constructSplit()
686 mCachedResourcePaths[splitIdx] = splitPaths.toArray(new String[splitPaths.size()]); in constructSplit()