Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp502 std::string test_file_; member in android::kernel::FBEPolicyTest
528 test_file_ = test_dir_ + "/file"; in SetUp()
688 open(test_file_.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy()
718 unlink(test_file_.c_str()); in SetEncryptionPolicy()
736 if (!WriteTestFile(info->plaintext, test_file_, fs_info_.raw_blk_device, in GenerateTestFile()
740 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile()
742 ADD_FAILURE() << "Failed to open " << test_file_ << Errno(); in GenerateTestFile()
747 if (!GetInodeNumber(test_file_, &info->inode_number)) return false; in GenerateTestFile()
752 ADD_FAILURE() << "FS_IOC_GET_ENCRYPTION_NONCE failed on " << test_file_ in GenerateTestFile()
1224 open(test_file_.c_str(), O_WRONLY | O_CREAT, 0600)); in F2fsCompressOptionsSupported()
[all …]