/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | ApexManagerTest.java | 151 .filter(it -> it.apexInfo.isActive) in findActive() 161 .filter(it -> it.apexInfo.isFactory) in findFactory() 169 @NonNull ApexInfo apexInfo) { in mockParsePackage() argument 172 var parsedPackage = parser.parsePackage(new File(apexInfo.modulePath), flags, in mockParsePackage() 212 ApexInfo[] apexInfo = new ApexInfo[]{ in testGetApexSystemServices() local 218 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testGetApexSystemServices() 342 ApexInfo[] apexInfo = createApexInfoForTestPkg(true, true); in testReportErrorWithApkInApex() local 343 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testReportErrorWithApkInApex() 371 ApexInfo[] apexInfo = createApexInfoForTestPkg(true, true); in testRegisterApkInApexDoesNotRegisterSimilarPrefix() local 372 List<ApexManager.ScanResult> scanResults = scanApexInfos(apexInfo); in testRegisterApkInApexDoesNotRegisterSimilarPrefix() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
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()
|
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 apexInfo.apexModuleName); in initSystemApps() 186 apkInApexPreInstalledPaths.put(packageName, apexInfo.preInstalledApexPath); in initSystemApps() 331 packageParser, executorService, partition.apexInfo); in scanSystemDirs() 348 packageParser, executorService, partition.apexInfo); in scanSystemDirs() 352 packageParser, executorService, partition.apexInfo); in scanSystemDirs() [all …]
|
D | ApexManager.java | 97 public final ApexInfo apexInfo; field in ApexManager.ScanResult 100 ScanResult(ApexInfo apexInfo, AndroidPackage pkg, String packageName) { in ScanResult() argument 101 this.apexInfo = apexInfo; in ScanResult() 134 public ActiveApexInfo(ApexInfo apexInfo) { in ActiveApexInfo() argument 136 apexInfo.moduleName, in ActiveApexInfo() 138 + apexInfo.moduleName), in ActiveApexInfo() 139 new File(apexInfo.preinstalledModulePath), in ActiveApexInfo() 140 apexInfo.isFactory, in ActiveApexInfo() 141 new File(apexInfo.modulePath), in ActiveApexInfo() 142 apexInfo.activeApexChanged); in ActiveApexInfo() [all …]
|
D | PackageSessionVerifier.java | 400 for (ApexInfo apexInfo : apexInfoList.apexInfos) { in submitSessionToApexService() 403 File apexFile = new File(apexInfo.modulePath); in submitSessionToApexService() 408 "Failed to parse APEX package " + apexInfo.modulePath + " : " + e, e); in submitSessionToApexService()
|
D | InstallingSession.java | 621 ApexInfo apexInfo = mPm.mApexManager.installPackage(apexes[0], force); in installApexPackages() local 628 request.setApexInfo(apexInfo); in installApexPackages() 629 request.setApexModuleName(apexInfo.moduleName); in installApexPackages()
|
D | DexOptHelper.java | 547 for (ActiveApexInfo apexInfo : apexManager.getActiveApexInfos()) { in hasBcpApexesChanged() 548 if (bcpApexes.contains(apexInfo.apexModuleName) && apexInfo.activeApexChanged) { in hasBcpApexesChanged()
|
D | InstallRequest.java | 778 public void setApexInfo(ApexInfo apexInfo) { in setApexInfo() argument 779 mApexInfo = apexInfo; in setApexInfo()
|
D | InstallPackageHelper.java | 3585 @Nullable ApexManager.ActiveApexInfo apexInfo) { in installPackagesFromDir() argument 3629 new UserHandle(UserHandle.USER_SYSTEM), apexInfo); in installPackagesFromDir()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 328 for (IBinaryTransparencyService.ApexInfo apexInfo : allApexInfo) { in recordMeasurementsForAllPackages() 329 packagesMeasured.putBoolean(apexInfo.packageName, true); in recordMeasurementsForAllPackages() 331 recordApexInfo(apexInfo); in recordMeasurementsForAllPackages() 391 var apexInfo = new IBinaryTransparencyService.ApexInfo(); in collectAllApexInfo() local 392 apexInfo.packageName = packageState.getPackageName(); in collectAllApexInfo() 393 apexInfo.longVersion = packageState.getVersionCode(); in collectAllApexInfo() 394 apexInfo.digest = apexChecksum.value(); in collectAllApexInfo() 395 apexInfo.digestAlgorithm = apexChecksum.algorithm(); in collectAllApexInfo() 396 apexInfo.signerDigests = in collectAllApexInfo() 400 apexInfo.moduleName = apexPackageNameToModuleName( in collectAllApexInfo() [all …]
|
/frameworks/base/services/core/java/com/android/server/recoverysystem/ |
D | RecoverySystemService.java | 1009 Arrays.stream(metadata.apexInfo).filter(apex -> apex.isCompressed).map(apex -> { in getCompressedApexInfoList()
|
/frameworks/base/core/java/android/content/pm/ |
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()
|