HomeSort by relevance Sort by last modified time
    Searched refs:temp_file_ (Results 1 - 11 of 11) sorted by null

  /system/update_engine/payload_generator/
mapfile_filesystem_unittest.cc 58 test_utils::ScopedTempFile temp_file_{"mapfile_file.XXXXXX"};
64 temp_file_.path(), temp_mapfile_.path());
80 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 20)));
83 temp_file_.path(), temp_mapfile_.path());
112 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3)));
115 temp_file_.path(), temp_mapfile_.path());
124 EXPECT_EQ(0, HANDLE_EINTR(truncate(temp_file_.path().c_str(), 4096 * 3)));
127 temp_file_.path(), temp_mapfile_.path());
  /system/update_engine/payload_consumer/
cached_file_descriptor_unittest.cc 47 EXPECT_TRUE(cfd_->Open(temp_file_.path().c_str(), O_RDWR, 0600));
65 temp_file_.path().c_str(), zero_blob.data(), zero_blob.size()));
76 test_utils::ScopedTempFile temp_file_{"CachedFileDescriptor-file.XXXXXX"};
92 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
105 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
126 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
154 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
167 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
183 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out));
200 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &blob_out))
    [all...]
extent_writer_unittest.cc 51 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600));
65 test_utils::ScopedTempFile temp_file_{"ExtentWriterTest-file.XXXXXX"};
78 utils::FileSize(temp_file_.path()));
81 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file));
133 utils::FileSize(temp_file_.path()));
136 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file));
175 utils::FileSize(temp_file_.path()));
178 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &result_file));
218 utils::FileSize(temp_file_.path()));
221 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &resultant_data))
    [all...]
bzip_extent_writer_unittest.cc 47 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDWR, 0600));
56 test_utils::ScopedTempFile temp_file_{"BzipExtentWriterTest-file.XXXXXX"};
78 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &buf));
122 EXPECT_TRUE(utils::ReadFile(temp_file_.path(), &output));
extent_reader_unittest.cc 57 temp_file_.path().c_str(), sample_.data(), sample_.size()));
60 ASSERT_TRUE(fd_->Open(temp_file_.path().c_str(), O_RDONLY, 0600));
75 test_utils::ScopedTempFile temp_file_{"ExtentReaderTest-file.XXXXXX"};
  /system/core/base/include/android-base/
test_utils.h 68 TemporaryFile temp_file_; member in class:CapturedStderr
  /external/libbrillo/brillo/
key_value_store_unittest.cc 43 base::FilePath temp_file_ = temp_dir_.GetPath().Append("temp.conf"); local
47 ASSERT_EQ(blob.size(), base::WriteFile(temp_file_, blob.data(), blob.size()));
48 ASSERT_TRUE(store_.Load(temp_file_));
osrelease_reader_unittest.cc 25 base::FilePath temp_file_, osrelease_, osreleased_; member in class:brillo::OsReleaseReaderTest
  /system/core/base/
test_utils.cpp 133 return temp_file_.fd;
  /system/core/libziparchive/
zip_writer_test.cc 31 TemporaryFile* temp_file_; member in struct:zipwriter
36 temp_file_ = new TemporaryFile();
37 fd_ = temp_file_->fd;
44 delete temp_file_;
  /system/update_engine/common/
http_fetcher_unittest.cc 345 return "file://" + temp_file_.path();
348 test_utils::WriteFileString(temp_file_.path(), "small contents");
349 return "file://" + temp_file_.path();
364 test_utils::ScopedTempFile temp_file_{"ue_file_fetcher.XXXXXX"};
    [all...]

Completed in 158 milliseconds