Searched refs:mHostUtils (Results 1 – 6 of 6) sorted by relevance
49 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexRollbackTests57 mHostUtils.uninstallShimApexIfNecessary(); in setUp()71 mHostUtils.uninstallShimApexIfNecessary(); in tearDown()114 String error = mHostUtils.installStagedPackage(apexFile); in testAutomaticBootLoopRecovery()159 String error = mHostUtils.installStagedPackage(apexFile); in testSessionNotRevertedWithCheckpointingDisabled()196 String error = mHostUtils.installStagedPackage(apexFile); in testCheckpointingRevertsSession()234 String error = mHostUtils.installStagedPackage(apexFile); in testRebootingOnceDoesNotRevertSession()292 String error = mHostUtils.installStagedPackage(apexFile); in testFailingUserspaceReboot_doesNotRevertUpdate()322 String error = mHostUtils.installStagedPackage(apexFile); in testUserspaceRebootFailedShutdownSequence_doesNotRevertUpdate()355 String error = mHostUtils.installStagedPackage(apexFile); in testUserspaceRebootFailedRemount_revertsUpdate()[all …]
54 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexdHostTest63 mHostUtils.uninstallShimApexIfNecessary(); in setUp()72 mHostUtils.uninstallShimApexIfNecessary(); in tearDown()92 mHostUtils.waitForFileDeleted("/data/apex/active/apexd_test_v2.apex", in testOrphanedApexIsNotActivated()104 assertThat(getDevice().pushFile(mHostUtils.getTestFile(testApexFile), in testApexWithoutPbIsNotActivated()113 mHostUtils.waitForFileDeleted("/data/apex/active/" + testApexFile, in testApexWithoutPbIsNotActivated()162 final File v1 = mHostUtils.getTestFile("apex.apexd_test.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()165 final File v2_no_pb = mHostUtils.getTestFile("apex.apexd_test_v2_no_pb.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()203 final File v3 = mHostUtils.getTestFile("apex.apexd_test_v3.apex"); in testApexWithoutPbIsNotActivated_ProductPartitionHasNewerVersion()267 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testApexSessionStateUnchangedBeforeReboot()[all …]
58 protected final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexE2EBaseHostTest72 assumeTrue("Updating APEX is not supported", mHostUtils.isApexUpdateSupported()); in setUp()78 assumeTrue("Updating APEX is not supported", mHostUtils.isApexUpdateSupported()); in tearDown()111 ApexInfo apex = mHostUtils.getApexInfo(mHostUtils.getTestFile(filename)); in uninstallAllApexes()117 File testAppFile = mHostUtils.getTestFile(filename); in installApex()119 String installResult = mHostUtils.installStagedPackage(testAppFile); in installApex()123 ApexInfo testApexInfo = mHostUtils.getApexInfo(testAppFile); in installApex()
40 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in SharedLibsApexTest180 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testInstallAndRunDefaultApexs()238 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testInstallAndRunOptimizedApexs()410 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testHigherVersionOnSystemDeletesDataVersion()
187 mHostUtils.isApexUpdateSupported()); in testAdbStagdReadyTimeoutFlagWorks()202 mHostUtils.isApexUpdateSupported()); in testAdbStagedInstallWaitsTillReadyByDefault()217 mHostUtils.isApexUpdateSupported()); in testAdbStagedReadyWaitCanBeSkipped()234 mHostUtils.isApexUpdateSupported()); in testAdbRollbackAppWaitsForStagedReady()251 mHostUtils.isApexUpdateSupported()); in testAdbInstallMultiPackageCommandWorks()283 mHostUtils.isApexUpdateSupported()); in testStagedSessionShouldCleanUpOnVerificationFailure()375 mHostUtils.isApexUpdateSupported()); in testActiveApexIsRevertedOnCheckpointRollback()377 mHostUtils.isCheckpointSupported()); in testActiveApexIsRevertedOnCheckpointRollback()400 mHostUtils.isApexUpdateSupported()); in testApexIsNotActivatedIfNotInCheckpointMode()402 mHostUtils.isCheckpointSupported()); in testApexIsNotActivatedIfNotInCheckpointMode()[all …]
61 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexCompressionTests123 final File apex = mHostUtils.getTestFile(fileName); in pushTestApex()161 final File originalApex = mHostUtils.getTestFile(ORIGINAL_APEX_FILE_NAME); in testCompressedApexIsDecompressedAndActivated()339 mHostUtils.getTestFile("com.android.apex.compressed.v2_manifest_mismatch.apex"); in testFailsToActivateApexOnDataFallbacksToPreInstalled()416 final File apex = mHostUtils.getTestFile( in testOrphanedDecompressedApexInActiveDirIsIgnored()