Searched refs:splitIdx (Results 1 – 6 of 6) 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 …]
|
/frameworks/base/core/java/com/android/internal/pm/split/ |
D | SplitAssetDependencyLoader.java | 63 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()
|
D | DefaultSplitAssetLoader.java | 74 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
|
D | SplitAssetLoader.java | 29 AssetManager getSplitAssetManager(int splitIdx) throws IllegalArgumentException; in getSplitAssetManager() argument
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 8727 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/ |
D | LoadedApk.java | 652 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()
|