Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/
DAndroidPackageUtils.java65 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePathsExcludingResourceOnly() local
66 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePathsExcludingResourceOnly()
67 for (int i = 0; i < splitCodePaths.length; i++) { in getAllCodePathsExcludingResourceOnly()
69 paths.add(splitCodePaths[i]); in getAllCodePathsExcludingResourceOnly()
84 String[] splitCodePaths = pkg.getSplitCodePaths(); in getAllCodePaths() local
85 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
86 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
DPackageImpl.java191 protected String[] splitCodePaths; field in PackageImpl
735 public PackageImpl asSplit(String[] splitNames, String[] splitCodePaths, in asSplit() argument
738 this.splitCodePaths = splitCodePaths; in asSplit()
804 splitCodePaths[index], in getSplits()
1309 return splitCodePaths == null ? EmptyArray.STRING : splitCodePaths; in getSplitCodePaths()
2613 appInfo.setSplitCodePaths(ArrayUtils.size(splitCodePaths) == 0 ? null : splitCodePaths);
2614 appInfo.setSplitResourcePaths(ArrayUtils.size(splitCodePaths) == 0 ? null : splitCodePaths);
2969 public PackageImpl setSplitCodePaths(@Nullable String[] splitCodePaths) {
2970 this.splitCodePaths = splitCodePaths;
2971 if (splitCodePaths != null) {
[all …]
DParsedPackage.java66 ParsedPackage setSplitCodePaths(String[] splitCodePaths); in setSplitCodePaths() argument
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java350 String[] splitCodePaths) { in notifyPackageUpdated() argument
351 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
396 String[] splitCodePaths, String[] dataDirs, int userId) { in cachePackageCodeLocation() argument
399 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
403 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
912 String[] splitCodePaths) { in PackageCodeLocations() argument
916 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
919 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
922 if (splitCodePaths != null) { in updateCodeLocation()
923 for (String split : splitCodePaths) { in updateCodeLocation()
DArtManagerService.java246 String[] splitCodePaths = info.applicationInfo.getSplitCodePaths(); in snapshotAppProfile() local
247 if (!pathFound && (splitCodePaths != null)) { in snapshotAppProfile()
248 for (int i = splitCodePaths.length - 1; i >= 0; i--) { in snapshotAppProfile()
249 if (splitCodePaths[i].equals(codePath)) { in snapshotAppProfile()
587 String[] splitCodePaths = pkg.getSplitCodePaths(); in getPackageProfileNames() local
590 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getPackageProfileNames()
591 for (int i = 0; i < splitCodePaths.length; i++) { in getPackageProfileNames()
593 result.put(splitCodePaths[i], ArtManager.getProfileName(splitNames[i])); in getPackageProfileNames()
DDexoptUtils.java406 String[] splitCodePaths = pkg.getSplitCodePaths(); in getSplitRelativeCodePaths() local
407 String[] splitRelativeCodePaths = new String[ArrayUtils.size(splitCodePaths)]; in getSplitRelativeCodePaths()
409 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/core/java/android/content/pm/parsing/
DApkLiteParseUtils.java272 String[] splitCodePaths = null; in composePackageLiteFromApks() local
281 splitCodePaths = new String[size]; in composePackageLiteFromApks()
294 splitCodePaths[i] = apkRenamed ? new File(packageDir, in composePackageLiteFromApks()
305 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.java2665 … {@hide} */ public void setSplitCodePaths(String[] splitCodePaths) { splitSourceDirs = splitCodePa… in setSplitCodePaths() argument
/frameworks/base/services/core/java/com/android/server/pm/
DPackageDexOptimizer.java300 String[] splitCodePaths = pkg.getSplitCodePaths(); in performDexOptLI() local
306 + (splitCodePaths == null ? "null" : Arrays.toString(splitCodePaths))); in performDexOptLI()
DVerifyingSession.java455 final String[] splitCodePaths = mPackageLite.getSplitApkPaths(); in sendPackageVerificationRequest() local
460 baseCodePath, splitCodePaths); in sendPackageVerificationRequest()
DInstallPackageHelper.java1051 final String[] splitCodePaths = request.getPkg().getSplitCodePaths(); in installPackagesLI() local
1055 .buildVerificationRootHashString(baseCodePath, splitCodePaths); in installPackagesLI()
4377 String[] splitCodePaths = pkg.getSplitCodePaths(); in canSkipForcedPackageVerification() local
4378 if (!ArrayUtils.isEmpty(splitCodePaths)) { in canSkipForcedPackageVerification()
4379 for (int i = 0; i < splitCodePaths.length; i++) { in canSkipForcedPackageVerification()
4380 if (!VerityUtils.hasFsverity(splitCodePaths[i])) { in canSkipForcedPackageVerification()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackage.java131 String[] splitCodePaths, in asSplit() argument
DParsingPackageUtils.java3085 String[] splitCodePaths, boolean skipVerify) {
3107 if (!ArrayUtils.isEmpty(splitCodePaths) && !isFrameworkResSplit) {
3108 for (int i = 0; i < splitCodePaths.length; i++) {
3111 splitCodePaths[i],
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DAndroidPackageTest.kt638 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;