Parameterize "forbid analog" in mod mock
Merge from Widevine repo of http://go/wvgerrit/43660 This CL adds parameters to the mod mock to control various analog output behaviour. bug: 38005556 Change-Id: I308b300a2dd73f6bb7fb798d56c2c631a09f3765
This commit is contained in:
@@ -94,6 +94,20 @@ class CryptoEngine {
|
||||
// Returns the max HDCP version supported.
|
||||
virtual OEMCrypto_HDCP_Capability config_maximum_hdcp_capability();
|
||||
|
||||
// Return true if there might be analog video output enabled.
|
||||
virtual bool analog_display_active() {
|
||||
return !config_local_display_only();
|
||||
}
|
||||
|
||||
// Return true if there is an analog display, and CGMS A is turned on.
|
||||
virtual bool cgms_a_active() { return false; }
|
||||
|
||||
// Return the analog output flags.
|
||||
virtual uint32_t analog_output_flags() {
|
||||
return config_local_display_only() ? OEMCrypto_No_Analog_Output
|
||||
: OEMCrypto_Supports_Analog_Output;
|
||||
}
|
||||
|
||||
UsageTable& usage_table() { return *(usage_table_.get()); }
|
||||
wvcdm::FileSystem* file_system() { return file_system_.get(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user