Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/split/
DSplitAssetDependencyLoader.java53 mSplitPaths = new String[pkg.splitCodePaths.length + 1]; in SplitAssetDependencyLoader()
55 System.arraycopy(pkg.splitCodePaths, 0, mSplitPaths, 1, pkg.splitCodePaths.length); in SplitAssetDependencyLoader()
DDefaultSplitAssetLoader.java46 mSplitCodePaths = pkg.splitCodePaths; in DefaultSplitAssetLoader()
/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java300 String[] splitCodePaths) { in notifyPackageUpdated() argument
301 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
348 String[] splitCodePaths, String[] dataDirs, int userId) { in cachePackageCodeLocation() argument
351 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
355 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
817 String[] splitCodePaths) { in PackageCodeLocations() argument
821 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
824 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
827 if (splitCodePaths != null) { in updateCodeLocation()
828 for (String split : splitCodePaths) { in updateCodeLocation()
DDexoptUtils.java399 String[] splitCodePaths = info.getSplitCodePaths(); in getSplitRelativeCodePaths() local
400 String[] splitRelativeCodePaths = new String[splitCodePaths.length]; in getSplitRelativeCodePaths()
401 for (int i = 0; i < splitCodePaths.length; i++) { in getSplitRelativeCodePaths()
402 File pathFile = new File(splitCodePaths[i]); in getSplitRelativeCodePaths()
DArtManagerService.java229 String[] splitCodePaths = info.applicationInfo.getSplitCodePaths(); in snapshotAppProfile() local
230 if (!pathFound && (splitCodePaths != null)) { in snapshotAppProfile()
231 for (int i = splitCodePaths.length - 1; i >= 0; i--) { in snapshotAppProfile()
232 if (splitCodePaths[i].equals(codePath)) { in snapshotAppProfile()
519 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) { in getPackageProfileNames()
520 for (int i = 0; i < pkg.splitCodePaths.length; i++) { in getPackageProfileNames()
522 result.put(pkg.splitCodePaths[i], ArtManager.getProfileName(pkg.splitNames[i])); in getPackageProfileNames()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java129 String splitDexMetadata = packageDexMetadata.get(pkg.splitCodePaths[0]); in testParsePackageSplitsWithDmFileValid()
131 assertTrue(isDexMetadataForApk(splitDexMetadata, pkg.splitCodePaths[0])); in testParsePackageSplitsWithDmFileValid()
145 String splitDexMetadata = packageDexMetadata.get(pkg.splitCodePaths[0]); in testParsePackageSplitsNoBaseWithDmFileValid()
147 assertTrue(isDexMetadataForApk(splitDexMetadata, pkg.splitCodePaths[0])); in testParsePackageSplitsNoBaseWithDmFileValid()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java317 if (pkg.splitCodePaths != null) {
318 for (int i = pkg.splitCodePaths.length - 1; i >=0; --i) {
319 final File splitFile = new File(pkg.splitCodePaths[i]);
858 copyFile(pkg.splitCodePaths[i], targetDir, in copyPackage()
DPackageDexOptimizer.java185 String[] splitCodePaths = pkg.applicationInfo.getSplitCodePaths(); in performDexOptLI() local
191 + (splitCodePaths == null ? "null" : Arrays.toString(splitCodePaths))); in performDexOptLI()
DPackageManagerService.java3490 pkg.baseCodePath, pkg.splitCodePaths); in enableCompressedPackage()
9243 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) {
9244 for (int i = 0; i < pkg.splitCodePaths.length; i++) {
9245 if (!canSkipForcedApkVerification(pkg.splitCodePaths[i])) {
9313 pkg.setApplicationInfoSplitCodePaths(pkg.splitCodePaths);
9316 pkg.setApplicationInfoSplitResourcePaths(pkg.splitCodePaths);
11557 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) {
11558 for (int i = 0; i < pkg.splitCodePaths.length; i++) {
11561 if (splitShouldHaveCode && !apkHasCode(pkg.splitCodePaths[i])) {
11563 "Package " + pkg.splitCodePaths[i] + " code is missing");
[all …]
DPackageInstallerSession.java1711 final File splitFile = new File(existing.splitCodePaths[i]); in validateApkInstallLocked()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java398 public final String[] splitCodePaths; field in PackageParser.PackageLite
414 String[] splitCodePaths, int[] splitRevisionCodes) { in PackageLite() argument
426 this.splitCodePaths = splitCodePaths; in PackageLite()
440 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
441 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
963 String[] splitCodePaths = null; in parseClusterPackageLite() local
971 splitCodePaths = new String[size]; in parseClusterPackageLite()
982 splitCodePaths[i] = apk.codePath; in parseClusterPackageLite()
989 configForSplits, splitCodePaths, splitRevisionCodes); in parseClusterPackageLite()
1254 pkg.splitCodePaths = lite.splitCodePaths; in parseClusterPackage()
[all …]
DApplicationInfo.java2121 … {@hide} */ public void setSplitCodePaths(String[] splitCodePaths) { splitSourceDirs = splitCodePa… in setSplitCodePaths() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java217 assertTrue(Arrays.equals(a.splitCodePaths, b.splitCodePaths)); in assertPackagesEqual()
452 pkg.splitCodePaths = new String[] { "foo6" }; in setKnownFields()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt16689 Landroid/content/pm/PackageParser$Package;->splitCodePaths:[Ljava/lang/String;
16716 Landroid/content/pm/PackageParser$PackageLite;->splitCodePaths:[Ljava/lang/String;