Searched refs:temp_file (Results 1 - 4 of 4) sorted by relevance

/system/core/adb/
H A Dtest_device.py691 for temp_file in temp_files:
694 temp_file.base_name)
695 self._verify_remote(temp_file.checksum, remote_path)
747 paths = map(lambda temp_file: temp_file.full_path, temp_files)
751 for temp_file in temp_files:
753 temp_file.base_name)
754 self._verify_remote(temp_file.checksum, remote_path)
760 temp_file.base_name)
761 self._verify_remote(temp_file
[all...]
H A Dsysdeps_win32_test.cpp124 TemporaryFile temp_file; local
125 EXPECT_TRUE(temp_file.fd >= 0);
126 EXPECT_EQ(0, unix_isatty(temp_file.fd));
128 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY);
/system/update_engine/payload_consumer/
H A Ddownload_action_unittest.cc267 ScopedTempFile temp_file; local
270 EXPECT_EQ(0, writer.Open(temp_file.path().c_str(), O_WRONLY | O_CREAT, 0));
304 const off_t resulting_file_size(utils::FileSize(temp_file.path()));
/system/update_engine/common/
H A Dutils_unittest.cc96 string temp_file = temp_dir + "/temp-file"; local
97 EXPECT_TRUE(utils::WriteFile(temp_file.c_str(), "", 0));
99 EXPECT_EQ(0, symlink(temp_file.c_str(), temp_symlink.c_str()));
101 EXPECT_FALSE(utils::IsSymlink(temp_file.c_str()));

Completed in 282 milliseconds