Query analog output capabilities.
[ Merge of http://go/wvgerrit/107763 ] This CL enables the ability to query the CDM for the analog output capabilites of the device. Due to the number of possibilities that OEMCrypto can report, two queries are exposed: - Output capabilities: None, Supported, CGMS-C, Unknown - Can disable: True, False, Unknown Bug: 168322023 Test: Android integration test Change-Id: I8036a89237d698f170d2c1901c41d1d6b708c917
This commit is contained in:
@@ -191,7 +191,7 @@ void WVDrmFactory::printCdmProperties(FILE* out) {
|
||||
cdm->IsSecurityLevelSupported(wvcdm::CdmSecurityLevel::kSecurityLevelL1);
|
||||
fprintf(out, "default security level: [%s]\n", isLevel1 ? "L1" : "L3");
|
||||
|
||||
std::map<std::string, std::string> cdmProperties = {
|
||||
const std::map<std::string, std::string> cdmProperties = {
|
||||
{"version- Widevine CDM:", wvcdm::QUERY_KEY_WVCDM_VERSION},
|
||||
{"version- current SRM:", wvcdm::QUERY_KEY_CURRENT_SRM_VERSION},
|
||||
{"version(major)- OEM Crypto API:",
|
||||
@@ -213,6 +213,9 @@ void WVDrmFactory::printCdmProperties(FILE* out) {
|
||||
{"OEM Crypto build info:", wvcdm::QUERY_KEY_OEMCRYPTO_BUILD_INFORMATION},
|
||||
{"provisioning id:", wvcdm::QUERY_KEY_PROVISIONING_ID},
|
||||
{"provisioning model:", wvcdm::QUERY_KEY_PROVISIONING_MODEL},
|
||||
{"analog capabilities:", wvcdm::QUERY_KEY_ANALOG_OUTPUT_CAPABILITIES},
|
||||
{"can disable analog output:",
|
||||
wvcdm::QUERY_KEY_CAN_DISABLE_ANALOG_OUTPUT},
|
||||
};
|
||||
|
||||
std::string value;
|
||||
|
||||
Reference in New Issue
Block a user