Searched refs:temp_file (Results 1 - 7 of 7) sorted by relevance
/system/core/libunwindstack/tests/ |
H A D | MemoryOfflineTest.cpp | 34 ASSERT_TRUE(android::base::WriteFully(temp_file.fd, &offset, sizeof(offset))); 35 ASSERT_TRUE(android::base::WriteFully(temp_file.fd, data.data(), data.size())); 40 ASSERT_TRUE(memory->Init(temp_file.path, 0)); 43 TemporaryFile temp_file; member in class:unwindstack::MemoryOfflineTest
|
/system/core/libziparchive/ |
H A D | zip_archive_benchmark.cpp | 52 std::unique_ptr<TemporaryFile> temp_file(CreateZip()); 62 OpenArchive(temp_file->path, &handle); 70 std::unique_ptr<TemporaryFile> temp_file(CreateZip()); 77 OpenArchive(temp_file->path, &handle);
|
/system/core/adb/ |
H A D | sysdeps_win32_test.cpp | 94 TemporaryFile temp_file; local 95 EXPECT_TRUE(temp_file.fd >= 0); 96 EXPECT_EQ(0, unix_isatty(temp_file.fd)); 98 int temp_file_ro_fd = unix_open(temp_file.path, O_RDONLY);
|
H A D | test_device.py | 745 for temp_file in temp_files: 748 temp_file.base_name) 749 self._verify_remote(temp_file.checksum, remote_path) 831 paths = map(lambda temp_file: temp_file.full_path, temp_files) 835 for temp_file in temp_files: 837 temp_file.base_name) 838 self._verify_remote(temp_file.checksum, remote_path) 844 temp_file.base_name) 845 self._verify_remote(temp_file [all...] |
/system/iot/attestation/at-factory-tool/ |
H A D | atftman.py | 716 temp_file = tempfile.NamedTemporaryFile(delete=False) 717 temp_file.write(self.product_info.vboot_key) 718 temp_file.close() 719 temp_file_name = temp_file.name 748 temp_file = tempfile.NamedTemporaryFile(delete=False) 749 temp_file.write(self.product_info.product_attributes) 750 temp_file.close() 751 temp_file_name = temp_file.name
|
/system/update_engine/common/ |
H A D | utils_unittest.cc | 103 string temp_file = temp_dir.GetPath().Append("temp-file").value(); local 104 EXPECT_TRUE(utils::WriteFile(temp_file.c_str(), "", 0)); 106 EXPECT_EQ(0, symlink(temp_file.c_str(), temp_symlink.c_str())); 108 EXPECT_FALSE(utils::IsSymlink(temp_file.c_str()));
|
/system/update_engine/payload_consumer/ |
H A D | download_action_unittest.cc | 355 ScopedTempFile temp_file; local 358 EXPECT_EQ(0, writer.Open(temp_file.path().c_str(), O_WRONLY | O_CREAT, 0)); 394 const off_t resulting_file_size(utils::FileSize(temp_file.path()));
|
Completed in 270 milliseconds