Home
last modified time | relevance | path

Searched refs:mFileHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDeviceFiles.cpp96 size_t len = mFileHandle.Write(fileName, memFile); in StoreFileRaw()
150 return mFileHandle.RemoveFile(keySetId + kLicenseFileNameExt); in DeleteLicense()
154 return mFileHandle.RemoveAllFiles(); in DeleteAllLicenses()
158 return mFileHandle.FileExists(keySetId + kLicenseFileNameExt); in LicenseExists()
162 std::vector<std::string> licenses = mFileHandle.ListFiles(); in ListLicenses()
192 bytes = mFileHandle.Read(fileName, &serializedHashFile); in RetrieveHashedFile()
237 return mFileHandle.FileExists(fileName); in FileExists()
241 return mFileHandle.RemoveFile(fileName); in RemoveFile()
245 return mFileHandle.GetFileSize(fileName); in GetFileSize()
DDrmPlugin.cpp216 if (!mFileHandle.StoreLicense(keySetIdString, in getKeyRequestCommon()
330 if (mFileHandle.LicenseExists(*keySetId)) { in makeKeySetId()
382 mFileHandle.DeleteLicense(keySetId); in provideKeyResponse()
389 bool ok = mFileHandle.StoreLicense( in provideKeyResponse()
443 if (!mFileHandle.RetrieveLicense(std::string(keySetId.begin(), keySetId.end()), in restoreKeys()
693 std::vector<std::string> licenseNames = mFileHandle.ListLicenses(); in getOfflineLicenseKeySetIds()
713 if (mFileHandle.DeleteLicense(licenseName)) { in removeOfflineLicense()
727 } else if (mFileHandle.RetrieveLicense(licenseName, &state, &license)) { in getOfflineLicenseState()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDeviceFiles.h60 MemoryFileSystem mFileHandle; variable
DDrmPlugin.h72 virtual ~DrmPlugin() { mFileHandle.DeleteAllLicenses(); } in ~DrmPlugin()
418 DeviceFiles mFileHandle; member