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.java418 final int splitIndex = docId.indexOf(':', 1); in getPathFromDocId() local
419 final String path = docId.substring(splitIndex + 1); in getPathFromDocId()
434 final int splitIndex = docId.indexOf(':', 1); in getRootFromDocId() local
435 final String tag = docId.substring(0, splitIndex); in getRootFromDocId()
450 final int splitIndex = docId.indexOf(':', 1); in buildFile() local
451 final String path = docId.substring(splitIndex + 1); in buildFile()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackage.java202 ParsingPackage setSplitHasCode(int splitIndex, boolean splitHasCode); in setSplitHasCode() argument
300 ParsingPackage setSplitClassLoaderName(int splitIndex, String classLoaderName); in setSplitClassLoaderName() argument
DParsingPackageUtils.java424 ParsingPackage pkg, int splitIndex, AssetManager assets, int flags) { in parseSplitApk() argument
425 final String apkPath = pkg.getSplitCodePaths()[splitIndex]; in parseSplitApk()
439 parser, flags, splitIndex); in parseSplitApk()
516 Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApk() argument
545 result = parseSplitApplication(input, pkg, res, parser, flags, splitIndex); in parseSplitApk()
576 ParsingPackage pkg, Resources res, XmlResourceParser parser, int flags, int splitIndex) in parseSplitApplication() argument
580 pkg.setSplitHasCode(splitIndex, sa.getBoolean( in parseSplitApplication()
587 pkg.setSplitClassLoaderName(splitIndex, classLoaderName); in parseSplitApplication()
675 mainComponent.setSplitName(pkg.getSplitNames()[splitIndex]); in parseSplitApplication()
DParsingPackageImpl.java794 public ParsingPackageImpl setSplitHasCode(int splitIndex, boolean splitHasCode) {
795 this.splitFlags[splitIndex] = splitHasCode
796 ? this.splitFlags[splitIndex] | ApplicationInfo.FLAG_HAS_CODE
797 : this.splitFlags[splitIndex] & ~ApplicationInfo.FLAG_HAS_CODE;
802 public ParsingPackageImpl setSplitClassLoaderName(int splitIndex, String classLoaderName) {
803 this.splitClassLoaderNames[splitIndex] = classLoaderName;
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java1826 final int splitIndex = libPath.lastIndexOf('/'); in makeSessionActiveLocked() local
1827 if (splitIndex < 0 || splitIndex >= libPath.length() - 1) { in makeSessionActiveLocked()
1833 final String libDirPath = libPath.substring(1, splitIndex); in makeSessionActiveLocked()
1838 final String archDirPath = libPath.substring(splitIndex + 1); in makeSessionActiveLocked()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1214 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags) in parseSplitApk() argument
1216 final String apkPath = pkg.splitCodePaths[splitIndex]; in parseSplitApk()
1237 pkg = parseSplitApk(pkg, res, parser, flags, splitIndex, outError); in parseSplitApk()
1261 int splitIndex, String[] outError) throws XmlPullParserException, IOException, in parseSplitApk() argument
1296 if (!parseSplitApplication(pkg, res, parser, flags, splitIndex, outError)) { in parseSplitApk()
3964 int flags, int splitIndex, String[] outError) in parseSplitApplication() argument
3971 owner.splitFlags[splitIndex] |= ApplicationInfo.FLAG_HAS_CODE; in parseSplitApplication()
3977 owner.applicationInfo.splitClassLoaderNames[splitIndex] = classLoaderName; in parseSplitApplication()
4121 parsedComponent.splitName = owner.splitNames[splitIndex]; in parseSplitApplication()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp7458 for (size_t splitIndex = 0; splitIndex < splitCount; splitIndex++) { in print() local
7474 if (splitIndex >= typeList.size() || typeList.isEmpty()) { in print()
7478 const Type* typeConfigs = typeList[splitIndex]; in print()