Home
last modified time | relevance | path

Searched refs:mHostUtils (Results 1 – 5 of 5) sorted by relevance

/system/apex/tests/src/com/android/tests/apex/
DApexRollbackTests.java49 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexRollbackTests
57 mHostUtils.uninstallShimApexIfNecessary(); in setUp()
71 mHostUtils.uninstallShimApexIfNecessary(); in tearDown()
95 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testAutomaticBootLoopRecovery()
103 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testAutomaticBootLoopRecovery()
114 String error = mHostUtils.installStagedPackage(apexFile); in testAutomaticBootLoopRecovery()
148 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testSessionNotRevertedWithCheckpointingDisabled()
149 assumeFalse("Fs checkpointing is enabled", mHostUtils.isCheckpointSupported()); in testSessionNotRevertedWithCheckpointingDisabled()
151 File apexFile = mHostUtils.getTestFile("com.android.apex.cts.shim.v2.apex"); in testSessionNotRevertedWithCheckpointingDisabled()
159 String error = mHostUtils.installStagedPackage(apexFile); in testSessionNotRevertedWithCheckpointingDisabled()
[all …]
DApexdHostTest.java54 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexdHostTest
63 mHostUtils.uninstallShimApexIfNecessary(); in setUp()
72 mHostUtils.uninstallShimApexIfNecessary(); in tearDown()
80 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testOrphanedApexIsNotActivated()
83 assertThat(getDevice().pushFile(mHostUtils.getTestFile("apex.apexd_test_v2.apex"), in testOrphanedApexIsNotActivated()
92 mHostUtils.waitForFileDeleted("/data/apex/active/apexd_test_v2.apex", in testOrphanedApexIsNotActivated()
100 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testApexWithoutPbIsNotActivated()
104 assertThat(getDevice().pushFile(mHostUtils.getTestFile(testApexFile), in testApexWithoutPbIsNotActivated()
113 mHostUtils.waitForFileDeleted("/data/apex/active/" + testApexFile, in testApexWithoutPbIsNotActivated()
122 assumeTrue("Device does not support updating APEX", mHostUtils.isApexUpdateSupported()); in testRemountApex()
[all …]
DApexE2EBaseHostTest.java58 protected final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexE2EBaseHostTest
72 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()
DSharedLibsApexTest.java40 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in SharedLibsApexTest
180 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()
/system/apex/tests/src/com/android/tests/apex/host/
DApexCompressionTests.java61 private final InstallUtilsHost mHostUtils = new InstallUtilsHost(this); field in ApexCompressionTests
123 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()