OEMCrypto Version 10 API

This is a merge of http://go/wvgerrit/13391 from the Widevine repository.

This CL adds the OEMCrypto version 10 API to the header, and changes
just enough code so that code still compiles.  There are no unit tests
or implementation.

The level 3 libraries are just stubs so that tests will compile.
level3/arm/libwvlevel3.a  Level3 Library Mar 11 2015 13:33:21
level3/x86/libwvlevel3.a  Level3 Library Mar 11 2015 15:20:27

Change-Id: I41de753a2a60da29b756c3327341ece72069d8bb
This commit is contained in:
Fred Gylys-Colwell
2015-03-11 15:29:45 -07:00
parent 3398b1f8e7
commit 68034dd900
9 changed files with 328 additions and 64 deletions

View File

@@ -1622,17 +1622,17 @@ TEST_F(OEMCryptoClientTest, NormalGetKeyData) {
const char* HDCPCapabilityAsString(OEMCrypto_HDCP_Capability value) {
switch (value) {
case 0x0:
case HDCP_NONE:
return "No HDCP supported, no secure data path";
case 0x1:
case HDCP_V1:
return "HDCP version 1.0";
case 0x2:
case HDCP_V2:
return "HDCP version 2.0";
case 0x3:
case HDCP_V2_1:
return "HDCP version 2.1";
case 0x4:
case HDCP_V2_2:
return "HDCP version 2.2";
case 0xFF:
case HDCP_NO_DIGITAL_OUTPUT:
return "No HDCP device attached/using local display with secure path";
default:
return "<INVALID VALUE>";