Home
last modified time | relevance | path

Searched refs:FileWriter (Results 1 – 14 of 14) sorted by relevance

/system/connectivity/apmanager/
Dfile_writer.cc25 base::LazyInstance<FileWriter> g_file_writer
30 FileWriter::FileWriter() {} in FileWriter() function in apmanager::FileWriter
31 FileWriter::~FileWriter() {} in ~FileWriter()
33 FileWriter* FileWriter::GetInstance() { in GetInstance()
37 bool FileWriter::Write(const std::string& file_name, in Write()
Dfile_writer.h27 class FileWriter {
29 virtual ~FileWriter();
32 static FileWriter* GetInstance();
38 FileWriter();
41 friend struct base::DefaultLazyInstanceTraits<FileWriter>;
43 DISALLOW_COPY_AND_ASSIGN(FileWriter);
Dmock_file_writer.h28 class MockFileWriter : public FileWriter {
Ddhcp_server.h62 FileWriter* file_writer_;
Dservice.h111 FileWriter* file_writer_;
Ddhcp_server.cc59 file_writer_(FileWriter::GetInstance()), in DHCPServer()
Dservice.cc76 file_writer_(FileWriter::GetInstance()), in Service()
/system/update_engine/payload_consumer/
Dfile_writer.h37 class FileWriter {
39 FileWriter() {} in FileWriter() function
40 virtual ~FileWriter() {} in ~FileWriter()
61 DISALLOW_COPY_AND_ASSIGN(FileWriter);
67 class DirectFileWriter : public FileWriter {
88 explicit ScopedFileWriterCloser(FileWriter* writer) : writer_(writer) {} in ScopedFileWriterCloser()
96 FileWriter* writer_;
Ddownload_action.h91 void SetTestFileWriter(FileWriter* writer) { in SetTestFileWriter()
150 FileWriter* writer_;
Ddelta_performer.h47 class DeltaPerformer : public FileWriter {
/system/update_engine/
Dmock_file_writer.h25 class MockFileWriter : public FileWriter {
Dfake_file_writer.h33 class FakeFileWriter : public FileWriter {
/system/core/libziparchive/
Dzip_archive.cc805 class FileWriter : public Writer { class
814 static std::unique_ptr<FileWriter> Create(int fd, const ZipEntry* entry) { in Create()
838 return std::unique_ptr<FileWriter>(nullptr); in Create()
847 return std::unique_ptr<FileWriter>(nullptr); in Create()
850 return std::unique_ptr<FileWriter>(new FileWriter(fd, declared_length)); in Create()
870 FileWriter(const int fd, const size_t declared_length) : in FileWriter() function in FileWriter
1064 std::unique_ptr<Writer> writer(FileWriter::Create(fd, entry)); in ExtractEntryToFile()
/system/update_engine/payload_generator/
Dpayload_file.cc53 bool WriteUint64AsBigEndian(FileWriter* writer, const uint64_t value) { in WriteUint64AsBigEndian()