Modified return values for Restore operations
[ Merge of http://go/wvgerrit/70543 ] RestoreOfflineLicense and RestoreLicenseForRelease now return CdmResponseType errors rather than a boolean. These error codes can now be used when gathering metrics. Bug: 115517916 Test: WV unit/integration tests Change-Id: If4784d2cdd9825948c5dec31d3e60058ea06b61d
This commit is contained in:
@@ -273,10 +273,23 @@ enum {
|
||||
kSetDecryptHashError = ERROR_DRM_VENDOR_MIN + 283,
|
||||
kGetDecryptHashError = ERROR_DRM_VENDOR_MIN + 284,
|
||||
kInvalidDecryptHashFormat = ERROR_DRM_VENDOR_MIN + 285,
|
||||
kEmptyLicenseRequest2 = ERROR_DRM_VENDOR_MIN + 286,
|
||||
kEmptyLicenseRequest3 = ERROR_DRM_VENDOR_MIN + 287,
|
||||
kEmptyLicenseResponse3 = ERROR_DRM_VENDOR_MIN + 288,
|
||||
kEmptyLicenseResponse4 = ERROR_DRM_VENDOR_MIN + 289,
|
||||
kParseRequestError1 = ERROR_DRM_VENDOR_MIN + 290,
|
||||
kParseRequestError2 = ERROR_DRM_VENDOR_MIN + 291,
|
||||
kInvalidLicenseRequestType1 = ERROR_DRM_VENDOR_MIN + 292,
|
||||
kInvalidLicenseRequestType2 = ERROR_DRM_VENDOR_MIN + 293,
|
||||
kLicenseResponseParseError4 = ERROR_DRM_VENDOR_MIN + 294,
|
||||
kLicenseResponseParseError5 = ERROR_DRM_VENDOR_MIN + 295,
|
||||
kInvalidLicenseType2 = ERROR_DRM_VENDOR_MIN + 296,
|
||||
kSignatureNotFound2 = ERROR_DRM_VENDOR_MIN + 297,
|
||||
kSessionKeysNotFound2 = ERROR_DRM_VENDOR_MIN + 298,
|
||||
|
||||
// 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 + 285,
|
||||
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 298,
|
||||
|
||||
// Used by crypto test mode
|
||||
kErrorTestMode = ERROR_DRM_VENDOR_MAX,
|
||||
|
||||
Reference in New Issue
Block a user