Add usage support query method
[ Merge of http://go/wvgerrit/23522 ] A helper method has been added to CryptoSession to determine whether the TEE supports usage tables, usage table headers+entries or does not provide any support for persistent licenses. In addition * CryptoSession now supports deletion of multiple usage entries rather than a single one. * Typedefs have been added for usage table headers and entries b/34327459 Test: Verified by unit/integration tests on angler. Change-Id: I634d3b7b81ce94d1deccd2a7aaf26b9efde414a8
This commit is contained in:
@@ -519,6 +519,15 @@ void PrintTo(const enum CdmResponseType& value, ::std::ostream* os) {
|
||||
break;
|
||||
case LIST_LICENSES_ERROR: *os << "LIST_LICENSES_ERROR";
|
||||
break;
|
||||
case INVALID_PARAMETERS_ENG_23:
|
||||
*os << "INVALID_PARAMETERS_ENG_23";
|
||||
break;
|
||||
case USAGE_INFORMATION_SUPPORT_FAILED:
|
||||
*os << "USAGE_INFORMATION_SUPPORT_FAILED";
|
||||
break;
|
||||
case USAGE_SUPPORT_GET_API_FAILED:
|
||||
*os << "USAGE_SUPPORT_GET_API_FAILED";
|
||||
break;
|
||||
|
||||
default:
|
||||
*os << "Unknown CdmResponseType";
|
||||
|
||||
Reference in New Issue
Block a user