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.cpp225 if (!mFileHandle.StoreLicense(keySetIdString, in getKeyRequestCommon()
341 if (mFileHandle.LicenseExists(*keySetId)) { in makeKeySetId()
399 mFileHandle.DeleteLicense(keySetId); in provideKeyResponse()
408 bool ok = mFileHandle.StoreLicense( in provideKeyResponse()
463 if (!mFileHandle.RetrieveLicense(std::string(keySetId.begin(), keySetId.end()), in restoreKeys()
774 std::vector<std::string> licenseNames = mFileHandle.ListLicenses(); in getOfflineLicenseKeySetIds()
795 if (mFileHandle.DeleteLicense(licenseName)) { in removeOfflineLicense()
811 } else if (mFileHandle.RetrieveLicense(licenseName, &state, &license)) { in getOfflineLicenseState()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDeviceFiles.h62 MemoryFileSystem mFileHandle; variable
DDrmPlugin.h75 virtual ~DrmPlugin() { mFileHandle.DeleteAllLicenses(); } in ~DrmPlugin()
435 DeviceFiles mFileHandle GUARDED_BY(mFileHandleLock);