Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf1eb71a authored by Chong Zhang's avatar Chong Zhang Committed by Android (Google) Code Review
Browse files

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

parents 68fc607e b344adf0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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