Home
last modified time | relevance | path

Searched refs:file_content (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/applypatch/include/applypatch/
Dimgdiff_image.h41 ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, size_t raw_data_len,
201 bool ReadFile(const std::string& filename, std::vector<uint8_t>* file_content);
217 void Initialize(const std::vector<ImageChunk>& chunks, const std::vector<uint8_t>& file_content) { in Initialize() argument
219 file_content_ = file_content; in Initialize()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp230 std::string file_content; in ParseCareMap() local
231 if (!android::base::ReadFdToString(care_map_fd.get(), &file_content)) { in ParseCareMap()
236 if (file_content.empty()) { in ParseCareMap()
242 if (!care_map.ParseFromString(file_content)) { in ParseCareMap()
/bootable/recovery/applypatch/
Dimgdiff.cpp258 ImageChunk::ImageChunk(int type, size_t start, const std::vector<uint8_t>* file_content, in ImageChunk() argument
262 input_file_ptr_(file_content), in ImageChunk()
266 CHECK(file_content != nullptr) << "input file container can't be nullptr"; in ImageChunk()
621 bool Image::ReadFile(const std::string& filename, std::vector<uint8_t>* file_content) { in ReadFile() argument
622 CHECK(file_content != nullptr); in ReadFile()
636 file_content->resize(sz); in ReadFile()
637 if (!android::base::ReadFully(fd, file_content->data(), sz)) { in ReadFile()