Searched defs:data_fd (Results 1 - 3 of 3) sorted by relevance

/system/core/init/
H A Dfirmware_handler.cpp40 int loading_fd, int data_fd) {
45 int rc = sendfile(data_fd, fw_fd, nullptr, fw_size);
75 unique_fd data_fd(open(data.c_str(), O_WRONLY | O_CLOEXEC));
76 if (data_fd == -1) {
90 LoadFirmware(uevent, root, fw_fd, sb.st_size, loading_fd, data_fd);
39 LoadFirmware(const Uevent& uevent, const std::string& root, int fw_fd, size_t fw_size, int loading_fd, int data_fd) argument
/system/update_engine/common/
H A Dtest_utils.cc188 int data_fd = open(filename.c_str(), local
190 TEST_AND_RETURN_FALSE_ERRNO(data_fd >= 0);
191 ScopedFdCloser data_fd_closer(&data_fd);
192 TEST_AND_RETURN_FALSE_ERRNO(ioctl(loop_device_fd, LOOP_SET_FD, data_fd) == 0);
/system/update_engine/payload_generator/
H A Dab_generator_unittest.cc116 int data_fd = open(data_path.c_str(), O_RDWR, 000); local
117 EXPECT_GE(data_fd, 0);
118 ScopedFdCloser data_fd_closer(&data_fd);
122 BlobFileWriter blob_file(data_fd, &data_file_size);
159 ASSERT_TRUE(utils::PReadAll(data_fd,
188 ASSERT_TRUE(utils::PReadAll(data_fd,
284 int data_fd = open(data_path.c_str(), O_RDWR, 000); local
285 EXPECT_GE(data_fd, 0);
286 ScopedFdCloser data_fd_closer(&data_fd);
290 BlobFileWriter blob_file(data_fd,
[all...]

Completed in 145 milliseconds