Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dmetadata_encryption_tests.cpp99 static bool ReadBlockDevice(const std::string &blk_device, size_t count, in ReadBlockDevice() argument
101 GTEST_LOG_(INFO) << "Reading " << count << " bytes from " << blk_device; in ReadBlockDevice()
111 open(blk_device.c_str(), O_RDONLY | O_DIRECT | O_CLOEXEC)); in ReadBlockDevice()
113 ADD_FAILURE() << "Failed to open " << blk_device << Errno(); in ReadBlockDevice()
117 ADD_FAILURE() << "Failed to read from " << blk_device << Errno(); in ReadBlockDevice()
Dfile_based_encryption_tests.cpp220 static bool ReadRawDataOfFile(int fd, const std::string &blk_device, in ReadRawDataOfFile() argument
262 open(blk_device.c_str(), O_RDONLY | O_DIRECT | O_CLOEXEC)); in ReadRawDataOfFile()
264 ADD_FAILURE() << "Failed to open raw block device " << blk_device in ReadRawDataOfFile()
310 const std::string &blk_device, in WriteTestFile() argument
326 if (!ReadRawDataOfFile(fd, blk_device, plaintext.size(), ciphertext)) { in WriteTestFile()
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp436 *out_system_path = system_fstab_entry->blk_device; in GetSystemHashtreeDescriptor()