Home
last modified time | relevance | path

Searched refs:splitCodePaths (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java64 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePathsExcludingResourceOnly() local
65 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePathsExcludingResourceOnly()
66 for (int i = 0; i < splitCodePaths.length; i++) { in getAllCodePathsExcludingResourceOnly()
68 paths.add(splitCodePaths[i]); in getAllCodePathsExcludingResourceOnly()
83 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePaths() local
84 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
85 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
DPackageImpl.java426 public PackageImpl setSplitCodePaths(@Nullable String[] splitCodePaths) { in setSplitCodePaths() argument
427 this.splitCodePaths = splitCodePaths; in setSplitCodePaths()
428 if (splitCodePaths != null) { in setSplitCodePaths()
429 int size = splitCodePaths.length; in setSplitCodePaths()
431 this.splitCodePaths[index] = TextUtils.safeIntern(this.splitCodePaths[index]); in setSplitCodePaths()
DParsedPackage.java61 ParsedPackage setSplitCodePaths(String[] splitCodePaths); in setSplitCodePaths() argument
/frameworks/base/services/core/java/com/android/server/pm/dex/
DArtManagerService.java240 String[] splitCodePaths = info.applicationInfo.getSplitCodePaths(); in snapshotAppProfile() local
241 if (!pathFound && (splitCodePaths != null)) { in snapshotAppProfile()
242 for (int i = splitCodePaths.length - 1; i >= 0; i--) { in snapshotAppProfile()
243 if (splitCodePaths[i].equals(codePath)) { in snapshotAppProfile()
528 String[] splitCodePaths = pkg.getSplitCodePaths(); in getPackageProfileNames() local
531 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getPackageProfileNames()
532 for (int i = 0; i < splitCodePaths.length; i++) { in getPackageProfileNames()
534 result.put(splitCodePaths[i], ArtManager.getProfileName(splitNames[i])); in getPackageProfileNames()
DDexManager.java361 String[] splitCodePaths) { in notifyPackageUpdated() argument
362 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
409 String[] splitCodePaths, String[] dataDirs, int userId) { in cachePackageCodeLocation() argument
412 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
416 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
1109 String[] splitCodePaths) { in PackageCodeLocations() argument
1113 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
1116 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
1119 if (splitCodePaths != null) { in updateCodeLocation()
1120 for (String split : splitCodePaths) { in updateCodeLocation()
DDexoptUtils.java405 String[] splitCodePaths = pkg.getSplitCodePaths(); in getSplitRelativeCodePaths() local
406 String[] splitRelativeCodePaths = new String[ArrayUtils.size(splitCodePaths)]; in getSplitRelativeCodePaths()
408 File pathFile = new File(splitCodePaths[i]); in getSplitRelativeCodePaths()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DDexoptUtilsTest.java81 String[] splitCodePaths = new String[]{ in createMockApplicationInfo() local
92 String[] splitNames = new String[splitCodePaths.length]; in createMockApplicationInfo()
93 int[] splitRevisionCodes = new int[splitCodePaths.length]; in createMockApplicationInfo()
97 splitDependencies = new SparseArray<>(splitCodePaths.length); in createMockApplicationInfo()
112 splitCodePaths, in createMockApplicationInfo()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageImpl.java343 protected String[] splitCodePaths; field in ParsingPackageImpl
986 public ParsingPackageImpl asSplit(String[] splitNames, String[] splitCodePaths,
989 this.splitCodePaths = splitCodePaths;
1152 appInfo.setSplitCodePaths(ArrayUtils.size(splitCodePaths) == 0 ? null : splitCodePaths);
1153 appInfo.setSplitResourcePaths(ArrayUtils.size(splitCodePaths) == 0 ? null : splitCodePaths);
1324 dest.writeStringArray(this.splitCodePaths);
1473 this.splitCodePaths = in.createStringArray();
1933 return splitCodePaths == null ? EmptyArray.STRING : splitCodePaths;
DParsingPackage.java127 String[] splitCodePaths, in asSplit() argument
DParsingPackageUtils.java3098 String[] splitCodePaths = pkg.getSplitCodePaths();
3099 if (!ArrayUtils.isEmpty(splitCodePaths) && !isFrameworkResSplit) {
3100 for (int i = 0; i < splitCodePaths.length; i++) {
3103 splitCodePaths[i],
/frameworks/base/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java271 String[] splitCodePaths = null; in composePackageLiteFromApks() local
280 splitCodePaths = new String[size]; in composePackageLiteFromApks()
293 splitCodePaths[i] = apkRenamed ? new File(packageDir, in composePackageLiteFromApks()
304 usesSplitNames, configForSplits, splitCodePaths, splitRevisionCodes, in composePackageLiteFromApks()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java405 public final String[] splitCodePaths; field in PackageParser.PackageLite
427 String[] configForSplit, String[] splitCodePaths, int[] splitRevisionCodes) { in PackageLite() argument
441 this.splitCodePaths = splitCodePaths; in PackageLite()
458 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
459 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
1049 String[] splitCodePaths = null; in parseClusterPackageLite() local
1057 splitCodePaths = new String[size]; in parseClusterPackageLite()
1068 splitCodePaths[i] = apk.codePath; in parseClusterPackageLite()
1075 usesSplitNames, configForSplits, splitCodePaths, splitRevisionCodes); in parseClusterPackageLite()
1158 pkg.splitCodePaths = lite.splitCodePaths; in parseClusterPackage()
[all …]
DApplicationInfo.java2627 … {@hide} */ public void setSplitCodePaths(String[] splitCodePaths) { splitSourceDirs = splitCodePa… in setSplitCodePaths() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java289 String[] splitCodePaths = pkg.getSplitCodePaths(); in performDexOptLI() local
295 + (splitCodePaths == null ? "null" : Arrays.toString(splitCodePaths))); in performDexOptLI()
DVerificationParams.java421 final String[] splitCodePaths = mPackageLite.getSplitApkPaths(); in sendPackageVerificationRequest() local
423 baseCodePath, splitCodePaths); in sendPackageVerificationRequest()
DInstallPackageHelper.java1026 final String[] splitCodePaths = request.mInstallResult.mPkg.getSplitCodePaths(); in installPackagesLI() local
1030 .buildVerificationRootHashString(baseCodePath, splitCodePaths); in installPackagesLI()
4024 String[] splitCodePaths = pkg.getSplitCodePaths(); in canSkipForcedPackageVerification() local
4025 if (!ArrayUtils.isEmpty(splitCodePaths)) { in canSkipForcedPackageVerification()
4026 for (int i = 0; i < splitCodePaths.length; i++) { in canSkipForcedPackageVerification()
4027 if (!VerityUtils.hasFsverity(splitCodePaths[i])) { in canSkipForcedPackageVerification()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt582 expect.that(after.splitCodePaths).asList() in <lambda>()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt12728 Landroid/content/pm/PackageParser$Package;->splitCodePaths:[Ljava/lang/String;
12754 Landroid/content/pm/PackageParser$PackageLite;->splitCodePaths:[Ljava/lang/String;