Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp339 static constexpr const char *kTestDir = "/data/unencrypted/vts-test-dir"; member in android::kernel::FBEPolicyTest
386 DeleteRecursively(kTestDir); in SetUp()
387 if (mkdir(kTestDir, 0700) != 0) { in SetUp()
388 FAIL() << "Failed to create " << kTestDir << Errno(); in SetUp()
393 DeleteRecursively(kTestDir); in TearDown()
521 open(kTestDir, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetEncryptionPolicy()
523 ADD_FAILURE() << "Failed to open " << kTestDir << Errno(); in SetEncryptionPolicy()
526 GTEST_LOG_(INFO) << "Setting encryption policy on " << kTestDir; in SetEncryptionPolicy()
533 ADD_FAILURE() << "FS_IOC_SET_ENCRYPTION_POLICY failed on " << kTestDir in SetEncryptionPolicy()
858 path = android::base::StringPrintf("%s/file%d", kTestDir, i); in TestEmmcOptimizedDunWraparound()