/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 478 ApexInfo apexInfo = new ApexInfo(); in createApexInfoForTestPkg() local 479 apexInfo.isActive = isActive; in createApexInfoForTestPkg() 480 apexInfo.isFactory = isFactory; in createApexInfoForTestPkg() 481 apexInfo.moduleName = TEST_APEX_PKG; in createApexInfoForTestPkg() 482 apexInfo.modulePath = apexFile.getPath(); in createApexInfoForTestPkg() 483 apexInfo.versionCode = 191000070; in createApexInfoForTestPkg() 484 apexInfo.preinstalledModulePath = apexFile.getPath(); in createApexInfoForTestPkg() 486 return new ApexInfo[]{apexInfo}; in createApexInfoForTestPkg() 491 ApexInfo apexInfo = new ApexInfo(); in createApexInfo() local 492 apexInfo.moduleName = moduleName; in createApexInfo() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/ |
D | PackageParserLegacyCoreTest.java | 526 ApexInfo apexInfo = new ApexInfo(); in testApexPackageInfoGeneration() local 527 apexInfo.isActive = true; in testApexPackageInfoGeneration() 528 apexInfo.isFactory = false; in testApexPackageInfoGeneration() 529 apexInfo.moduleName = apexModuleName; in testApexPackageInfoGeneration() 530 apexInfo.modulePath = apexFile.getPath(); in testApexPackageInfoGeneration() 531 apexInfo.versionCode = 191000070; in testApexPackageInfoGeneration() 542 PackageInfo pi = PackageInfoWithoutStateUtils.generate(pkg, apexInfo, flags); in testApexPackageInfoGeneration()
|
/frameworks/base/core/java/android/content/pm/parsing/ |
D | PackageInfoWithoutStateUtils.java | 83 public static PackageInfo generate(ParsingPackageRead pkg, ApexInfo apexInfo, int flags) { in generate() argument 85 new PackageUserState(), UserHandle.getCallingUserId(), apexInfo); in generate() 92 @Nullable ApexInfo apexInfo) { in generateWithComponents() argument 98 lastUpdateTime, grantedPermissions, state, userId, apexInfo, applicationInfo); in generateWithComponents() 192 @Nullable ApexInfo apexInfo, @NonNull ApplicationInfo applicationInfo) { in generateWithoutComponents() argument 198 lastUpdateTime, grantedPermissions, state, userId, apexInfo, applicationInfo); in generateWithoutComponents() 212 @Nullable ApexInfo apexInfo, @NonNull ApplicationInfo applicationInfo) { in generateWithoutComponentsUnchecked() argument 313 if (apexInfo != null) { in generateWithoutComponentsUnchecked() 314 File apexFile = new File(apexInfo.modulePath); in generateWithoutComponentsUnchecked() 318 if (apexInfo.isFactory) { in generateWithoutComponentsUnchecked() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 130 private ActiveApexInfo(ApexInfo apexInfo) { in ActiveApexInfo() argument 132 apexInfo.moduleName, in ActiveApexInfo() 134 + apexInfo.moduleName), in ActiveApexInfo() 135 new File(apexInfo.preinstalledModulePath)); in ActiveApexInfo() 493 ApexInfo apexInfo = activePackages[i]; in getActiveApexInfos() local 494 mActiveApexInfosCache.add(new ActiveApexInfo(apexInfo)); in getActiveApexInfos() 1049 ApexInfo apexInfo = waitForApexService().installAndActivatePackage( in installPackage() local 1052 new File(apexInfo.modulePath), flags, /* useCaches= */ false); in installPackage() 1054 parsedPackage2, apexInfo, flags); in installPackage()
|
D | StagingManager.java | 282 for (ApexInfo apexInfo : apexInfoList.apexInfos) { in submitSessionToApexService() 286 File apexFile = new File(apexInfo.modulePath); in submitSessionToApexService() 289 packageInfo = PackageInfoWithoutStateUtils.generate(parsedPackage, apexInfo, flags); in submitSessionToApexService() 293 "Unable to generate package info: " + apexInfo.modulePath); in submitSessionToApexService() 297 "Failed to parse APEX package " + apexInfo.modulePath + " : " + e, e); in submitSessionToApexService()
|
D | PackageManagerService.java | 21908 ApexManager.ActiveApexInfo apexInfo) { in resolveApexToScanPartition() argument 21911 if (apexInfo.preInstalledApexPath.getAbsolutePath().startsWith( in resolveApexToScanPartition() 21913 return new ScanPartition(apexInfo.apexDirectory, sp, SCAN_AS_APK_IN_APEX); in resolveApexToScanPartition()
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 97 public static PackageInfo generate(AndroidPackage pkg, ApexInfo apexInfo, int flags, in generate() argument 100 new PackageUserState(), UserHandle.getCallingUserId(), apexInfo, pkgSetting); in generate() 109 @Nullable ApexInfo apexInfo, @Nullable PackageSetting pkgSetting) { in generateWithComponents() argument 118 apexInfo, applicationInfo); in generateWithComponents()
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 951 Arrays.stream(metadata.apexInfo).filter(apex -> apex.isCompressed).map(apex -> { in getCompressedApexInfoList()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageParser.java | 697 PackageParser.Package pkg, ApexInfo apexInfo, int flags) { in generatePackageInfo() argument 698 return generatePackageInfo(pkg, apexInfo, EmptyArray.INT, flags, 0, 0, in generatePackageInfo() 702 private static PackageInfo generatePackageInfo(PackageParser.Package p, ApexInfo apexInfo, in generatePackageInfo() argument 850 if (apexInfo != null) { in generatePackageInfo() 851 File apexFile = new File(apexInfo.modulePath); in generatePackageInfo() 855 if (apexInfo.isFactory) { in generatePackageInfo() 860 if (apexInfo.isActive) { in generatePackageInfo()
|