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:
@@ -241,10 +241,13 @@ enum {
|
||||
kInvalidParametersEng22 = ERROR_DRM_VENDOR_MIN + 227,
|
||||
kStoreLicenseError4 = ERROR_DRM_VENDOR_MIN + 228,
|
||||
kListLicensesError = ERROR_DRM_VENDOR_MIN + 229,
|
||||
kInvalidParametersEng23 = ERROR_DRM_VENDOR_MIN + 230,
|
||||
kUsageInformationSupportFailed = ERROR_DRM_VENDOR_MIN + 231,
|
||||
kUsageSupportGetApiFailed = ERROR_DRM_VENDOR_MIN + 232,
|
||||
|
||||
// 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 + 229,
|
||||
kErrorWVDrmMaxErrorUsed = ERROR_DRM_VENDOR_MIN + 232,
|
||||
|
||||
// Used by crypto test mode
|
||||
kErrorTestMode = ERROR_DRM_VENDOR_MAX,
|
||||
|
||||
Reference in New Issue
Block a user