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.java203 int splitIndex = ArrayUtils.indexOf(appInfo.splitNames, splitName); in loadFromSplit() local
204 if (splitIndex < 0) { in loadFromSplit()
208 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.java423 final int splitIndex = docId.indexOf(':', 1); in getPathFromDocId() local
424 final String path = docId.substring(splitIndex + 1); in getPathFromDocId()
439 final int splitIndex = docId.indexOf(':', 1); in getRootFromDocId() local
440 final String tag = docId.substring(0, splitIndex); in getRootFromDocId()
455 final int splitIndex = docId.indexOf(':', 1); in buildFile() local
456 final String path = docId.substring(splitIndex + 1); in buildFile()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackage.java215 ParsingPackage setSplitHasCode(int splitIndex, boolean splitHasCode); in setSplitHasCode() argument
325 ParsingPackage setSplitClassLoaderName(int splitIndex, String classLoaderName); in setSplitClassLoaderName() argument
DParsingPackageUtils.java544 ParsingPackage pkg, int splitIndex, AssetManager assets, int flags) { in parseSplitApk() argument
545 final String apkPath = pkg.getSplitCodePaths()[splitIndex]; in parseSplitApk()
559 parser, flags, splitIndex); in parseSplitApk()
636 Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApk() argument
665 result = parseSplitApplication(input, pkg, res, parser, flags, splitIndex); in parseSplitApk()
696 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApplication() argument
700 pkg.setSplitHasCode(splitIndex, sa.getBoolean( in parseSplitApplication()
707 pkg.setSplitClassLoaderName(splitIndex, classLoaderName); in parseSplitApplication()
795 mainComponent.setSplitName(pkg.getSplitNames()[splitIndex]); in parseSplitApplication()
DParsingPackageImpl.java948 public ParsingPackageImpl setSplitHasCode(int splitIndex, boolean splitHasCode) {
949 this.splitFlags[splitIndex] = splitHasCode
950 ? this.splitFlags[splitIndex] | ApplicationInfo.FLAG_HAS_CODE
951 : this.splitFlags[splitIndex] & ~ApplicationInfo.FLAG_HAS_CODE;
956 public ParsingPackageImpl setSplitClassLoaderName(int splitIndex, String classLoaderName) {
957 this.splitClassLoaderNames[splitIndex] = classLoaderName;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java2532 final int splitIndex = libPath.lastIndexOf('/'); in parseApkLite() local
2533 if (splitIndex < 0 || splitIndex >= libPath.length() - 1) { in parseApkLite()
2539 final String libDirPath = libPath.substring(1, splitIndex); in parseApkLite()
2544 final String archDirPath = libPath.substring(splitIndex + 1); in parseApkLite()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1238 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags) in parseSplitApk() argument
1240 final String apkPath = pkg.splitCodePaths[splitIndex]; in parseSplitApk()
1261 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError); in parseSplitApk()
1285 int splitIndex, String[] outError) throws XmlPullParserException, IOException, in parseSplitApk() argument
1320 if (!parseSplitApplication(pkg, res, parser, flags, splitIndex, outError)) { in parseSplitApk()
3973 int flags, int splitIndex, String[] outError) in parseSplitApplication() argument
3980 owner.splitFlags[splitIndex] |= ApplicationInfo.FLAG_HAS_CODE; in parseSplitApplication()
3986 owner.applicationInfo.splitClassLoaderNames[splitIndex] = classLoaderName; in parseSplitApplication()
4130 parsedComponent.splitName = owner.splitNames[splitIndex]; in parseSplitApplication()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7579 for (size_t splitIndex = 0; splitIndex < splitCount; splitIndex++) { in print() local
7595 if (splitIndex >= typeList.size() || typeList.isEmpty()) { in print()
7599 const Type* typeConfigs = typeList[splitIndex]; in print()