Merge "HDCP: add getCaps to query HDCP module capabilities"

This commit is contained in:
Chong Zhang 2013-09-10 16:50:10 +00:00 committed by Android (Google) Code Review
commit cf1eb71a8d

View File

@ -88,6 +88,11 @@ struct HDCPModule {
// Request to shutdown the active HDCP session.
virtual status_t shutdownAsync() = 0;
// Returns the capability bitmask of this HDCP session.
virtual uint32_t getCaps() {
return HDCP_CAPS_ENCRYPT;
}
// ENCRYPTION only:
// Encrypt data according to the HDCP spec. "size" bytes of data are
// available at "inData" (virtual address), "size" may not be a multiple