Home
last modified time | relevance | path

Searched refs:serializedHashFile (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DDeviceFiles.cpp90 std::string serializedHashFile; in StoreFileWithHash() local
91 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() argument
99 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 …]
DMemoryFileSystem.cpp60 std::string serializedHashFile = result->second.getContent(); in Read() local
61 buffer->assign(serializedHashFile); in Read()