Home
last modified time | relevance | path

Searched refs:splitIndex (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java130 final int splitIndex = documentId.indexOf(':', 1); in getFileForDocId() local
131 final String name = documentId.substring(splitIndex + 1); in getFileForDocId()
132 if (splitIndex == -1 || !DOC_ID_ROOT.equals(documentId.substring(0, splitIndex)) || in getFileForDocId()
/frameworks/base/core/java/android/content/res/loader/
DResourcesProvider.java253 int splitIndex = ArrayUtils.indexOf(appInfo.splitNames, splitName); in loadFromSplit() local
254 if (splitIndex < 0) { in loadFromSplit()
258 String splitPath = appInfo.getSplitCodePaths()[splitIndex]; in loadFromSplit()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexoptUtils.java150 int splitIndex = splitDependencies.keyAt(i); in getClassLoaderContexts() local
151 if (pathsWithCode[splitIndex]) { in getClassLoaderContexts()
153 getParentDependencies(splitIndex, splitClassLoaderEncodingCache, in getClassLoaderContexts()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java464 final int splitIndex = docId.indexOf(':', 1); in getPathFromDocId() local
465 final String docIdPath = docId.substring(splitIndex + 1); in getPathFromDocId()
485 final int splitIndex = docId.indexOf(':', 1); in getRootFromDocId() local
486 final String tag = docId.substring(0, splitIndex); in getRootFromDocId()
501 final int splitIndex = docId.indexOf(':', 1); in buildFile() local
502 final String path = docId.substring(splitIndex + 1); in buildFile()
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java231 ParsingPackage setSplitHasCode(int splitIndex, boolean splitHasCode); in setSplitHasCode() argument
344 ParsingPackage setSplitClassLoaderName(int splitIndex, String classLoaderName); in setSplitClassLoaderName() argument
DParsingPackageUtils.java655 ParsingPackage pkg, int splitIndex, AssetManager assets, int flags) {
656 final String apkPath = pkg.getSplitCodePaths()[splitIndex];
670 parser, flags, splitIndex);
748 Resources res, XmlResourceParser parser, int flags, int splitIndex)
782 result = parseSplitApplication(input, pkg, res, parser, flags, splitIndex);
812 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex)
816 pkg.setSplitHasCode(splitIndex, sa.getBoolean(
823 pkg.setSplitClassLoaderName(splitIndex, classLoaderName);
835 String defaultSplitName = pkg.getSplitNames()[splitIndex];
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java835 var splitIndex = splitDependencies.keyAt(index); in getSplits() local
844 ((AndroidPackageSplitImpl) splits.get(splitIndex)) in getSplits()
2401 public PackageImpl setSplitClassLoaderName(int splitIndex, String classLoaderName) {
2402 this.splitClassLoaderNames[splitIndex] = classLoaderName;
2407 public PackageImpl setSplitHasCode(int splitIndex, boolean splitHasCode) {
2408 this.splitFlags[splitIndex] = splitHasCode
2409 ? this.splitFlags[splitIndex] | ApplicationInfo.FLAG_HAS_CODE
2410 : this.splitFlags[splitIndex] & ~ApplicationInfo.FLAG_HAS_CODE;
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1260 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags) in parseSplitApk() argument
1262 final String apkPath = pkg.splitCodePaths[splitIndex]; in parseSplitApk()
1283 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError); in parseSplitApk()
1307 int splitIndex, String[] outError) throws XmlPullParserException, IOException, in parseSplitApk() argument
1342 if (!parseSplitApplication(pkg, res, parser, flags, splitIndex, outError)) { in parseSplitApk()
4029 int flags, int splitIndex, String[] outError) in parseSplitApplication() argument
4036 owner.splitFlags[splitIndex] |= ApplicationInfo.FLAG_HAS_CODE; in parseSplitApplication()
4042 owner.applicationInfo.splitClassLoaderNames[splitIndex] = classLoaderName; in parseSplitApplication()
4186 parsedComponent.splitName = owner.splitNames[splitIndex]; in parseSplitApplication()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java2924 final int splitIndex = libPath.lastIndexOf('/'); in prepareInheritedFiles() local
2925 if (splitIndex < 0 || splitIndex >= libPath.length() - 1) { in prepareInheritedFiles()
2931 final String libDirPath = libPath.substring(1, splitIndex); in prepareInheritedFiles()
2936 final String archDirPath = libPath.substring(splitIndex + 1); in prepareInheritedFiles()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7732 for (size_t splitIndex = 0; splitIndex < splitCount; splitIndex++) { in print() local
7748 if (splitIndex >= typeList.size() || typeList.isEmpty()) { in print()
7752 const Type* typeConfigs = typeList[splitIndex]; in print()