Searched refs:kTestFile (Results 1 – 1 of 1) sorted by relevance
345 static constexpr const char *kTestFile = member in android::kernel::FBEPolicyTest546 open(kTestFile, O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy()568 unlink(kTestFile); in SetEncryptionPolicy()580 if (!WriteTestFile(info->plaintext, kTestFile, fs_info_.raw_blk_device, in GenerateTestFile()584 android::base::unique_fd fd(open(kTestFile, O_RDONLY | O_CLOEXEC)); in GenerateTestFile()586 ADD_FAILURE() << "Failed to open " << kTestFile << Errno(); in GenerateTestFile()591 if (!GetInodeNumber(kTestFile, &info->inode_number)) return false; in GenerateTestFile()596 ADD_FAILURE() << "FS_IOC_GET_ENCRYPTION_NONCE failed on " << kTestFile in GenerateTestFile()