Home
last modified time | relevance | path

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

/frameworks/av/drm/mediadrm/plugins/clearkey/common/
DDeviceFiles.cpp101 size_t len = mFileHandle.Write(fileName, memFile); in StoreFileRaw()
153 return mFileHandle.RemoveFile(keySetId + kLicenseFileNameExt); in DeleteLicense()
157 return mFileHandle.RemoveAllFiles(); in DeleteAllLicenses()
161 return mFileHandle.FileExists(keySetId + kLicenseFileNameExt); in LicenseExists()
165 std::vector<std::string> licenses = mFileHandle.ListFiles(); in ListLicenses()
195 bytes = mFileHandle.Read(fileName, &serializedHashFile); in RetrieveHashedFile()
240 return mFileHandle.FileExists(fileName); in FileExists()
244 return mFileHandle.RemoveFile(fileName); in RemoveFile()
248 return mFileHandle.GetFileSize(fileName); in GetFileSize()
/frameworks/av/drm/mediadrm/plugins/clearkey/common/include/clearkeydrm/
DDeviceFiles.h67 MemoryFileSystem mFileHandle; variable
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/
DDrmPlugin.cpp243 if (!mFileHandle.StoreLicense(keySetIdString, DeviceFiles::kLicenseStateReleasing, in getKeyRequest()
330 std::vector<std::string> licenseNames = mFileHandle.ListLicenses(); in getOfflineLicenseKeySetIds()
357 } else if (mFileHandle.RetrieveLicense(licenseName, &state, &license)) { in getOfflineLicenseState()
585 mFileHandle.DeleteLicense(keySetId); in provideKeyResponse()
593 bool ok = mFileHandle.StoreLicense( in provideKeyResponse()
777 if (mFileHandle.DeleteLicense(licenseName)) { in removeOfflineLicense()
812 if (!mFileHandle.RetrieveLicense( in restoreKeys()
1025 if (mFileHandle.LicenseExists(*keySetId)) { in makeKeySetId()
/frameworks/av/drm/mediadrm/plugins/clearkey/aidl/include/
DDrmPlugin.h43 virtual ~DrmPlugin() { mFileHandle.DeleteAllLicenses(); } in ~DrmPlugin()
206 DeviceFiles mFileHandle; member