Searched refs:test_file_ (Results 1 – 1 of 1) sorted by relevance
| /test/vts-testcase/kernel/encryption/ |
| D | file_based_encryption_tests.cpp | 534 std::string test_file_; member in android::kernel::FBEPolicyTest 560 test_file_ = test_dir_ + "/file"; in SetUp() 738 open(test_file_.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy() 771 unlink(test_file_.c_str()); in SetEncryptionPolicy() 789 if (!WriteTestFile(info->plaintext, test_file_, fs_info_, compress_options, in GenerateTestFile() 793 android::base::unique_fd fd(open(test_file_.c_str(), O_RDONLY | O_CLOEXEC)); in GenerateTestFile() 795 ADD_FAILURE() << "Failed to open " << test_file_ << Errno(); in GenerateTestFile() 800 if (!GetInodeNumber(test_file_, &info->inode_number)) return false; in GenerateTestFile() 805 ADD_FAILURE() << "FS_IOC_GET_ENCRYPTION_NONCE failed on " << test_file_ in GenerateTestFile() 1334 open(test_file_.c_str(), O_WRONLY | O_CREAT, 0600)); in F2fsCompressOptionsSupported() [all …]
|