Implement Cdm::listStoredLicenses()
[ Merge of http://go/wvgerrit/23600 ] This adds a new entry to IStorage:: - bool list(std::vector<std::string> file_names) It returns the name of each file in the (origin-specific) file system. b/34628115 Uses the current file system (origin-specific) bound to the CDM. Returns the list of stored licenses (key_set_ids) in vector output parameter. Test: verified by unittests on angler. Change-Id: I988556b27c2a4b75f52b59bcd78cfeaddd649acd
This commit is contained in:
@@ -238,10 +238,13 @@ enum {
|
||||
kShrinkUsageTablerHeaderUnknownError = ERROR_DRM_VENDOR_MIN + 224,
|
||||
kMoveUsageEntryUnknownError = ERROR_DRM_VENDOR_MIN + 225,
|
||||
kCopyOldUsageEntryUnknownError = ERROR_DRM_VENDOR_MIN + 226,
|
||||
kInvalidParametersEng22 = ERROR_DRM_VENDOR_MIN + 227,
|
||||
kStoreLicenseError4 = ERROR_DRM_VENDOR_MIN + 228,
|
||||
kListLicensesError = ERROR_DRM_VENDOR_MIN + 229,
|
||||
|
||||
// This should always follow the last error code.
|
||||
// The offset value should be updated each time a new error code is added.
|
||||
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 226,
|
||||
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 229,
|
||||
|
||||
// Used by crypto test mode
|
||||
kErrorTestMode = ERROR_DRM_VENDOR_MAX,
|
||||
|
||||
Reference in New Issue
Block a user