Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/dex/
DDexManager.java271 String[] splitCodePaths) { in notifyPackageUpdated() argument
272 cachePackageCodeLocation(packageName, baseCodePath, splitCodePaths, null, /*userId*/ -1); in notifyPackageUpdated()
319 String[] splitCodePaths, String[] dataDirs, int userId) { in cachePackageCodeLocation() argument
322 new PackageCodeLocations(packageName, baseCodePath, splitCodePaths)); in cachePackageCodeLocation()
326 pcl.updateCodeLocation(baseCodePath, splitCodePaths); in cachePackageCodeLocation()
788 String[] splitCodePaths) { in PackageCodeLocations() argument
792 updateCodeLocation(baseCodePath, splitCodePaths); in PackageCodeLocations()
795 public void updateCodeLocation(String baseCodePath, String[] splitCodePaths) { in updateCodeLocation() argument
798 if (splitCodePaths != null) { in updateCodeLocation()
799 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()
523 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) { in getPackageProfileNames()
524 for (int i = 0; i < pkg.splitCodePaths.length; i++) { in getPackageProfileNames()
526 result.put(pkg.splitCodePaths[i], ArtManager.getProfileName(pkg.splitNames[i])); in getPackageProfileNames()
/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/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java122 String splitDexMetadata = packageDexMetadata.get(pkg.splitCodePaths[0]); in testParsePackageSplitsWithDmFileValid()
124 assertTrue(isDexMetadataForApk(splitDexMetadata, pkg.splitCodePaths[0])); in testParsePackageSplitsWithDmFileValid()
138 String splitDexMetadata = packageDexMetadata.get(pkg.splitCodePaths[0]); in testParsePackageSplitsNoBaseWithDmFileValid()
140 assertTrue(isDexMetadataForApk(splitDexMetadata, pkg.splitCodePaths[0])); in testParsePackageSplitsNoBaseWithDmFileValid()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageBuilder.java84 mPkg.splitCodePaths = in addSplitCodePath()
85 ArrayUtils.appendElement(String.class, mPkg.splitCodePaths, splitCodePath); in addSplitCodePath()
DPackageParserTest.java221 assertTrue(Arrays.equals(a.splitCodePaths, b.splitCodePaths)); in assertPackagesEqual()
456 pkg.splitCodePaths = new String[] { "foo6" }; in setKnownFields()
/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.java183 String[] splitCodePaths = pkg.applicationInfo.getSplitCodePaths(); in performDexOptLI() local
189 + (splitCodePaths == null ? "null" : Arrays.toString(splitCodePaths))); in performDexOptLI()
DPackageManagerService.java3423 pkg.baseCodePath, pkg.splitCodePaths);
9176 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) {
9177 for (int i = 0; i < pkg.splitCodePaths.length; i++) {
9178 if (!canSkipForcedApkVerification(pkg.splitCodePaths[i])) {
9246 pkg.setApplicationInfoSplitCodePaths(pkg.splitCodePaths);
9249 pkg.setApplicationInfoSplitResourcePaths(pkg.splitCodePaths);
11569 if (!ArrayUtils.isEmpty(pkg.splitCodePaths)) {
11570 for (int i = 0; i < pkg.splitCodePaths.length; i++) {
11573 if (splitShouldHaveCode && !apkHasCode(pkg.splitCodePaths[i])) {
11575 "Package " + pkg.splitCodePaths[i] + " code is missing");
[all …]
DPackageInstallerSession.java1671 final File splitFile = new File(existing.splitCodePaths[i]); in validateApkInstallLocked()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java401 public final String[] splitCodePaths; field in PackageParser.PackageLite
417 String[] splitCodePaths, int[] splitRevisionCodes) { in PackageLite() argument
429 this.splitCodePaths = splitCodePaths; in PackageLite()
443 if (!ArrayUtils.isEmpty(splitCodePaths)) { in getAllCodePaths()
444 Collections.addAll(paths, splitCodePaths); in getAllCodePaths()
1007 String[] splitCodePaths = null; in parseClusterPackageLite() local
1015 splitCodePaths = new String[size]; in parseClusterPackageLite()
1026 splitCodePaths[i] = apk.codePath; in parseClusterPackageLite()
1033 configForSplits, splitCodePaths, splitRevisionCodes); in parseClusterPackageLite()
1298 pkg.splitCodePaths = lite.splitCodePaths; in parseClusterPackage()
[all …]
DApplicationInfo.java2123 … {@hide} */ public void setSplitCodePaths(String[] splitCodePaths) { splitSourceDirs = splitCodePa… in setSplitCodePaths() argument
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt15615 Landroid/content/pm/PackageParser$Package;->splitCodePaths:[Ljava/lang/String;
15641 Landroid/content/pm/PackageParser$PackageLite;->splitCodePaths:[Ljava/lang/String;