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:
@@ -1267,6 +1267,10 @@ Return<void> WVDrmPlugin::getPropertyString(const hidl_string& propertyName,
|
||||
status = queryProperty(wvcdm::QUERY_KEY_MAX_USAGE_TABLE_ENTRIES, value);
|
||||
} else if (name == "oemCryptoApiMinorVersion") {
|
||||
status = queryProperty(wvcdm::QUERY_KEY_OEMCRYPTO_API_MINOR_VERSION, value);
|
||||
} else if (name == "analogOutputCapabilities") {
|
||||
status = queryProperty(wvcdm::QUERY_KEY_ANALOG_OUTPUT_CAPABILITIES, value);
|
||||
} else if (name == "canDisableAnalogOutput") {
|
||||
status = queryProperty(wvcdm::QUERY_KEY_CAN_DISABLE_ANALOG_OUTPUT, value);
|
||||
} else if (name == "atscMode") {
|
||||
if (mPropertySet.use_atsc_mode()) {
|
||||
value = kEnable;
|
||||
|
||||
Reference in New Issue
Block a user