Home
last modified time | relevance | path

Searched refs:apexInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageParserTest.java504 ApexInfo apexInfo = new ApexInfo(); in testApexPackageInfoGeneration() local
505 apexInfo.isActive = true; in testApexPackageInfoGeneration()
506 apexInfo.isFactory = false; in testApexPackageInfoGeneration()
507 apexInfo.packageName = apexPackageName; in testApexPackageInfoGeneration()
508 apexInfo.packagePath = apexFile.getPath(); in testApexPackageInfoGeneration()
509 apexInfo.versionCode = 191000070; in testApexPackageInfoGeneration()
511 PackageInfo pi = PackageParser.generatePackageInfoFromApex(apexInfo, flags); in testApexPackageInfoGeneration()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java8390 public static PackageInfo generatePackageInfoFromApex(ApexInfo apexInfo, int flags) in generatePackageInfoFromApex() argument
8393 File apexFile = new File(apexInfo.packagePath); in generatePackageInfoFromApex()
8400 if (apexInfo.isFactory) { in generatePackageInfoFromApex()
8405 if (apexInfo.isActive) { in generatePackageInfoFromApex()