Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDeviceFiles.cpp85 std::string serializedHashFile; in StoreFileWithHash() local
86 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() argument
94 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 …]
DMemoryFileSystem.cpp57 std::string serializedHashFile = result->second.getContent(); in Read() local
58 buffer->assign(serializedHashFile); in Read()