Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp501 std::string test_dir_; member in android::kernel::FBEPolicyTest
526 test_dir_ = android::base::StringPrintf("%s/FBEPolicyTest.%d", in SetUp()
528 test_file_ = test_dir_ + "/file"; in SetUp()
532 DeleteRecursively(test_dir_); in SetUp()
533 if (mkdir(test_dir_.c_str(), 0700) != 0) { in SetUp()
534 FAIL() << "Failed to create " << test_dir_ << Errno(); in SetUp()
539 DeleteRecursively(test_dir_); in TearDown()
667 open(test_dir_.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetEncryptionPolicy()
669 ADD_FAILURE() << "Failed to open " << test_dir_ << Errno(); in SetEncryptionPolicy()
672 GTEST_LOG_(INFO) << "Setting encryption policy on " << test_dir_; in SetEncryptionPolicy()
[all …]