Merges to android Pi release (part 4)
These are a set of CLs merged from the wv cdm repo to the android repo. * Correct RELEASE_ALL_USAGE_INFO_ERRORs Author: Rahul Frias <rfrias@google.com> [ Merge of http://go/wvgerrit/28742 ] RELEASE_ALL_USAGE_INFO_ERROR_4 and 5 were introduced and made use of in http://go/wvgerrit/24022 (branch: oc-dev). The error code definitions were merged over in http://go/wvgerrit/24602. When http://go/wvgerrit/24622 from cdm_partners_3.2 was merged to master (http://go/wvgerrit/27723) there was conflict in error codes. The error codes were adjusted to RELEASE_ALL_USAGE_INFO_ERROR_3 and 4 and were made use of. To avoid renaming the errors between oc-dev and master, new errors RELEASE_ALL_USAGE_INFO_ERROR_6 and 7 have been added to handle the scenarios noted in the merge from cdm_partner_3.2. The other errors have been reverted back to RELEASE_ALL_USAGE_INFO_ERROR_4 and 5. They will be used when http://go/wvgerrit/24602 is merged. * Address compilation issues Author: Rahul Frias <rfrias@google.com> [ Merge of http://go/wvgerrit/28740 ] These changes enable compilation of most of the cdm code on android expect for OEMCrypto unit tests (b/62739406) on wv master. * Add property for binary/base64 provisioning msgs. Author: Gene Morgan <gmorgan@google.com> [ Merge of http://go/wvgerrit/28074 ] Property is "provisioning_messages_are_binary". Its default setting is false in the CE CDM, but it can be overridden by integrators. Added section to integration guide that discusses Provisioning Server message formats and the new property. Link: https://docs.google.com/document/d/1cBVbhgrajLpDe2W3_vzLzUqzpdDt73chvm4_sZlZlS8/edit#heading=h.hgxw53ddw7jo BUG: 71650075 Test: Not currently passing. Will be addressed in a subsequent commit in the chain. Change-Id: I9168193819974d1ff65d9a94dbd762e45ecc43ca
This commit is contained in:
@@ -246,15 +246,15 @@ enum {
|
||||
kInvalidUsageEntryNumberModification = ERROR_DRM_VENDOR_MIN + 234,
|
||||
kUsageInvalidNewEntry = ERROR_DRM_VENDOR_MIN + 235,
|
||||
kUsageInvalidParameters1 = ERROR_DRM_VENDOR_MIN + 236,
|
||||
kUsageRetrieveLicenseFailed = ERROR_DRM_VENDOR_MIN + 237,
|
||||
kUsageRetrieveUsageInfoFailed = ERROR_DRM_VENDOR_MIN + 238,
|
||||
kUsageRetrieveInvalidStorageType = ERROR_DRM_VENDOR_MIN + 239,
|
||||
kUsageGetEntryRetrieveLicenseFailed = ERROR_DRM_VENDOR_MIN + 237,
|
||||
kUsageGetEntryRetrieveUsageInfoFailed = ERROR_DRM_VENDOR_MIN + 238,
|
||||
kUsageGetEntryRetrieveInvalidStorageType = ERROR_DRM_VENDOR_MIN + 239,
|
||||
kUsageEntryNumberMismatch = ERROR_DRM_VENDOR_MIN + 240,
|
||||
kUsageStoreLicenseFailed = ERROR_DRM_VENDOR_MIN + 241,
|
||||
kUsageStoreUsageInfoFailed = ERROR_DRM_VENDOR_MIN + 242,
|
||||
kUsageInvalidLoadEntry = ERROR_DRM_VENDOR_MIN + 243,
|
||||
kReleaseAllUsageInfoError3 = ERROR_DRM_VENDOR_MIN + 244,
|
||||
kReleaseAllUsageInfoError4 = ERROR_DRM_VENDOR_MIN + 245,
|
||||
kReleaseAllUsageInfoError4 = ERROR_DRM_VENDOR_MIN + 244,
|
||||
kReleaseAllUsageInfoError5 = ERROR_DRM_VENDOR_MIN + 245,
|
||||
kReleaseUsageInfoFailed = ERROR_DRM_VENDOR_MIN + 246,
|
||||
kIncorrectUsageSupportType1 = ERROR_DRM_VENDOR_MIN + 247,
|
||||
kIncorrectUsageSupportType2 = ERROR_DRM_VENDOR_MIN + 248,
|
||||
@@ -273,10 +273,15 @@ enum {
|
||||
kParseResponseError2 = ERROR_DRM_VENDOR_MIN + 261,
|
||||
kParseResponseError3 = ERROR_DRM_VENDOR_MIN + 262,
|
||||
kParseResponseError4 = ERROR_DRM_VENDOR_MIN + 263,
|
||||
kUsageStoreEntryRetrieveLicenseFailed = ERROR_DRM_VENDOR_MIN + 264,
|
||||
kUsageStoreEntryRetrieveUsageInfoFailed = ERROR_DRM_VENDOR_MIN + 265,
|
||||
kUsageStoreEntryRetrieveInvalidStorageType = ERROR_DRM_VENDOR_MIN + 266,
|
||||
kReleaseAllUsageInfoError6 = ERROR_DRM_VENDOR_MIN + 267,
|
||||
kReleaseAllUsageInfoError7 = ERROR_DRM_VENDOR_MIN + 268,
|
||||
|
||||
// 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 + 263,
|
||||
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 268,
|
||||
|
||||
// Used by crypto test mode
|
||||
kErrorTestMode = ERROR_DRM_VENDOR_MAX,
|
||||
|
||||
Reference in New Issue
Block a user