Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/split/
DSplitAssetDependencyLoader.java63 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()
DDefaultSplitAssetLoader.java75 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
DSplitAssetLoader.java29 AssetManager getSplitAssetManager(int splitIdx) throws PackageParser.PackageParserException; in getSplitAssetManager() argument
/frameworks/base/core/java/android/app/
DLoadedApk.java595 protected boolean isSplitCached(int splitIdx) { in isSplitCached() argument
596 return mCachedClassLoaders[splitIdx] != null; in isSplitCached()
600 protected void constructSplit(int splitIdx, @NonNull int[] configSplitIndices, in constructSplit() argument
603 if (splitIdx == 0) { in constructSplit()
617 mCachedClassLoaders[splitIdx] = ApplicationLoaders.getDefault().getClassLoader( in constructSplit()
618 mSplitAppDirs[splitIdx - 1], getTargetSdkVersion(), false, null, null, parent, in constructSplit()
619 mSplitClassLoaderNames[splitIdx - 1]); in constructSplit()
622 splitPaths.add(mSplitResDirs[splitIdx - 1]); in constructSplit()
626 mCachedResourcePaths[splitIdx] = splitPaths.toArray(new String[splitPaths.size()]); in constructSplit()