Restrict CAS unit tests to devices that support CAS

Merge from Widevine repo of http://go/wvgerrit/151253

This updates the OEMCrypto unit test filters to remove
CasOnly tests if the device does not implement the cas
function OEMCrypto_LoadCasECMKeys.

Test: unit tests on Luci
Bug: 221256887
Change-Id: I7026c4318153ada1d85055704e87b2cef397ffca
This commit is contained in:
Fred Gylys-Colwell
2022-05-02 15:41:52 -07:00
parent da1e3c5de2
commit 0d6fbb2d0e
2 changed files with 6 additions and 0 deletions

View File

@@ -51,6 +51,7 @@ class DeviceFeatures {
uint32_t resource_rating; // Device's resource rating tier.
bool supports_crc; // Supported decrypt hash type CRC.
bool test_secure_buffers; // If we can create a secure buffer for testing.
bool supports_cas; // Device supports CAS (Condition Access System).
uint32_t api_version;
OEMCrypto_ProvisioningMethod provisioning_method;