Searched refs:blk_device (Results 1 – 3 of 3) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
D | metadata_encryption_tests.cpp | 99 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()
|
D | file_based_encryption_tests.cpp | 220 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/ |
D | VtsSecurityAvbTest.cpp | 436 *out_system_path = system_fstab_entry->blk_device; in GetSystemHashtreeDescriptor()
|