Rename ReleaseAllUsageInfo to RemoveAllUsageInfo
[ Merge of http://go/wvgerrit/44920 ] Bug: 69674645 Test: WV unit and integration tests Change-Id: Iee6e60b9dd20a8ed087c5e44924aa1c05f640920
This commit is contained in:
@@ -189,10 +189,10 @@ static android::status_t mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
return kNoContentKey;
|
||||
case wvcdm::REFRESH_KEYS_ERROR:
|
||||
return kRefreshKeysError;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_1:
|
||||
return kReleaseAllUsageInfoError1;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_2:
|
||||
return kReleaseAllUsageInfoError2;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_1:
|
||||
return kRemoveAllUsageInfoError1;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_2:
|
||||
return kRemoveAllUsageInfoError2;
|
||||
case wvcdm::RELEASE_KEY_ERROR:
|
||||
return kReleaseKeyError;
|
||||
case wvcdm::RELEASE_KEY_REQUEST_ERROR:
|
||||
@@ -447,10 +447,10 @@ static android::status_t mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
return kIncorrectUsageSupportType1;
|
||||
case wvcdm::INCORRECT_USAGE_SUPPORT_TYPE_2:
|
||||
return kIncorrectUsageSupportType2;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_4:
|
||||
return kReleaseAllUsageInfoError4;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_5:
|
||||
return kReleaseAllUsageInfoError5;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_4:
|
||||
return kRemoveAllUsageInfoError4;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_5:
|
||||
return kRemoveAllUsageInfoError5;
|
||||
case wvcdm::NO_USAGE_ENTRIES:
|
||||
return kNoUsageEntries;
|
||||
case wvcdm::LIST_LICENSE_ERROR_1:
|
||||
@@ -489,10 +489,10 @@ static android::status_t mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
return kUsageStoreEntryRetrieveUsageInfoFailed;
|
||||
case wvcdm::USAGE_STORE_ENTRY_RETRIEVE_INVALID_STORAGE_TYPE:
|
||||
return kUsageStoreEntryRetrieveInvalidStorageType;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_6:
|
||||
return kReleaseAllUsageInfoError6;
|
||||
case wvcdm::RELEASE_ALL_USAGE_INFO_ERROR_7:
|
||||
return kReleaseAllUsageInfoError7;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_6:
|
||||
return kRemoveAllUsageInfoError6;
|
||||
case wvcdm::REMOVE_ALL_USAGE_INFO_ERROR_7:
|
||||
return kRemoveAllUsageInfoError7;
|
||||
case wvcdm::LICENSE_REQUEST_INVALID_SUBLICENSE:
|
||||
return kLicenseRequestInvalidSublicense;
|
||||
case wvcdm::CERT_PROVISIONING_EMPTY_SERVICE_CERTIFICATE:
|
||||
@@ -503,6 +503,12 @@ static android::status_t mapCdmResponseType(wvcdm::CdmResponseType res) {
|
||||
return kInsufficientCryptoResources4;
|
||||
case wvcdm::INSUFFICIENT_CRYPTO_RESOURCES_5:
|
||||
return kInsufficientCryptoResources5;
|
||||
case wvcdm::REMOVE_USAGE_INFO_ERROR_1:
|
||||
return kRemoveUsageInfoError1;
|
||||
case wvcdm::REMOVE_USAGE_INFO_ERROR_2:
|
||||
return kRemoveUsageInfoError2;
|
||||
case wvcdm::REMOVE_USAGE_INFO_ERROR_3:
|
||||
return kRemoveUsageInfoError3;
|
||||
}
|
||||
|
||||
// Return here instead of as a default case so that the compiler will warn
|
||||
|
||||
Reference in New Issue
Block a user