Searched refs:serializedHashFile (Results 1 – 2 of 2) sorted by relevance
85 std::string serializedHashFile; in StoreFileWithHash() local86 hashFile.SerializeToString(&serializedHashFile); in StoreFileWithHash()88 return StoreFileRaw(fileName, serializedHashFile); in StoreFileWithHash()91 bool DeviceFiles::StoreFileRaw(const std::string& fileName, const std::string& serializedHashFile) { in StoreFileRaw() argument94 memFile.setContent(serializedHashFile); in StoreFileRaw()95 memFile.setFileSize(serializedHashFile.size()); in StoreFileRaw()98 if (len != static_cast<size_t>(serializedHashFile.size())) { in StoreFileRaw()100 ALOGD("StoreFileRaw: expected=%zd, actual=%zu", serializedHashFile.size(), len); in StoreFileRaw()104 ALOGD("StoreFileRaw: wrote %zu bytes to %s", serializedHashFile.size(), fileName.c_str()); in StoreFileRaw()190 std::string serializedHashFile; in RetrieveHashedFile() local[all …]
57 std::string serializedHashFile = result->second.getContent(); in Read() local58 buffer->assign(serializedHashFile); in Read()