/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | ApexManagerTest.java | 151 @NonNull ApexInfo apexInfo) { in mockParsePackage() argument 499 ApexInfo apexInfo = new ApexInfo(); in createApexInfoForTestPkg() local 500 apexInfo.isActive = isActive; in createApexInfoForTestPkg() 501 apexInfo.isFactory = isFactory; in createApexInfoForTestPkg() 504 apexInfo.versionCode = version; in createApexInfoForTestPkg() 506 return apexInfo; in createApexInfoForTestPkg() 515 ApexInfo apexInfo = new ApexInfo(); in createApexInfo() local 516 apexInfo.moduleName = moduleName; in createApexInfo() 518 apexInfo.isActive = isActive; in createApexInfo() 519 apexInfo.isFactory = isFactory; in createApexInfo() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ScanPartition.java | 45 public final ApexManager.ActiveApexInfo apexInfo; field in ScanPartition 50 apexInfo = null; in ScanPartition() 59 @Nullable ApexManager.ActiveApexInfo apexInfo) { in ScanPartition() argument 62 this.apexInfo = apexInfo; in ScanPartition() 63 if (apexInfo != null) { in ScanPartition() 65 if (apexInfo.isFactory) { in ScanPartition() 68 if (apexInfo.activeApexChanged) { in ScanPartition()
|
H A D | InitAppsHelper.java | 141 ApexManager.ActiveApexInfo apexInfo) { in resolveApexToScanPartition() argument 144 if (apexInfo.preInstalledApexPath.getAbsolutePath().equals( in resolveApexToScanPartition() 146 || apexInfo.preInstalledApexPath.getAbsolutePath().startsWith( in resolveApexToScanPartition() 148 return new ScanPartition(apexInfo.apexDirectory, sp, apexInfo); in resolveApexToScanPartition() 182 for (ApexManager.ActiveApexInfo apexInfo : mApexManager.getActiveApexInfos()) { in initSystemApps() 184 apkInApexPreInstalledPaths.put(packageName, apexInfo.preInstalledApexPath); in initSystemApps() 329 packageParser, executorService, partition.apexInfo); in scanSystemDirs() 346 packageParser, executorService, partition.apexInfo); in scanSystemDirs() 350 packageParser, executorService, partition.apexInfo); in scanSystemDirs() 368 @Nullable ApexManager.ActiveApexInfo apexInfo) { in scanDirTracedLI() argument [all …]
|
H A D | ApexManager.java | 104 public final ApexInfo apexInfo; field in ApexManager.ScanResult 108 this.apexInfo = apexInfo; in ScanResult() 141 public ActiveApexInfo(ApexInfo apexInfo) { in ActiveApexInfo() argument 143 apexInfo.moduleName, in ActiveApexInfo() 145 + apexInfo.moduleName), in ActiveApexInfo() 146 new File(apexInfo.preinstalledModulePath), in ActiveApexInfo() 147 apexInfo.isFactory, in ActiveApexInfo() 148 new File(apexInfo.modulePath), in ActiveApexInfo() 149 apexInfo.activeApexChanged); in ActiveApexInfo() 484 ApexInfo ai = scanResult.apexInfo; in notifyScanResultLocked() [all …]
|
H A D | PackageSessionVerifier.java | 397 for (ApexInfo apexInfo : apexInfoList.apexInfos) { in submitSessionToApexService() 400 File apexFile = new File(apexInfo.modulePath); in submitSessionToApexService() 405 "Failed to parse APEX package " + apexInfo.modulePath + " : " + e, e); in submitSessionToApexService()
|
H A D | InstallingSession.java | 611 ApexInfo apexInfo = mPm.mApexManager.installPackage(apexes[0]); in installApexPackages() local 618 request.setApexInfo(apexInfo); in installApexPackages() 619 request.setApexModuleName(apexInfo.moduleName); in installApexPackages()
|
H A D | InstallRequest.java | 666 public void setApexInfo(ApexInfo apexInfo) { in setApexInfo() argument 667 mApexInfo = apexInfo; in setApexInfo()
|
H A D | DexOptHelper.java | 922 for (ActiveApexInfo apexInfo : apexManager.getActiveApexInfos()) { in hasBcpApexesChanged() 923 if (bcpApexes.contains(apexInfo.apexModuleName) && apexInfo.activeApexChanged) { in hasBcpApexesChanged()
|
H A D | InstallPackageHelper.java | 3705 @Nullable ApexManager.ActiveApexInfo apexInfo) { in installPackagesFromDir() argument 3747 new UserHandle(UserHandle.USER_SYSTEM), apexInfo); in installPackagesFromDir()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | BinaryTransparencyService.java | 331 recordApexInfo(apexInfo); in recordMeasurementsForAllPackages() 392 apexInfo.packageName = packageState.getPackageName(); in collectAllApexInfo() 394 apexInfo.digest = apexChecksum.value; in collectAllApexInfo() 395 apexInfo.digestAlgorithm = apexChecksum.algorithm; in collectAllApexInfo() 396 apexInfo.signerDigests = in collectAllApexInfo() 404 results.add(apexInfo); in collectAllApexInfo() 459 apexInfo.packageName, in recordApexInfo() 460 apexInfo.longVersion, in recordApexInfo() 461 (apexInfo.digest != null) ? HexEncoding.encodeToString(apexInfo.digest, false) in recordApexInfo() 463 apexInfo.digestAlgorithm, in recordApexInfo() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
H A D | RecoverySystemService.java | 962 Arrays.stream(metadata.apexInfo).filter(apex -> apex.isCompressed).map(apex -> { in getCompressedApexInfoList()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | PackageParser.java | 705 PackageParser.Package pkg, ApexInfo apexInfo, int flags) { in generatePackageInfo() argument 706 return generatePackageInfo(pkg, apexInfo, EmptyArray.INT, flags, 0, 0, in generatePackageInfo() 710 private static PackageInfo generatePackageInfo(PackageParser.Package p, ApexInfo apexInfo, in generatePackageInfo() argument 868 if (apexInfo != null) { in generatePackageInfo() 869 File apexFile = new File(apexInfo.modulePath); in generatePackageInfo() 873 if (apexInfo.isFactory) { in generatePackageInfo() 878 if (apexInfo.isActive) { in generatePackageInfo()
|