Home
last modified time | relevance | path

Searched refs:apexFile (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/StagedInstallTest/src/com/android/tests/stagedinstallinternal/host/
DStagedInstallInternalTest.java189 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagdReadyTimeoutFlagWorks() local
191 "--staged-ready-timeout", "60000", apexFile.getAbsolutePath()); in testAdbStagdReadyTimeoutFlagWorks()
204 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagedInstallWaitsTillReadyByDefault() local
206 apexFile.getAbsolutePath()); in testAdbStagedInstallWaitsTillReadyByDefault()
219 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbStagedReadyWaitCanBeSkipped() local
221 "--staged-ready-timeout", "0", apexFile.getAbsolutePath()); in testAdbStagedReadyWaitCanBeSkipped()
236 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbRollbackAppWaitsForStagedReady() local
238 "--enable-rollback", apexFile.getAbsolutePath()); in testAdbRollbackAppWaitsForStagedReady()
253 final File apexFile = mHostUtils.getTestFile(SHIM_V2); in testAdbInstallMultiPackageCommandWorks() local
256 apexFile.getAbsolutePath(), apkFile.getAbsolutePath()); in testAdbInstallMultiPackageCommandWorks()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java401 abstract void installPackage(File apexFile, PackageParser2 packageParser) in installPackage() argument
545 File apexFile = new File(ai.modulePath); in scanApexPackagesInternalLocked() local
546 parallelPackageParser.submit(apexFile, in scanApexPackagesInternalLocked()
548 parsingApexInfo.put(apexFile, ai); in scanApexPackagesInternalLocked()
1026 void installPackage(File apexFile, PackageParser2 packageParser) in installPackage() argument
1033 apexFile, flags, /* useCaches= */ false); in installPackage()
1038 "Failed to generate package info for " + apexFile.getAbsolutePath()); in installPackage()
1050 apexFile.getAbsolutePath()); in installPackage()
1347 void installPackage(File apexFile, PackageParser2 packageParser) { in installPackage() argument
DStagingManager.java286 File apexFile = new File(apexInfo.modulePath); in submitSessionToApexService() local
288 apexFile, flags, false); in submitSessionToApexService()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DApexManagerTest.java477 File apexFile = extractResource(TEST_APEX_PKG, TEST_APEX_FILE_NAME); in createApexInfoForTestPkg() local
482 apexInfo.modulePath = apexFile.getPath(); in createApexInfoForTestPkg()
484 apexInfo.preinstalledModulePath = apexFile.getPath(); in createApexInfoForTestPkg()
490 boolean isFactory, File apexFile) { in createApexInfo() argument
496 apexInfo.modulePath = apexFile.getPath(); in createApexInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParserLegacyCoreTest.java524 File apexFile = copyRawResourceToFile(apexModuleName, in testApexPackageInfoGeneration() local
530 apexInfo.modulePath = apexFile.getPath(); in testApexPackageInfoGeneration()
534 ParseResult<ParsingPackage> result = ParsingPackageUtils.parseDefaultOneTime(apexFile, in testApexPackageInfoGeneration()
549 assertEquals(apexFile.getPath(), pi.applicationInfo.sourceDir); in testApexPackageInfoGeneration()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java314 File apexFile = new File(apexInfo.modulePath); in generateWithoutComponentsUnchecked() local
316 pi.applicationInfo.sourceDir = apexFile.getPath(); in generateWithoutComponentsUnchecked()
317 pi.applicationInfo.publicSourceDir = apexFile.getPath(); in generateWithoutComponentsUnchecked()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java851 File apexFile = new File(apexInfo.modulePath); in generatePackageInfo() local
853 pi.applicationInfo.sourceDir = apexFile.getPath(); in generatePackageInfo()
854 pi.applicationInfo.publicSourceDir = apexFile.getPath(); in generatePackageInfo()