Searched refs:serializedHashFile (Results 1 – 2 of 2) sorted by relevance
90 std::string serializedHashFile; in StoreFileWithHash() local91 hashFile.SerializeToString(&serializedHashFile); in StoreFileWithHash()93 return StoreFileRaw(fileName, serializedHashFile); in StoreFileWithHash()96 bool DeviceFiles::StoreFileRaw(const std::string& fileName, const std::string& serializedHashFile) { in StoreFileRaw() argument99 memFile.setContent(serializedHashFile); in StoreFileRaw()100 memFile.setFileSize(serializedHashFile.size()); in StoreFileRaw()103 if (len != static_cast<size_t>(serializedHashFile.size())) { in StoreFileRaw()105 ALOGD("StoreFileRaw: expected=%zd, actual=%zu", serializedHashFile.size(), len); in StoreFileRaw()109 ALOGD("StoreFileRaw: wrote %zu bytes to %s", serializedHashFile.size(), fileName.c_str()); in StoreFileRaw()193 std::string serializedHashFile; in RetrieveHashedFile() local[all …]
60 std::string serializedHashFile = result->second.getContent(); in Read() local61 buffer->assign(serializedHashFile); in Read()