Home
last modified time | relevance | path

Searched refs:AuthFsTestRule (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Virtualization/authfs/tests/benchmarks/src/java/com/android/fs/benchmarks/
DAuthFsBenchmarks.java29 import com.android.fs.common.AuthFsTestRule;
68 @Rule public final AuthFsTestRule mAuthFsTestRule = new AuthFsTestRule();
79 AuthFsTestRule.setUpAndroid(getTestInformation()); in setUp()
81 assumeTrue(AuthFsTestRule.getDevice().supportsMicrodroid(mProtectedVm)); in setUp()
87 AuthFsTestRule.startMicrodroid(mProtectedVm); in setUp()
92 AuthFsTestRule.shutdownMicrodroid(); in tearDown()
97 AuthFsTestRule.tearDownAndroid(); in tearDownClass()
149 "--open-rw 5:" + AuthFsTestRule.TEST_OUTPUT_DIR + "/out.file", "--rw-fds 5"); in writeRemoteFile()
155 AuthFsTestRule.getAndroid() in writeRemoteFile()
156 .runForResult("rm", "-rf", AuthFsTestRule.TEST_OUTPUT_DIR + "/out.file"); in writeRemoteFile()
/packages/modules/Virtualization/authfs/tests/hosttests/java/src/com/android/fs/
DAuthFsHostTest.java28 import com.android.fs.common.AuthFsTestRule;
48 private static final String TEST_DIR = AuthFsTestRule.TEST_DIR;
51 private static final String TEST_OUTPUT_DIR = AuthFsTestRule.TEST_OUTPUT_DIR;
57 private static final String MOUNT_DIR = AuthFsTestRule.MOUNT_DIR;
73 @Rule public final AuthFsTestRule mAuthFsTestRule = new AuthFsTestRule();
77 AuthFsTestRule.setUpAndroid(testInfo); in beforeClassWithDevice()
78 assumeTrue(AuthFsTestRule.getDevice().supportsMicrodroid(/*protectedVm=*/ true)); in beforeClassWithDevice()
79 AuthFsTestRule.startMicrodroid(/*protectedVm=*/ true); in beforeClassWithDevice()
80 sAndroid = AuthFsTestRule.getAndroid(); in beforeClassWithDevice()
81 sMicrodroid = AuthFsTestRule.getMicrodroid(); in beforeClassWithDevice()
[all …]
/packages/modules/Virtualization/authfs/tests/common/src/java/com/android/fs/common/
DAuthFsTestRule.java50 public class AuthFsTestRule extends TestLogData { class