Home
last modified time | relevance | path

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

/aosp12/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
H A DAndroidPackageUtils.java63 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePathsExcludingResourceOnly() local
64 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePathsExcludingResourceOnly()
65 for (int i = 0; i < splitCodePaths.length; i++) { in getAllCodePathsExcludingResourceOnly()
67 paths.add(splitCodePaths[i]); in getAllCodePathsExcludingResourceOnly()
82 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePaths() local
83 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
84 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
H A DPackageImpl.java432 public PackageImpl setSplitCodePaths(@Nullable String[] splitCodePaths) { in setSplitCodePaths() argument
433 this.splitCodePaths = splitCodePaths; in setSplitCodePaths()
434 if (splitCodePaths != null) { in setSplitCodePaths()
435 int size = splitCodePaths.length; in setSplitCodePaths()
437 this.splitCodePaths[index] = TextUtils.safeIntern(this.splitCodePaths[index]); in setSplitCodePaths()
H A DParsedPackage.java64 ParsedPackage setSplitCodePaths(String[] splitCodePaths); in setSplitCodePaths() argument
/aosp12/frameworks/base/services/core/java/com/android/server/pm/dex/
H A DArtManagerService.java235 String[] splitCodePaths = info.applicationInfo.getSplitCodePaths(); in snapshotAppProfile() local
236 if (!pathFound && (splitCodePaths != null)) { in snapshotAppProfile()
237 for (int i = splitCodePaths.length - 1; i >= 0; i--) { in snapshotAppProfile()
238 if (splitCodePaths[i].equals(codePath)) { in snapshotAppProfile()
530 String[] splitCodePaths = pkg.getSplitCodePaths(); in getPackageProfileNames() local
533 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getPackageProfileNames()
534 for (int i = 0; i < splitCodePaths.length; i++) { in getPackageProfileNames()
536 result.put(splitCodePaths[i], ArtManager.getProfileName(splitNames[i])); in getPackageProfileNames()
H A DDexManager.java343 String[] splitCodePaths) { in notifyPackageUpdated() argument
344 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
391 String[] splitCodePaths, String[] dataDirs, int userId) { in cachePackageCodeLocation() argument
394 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
398 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
1089 String[] splitCodePaths) { in PackageCodeLocations() argument
1093 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
1096 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
1099 if (splitCodePaths != null) { in updateCodeLocation()
1100 for (String split : splitCodePaths) { in updateCodeLocation()
H A 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()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DDexoptUtilsTest.java79 String[] splitCodePaths = new String[]{ in createMockApplicationInfo() local
90 String[] splitNames = new String[splitCodePaths.length]; in createMockApplicationInfo()
91 int[] splitRevisionCodes = new int[splitCodePaths.length]; in createMockApplicationInfo()
95 splitDependencies = new SparseArray<>(splitCodePaths.length); in createMockApplicationInfo()
110 splitCodePaths, in createMockApplicationInfo()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DApkLiteParseUtils.java215 String[] splitCodePaths = null; in composePackageLiteFromApks() local
222 splitCodePaths = new String[size]; in composePackageLiteFromApks()
233 splitCodePaths[i] = apkRenamed ? new File(packageDir, in composePackageLiteFromApks()
244 usesSplitNames, configForSplits, splitCodePaths, splitRevisionCodes, in composePackageLiteFromApks()
H A DParsingPackageImpl.java317 protected String[] splitCodePaths; field in ParsingPackageImpl
934 public ParsingPackageImpl asSplit(String[] splitNames, String[] splitCodePaths,
937 this.splitCodePaths = splitCodePaths;
1100 appInfo.setSplitCodePaths(splitCodePaths);
1101 appInfo.setSplitResourcePaths(splitCodePaths);
1218 dest.writeStringArray(this.splitCodePaths);
1342 this.splitCodePaths = in.createStringArray();
1769 return splitCodePaths;
H A DParsingPackage.java122 String[] splitCodePaths, in asSplit() argument
H A DParsingPackageUtils.java3002 String[] splitCodePaths = pkg.getSplitCodePaths();
3003 if (!ArrayUtils.isEmpty(splitCodePaths)) {
3004 for (int i = 0; i < splitCodePaths.length; i++) {
3007 splitCodePaths[i],
/aosp12/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java397 public final String[] splitCodePaths; field in PackageParser.PackageLite
433 this.splitCodePaths = splitCodePaths; in PackageLite()
1027 String[] splitCodePaths = null; in parseClusterPackageLite() local
1035 splitCodePaths = new String[size]; in parseClusterPackageLite()
1046 splitCodePaths[i] = apk.codePath; in parseClusterPackageLite()
1136 pkg.splitCodePaths = lite.splitCodePaths; in parseClusterPackage()
6730 public String[] splitCodePaths; field in PackageParser.Package
7017 this.splitCodePaths = codePaths; in setSplitCodePaths()
7457 dest.writeStringArray(splitCodePaths); in writeToParcel()
8929 mSplitCodePaths = pkg.splitCodePaths; in DefaultSplitAssetLoader()
[all …]
H A DApplicationInfo.java2516 … {@hide} */ public void setSplitCodePaths(String[] splitCodePaths) { splitSourceDirs = splitCodePa… in setSplitCodePaths() argument
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageDexOptimizer.java245 String[] splitCodePaths = pkg.getSplitCodePaths(); in performDexOptLI() local
251 + (splitCodePaths == null ? "null" : Arrays.toString(splitCodePaths))); in performDexOptLI()
H A DPackageManagerService.java12115 String[] splitCodePaths = pkg.getSplitCodePaths(); in canSkipForcedPackageVerification() local
12116 if (!ArrayUtils.isEmpty(splitCodePaths)) { in canSkipForcedPackageVerification()
12117 for (int i = 0; i < splitCodePaths.length; i++) { in canSkipForcedPackageVerification()
12118 if (!canSkipForcedApkVerification(splitCodePaths[i])) { in canSkipForcedPackageVerification()
20078 final String[] splitCodePaths = request.installResult.pkg.getSplitCodePaths(); in installPackagesLI() local
20082 .buildVerificationRootHashString(baseCodePath, splitCodePaths); in installPackagesLI()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt15606 Landroid/content/pm/PackageParser$Package;->splitCodePaths:[Ljava/lang/String;
15632 Landroid/content/pm/PackageParser$PackageLite;->splitCodePaths:[Ljava/lang/String;