Loading include/media/hardware/HDCPAPI.h +8 −8 Original line number Original line Diff line number Diff line Loading @@ -73,7 +73,7 @@ struct HDCPModule { // Module can call the notification function to signal completion/failure // Module can call the notification function to signal completion/failure // of asynchronous operations (such as initialization) or out of band // of asynchronous operations (such as initialization) or out of band // events. // events. HDCPModule(void *cookie, ObserverFunc observerNotify) {}; HDCPModule(void * /*cookie*/, ObserverFunc /*observerNotify*/) {}; virtual ~HDCPModule() {}; virtual ~HDCPModule() {}; Loading Loading @@ -104,8 +104,8 @@ struct HDCPModule { // 1 for the second and so on) // 1 for the second and so on) // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. virtual status_t encrypt( virtual status_t encrypt( const void *inData, size_t size, uint32_t streamCTR, const void * /*inData*/, size_t /*size*/, uint32_t /*streamCTR*/, uint64_t *outInputCTR, void *outData) { uint64_t * /*outInputCTR*/, void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } Loading @@ -119,8 +119,8 @@ struct HDCPModule { // 1 for the second and so on) // 1 for the second and so on) // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. virtual status_t encryptNative( virtual status_t encryptNative( buffer_handle_t buffer, size_t offset, size_t size, buffer_handle_t /*buffer*/, size_t /*offset*/, size_t /*size*/, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) { uint32_t /*streamCTR*/, uint64_t * /*outInputCTR*/, void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } // DECRYPTION only: // DECRYPTION only: Loading @@ -133,9 +133,9 @@ struct HDCPModule { // until outData contains size bytes of decrypted data. // until outData contains size bytes of decrypted data. // Both streamCTR and inputCTR will be provided by the caller. // Both streamCTR and inputCTR will be provided by the caller. virtual status_t decrypt( virtual status_t decrypt( const void *inData, size_t size, const void * /*inData*/, size_t /*size*/, uint32_t streamCTR, uint64_t inputCTR, uint32_t /*streamCTR*/, uint64_t /*inputCTR*/, void *outData) { void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } Loading Loading
include/media/hardware/HDCPAPI.h +8 −8 Original line number Original line Diff line number Diff line Loading @@ -73,7 +73,7 @@ struct HDCPModule { // Module can call the notification function to signal completion/failure // Module can call the notification function to signal completion/failure // of asynchronous operations (such as initialization) or out of band // of asynchronous operations (such as initialization) or out of band // events. // events. HDCPModule(void *cookie, ObserverFunc observerNotify) {}; HDCPModule(void * /*cookie*/, ObserverFunc /*observerNotify*/) {}; virtual ~HDCPModule() {}; virtual ~HDCPModule() {}; Loading Loading @@ -104,8 +104,8 @@ struct HDCPModule { // 1 for the second and so on) // 1 for the second and so on) // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. virtual status_t encrypt( virtual status_t encrypt( const void *inData, size_t size, uint32_t streamCTR, const void * /*inData*/, size_t /*size*/, uint32_t /*streamCTR*/, uint64_t *outInputCTR, void *outData) { uint64_t * /*outInputCTR*/, void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } Loading @@ -119,8 +119,8 @@ struct HDCPModule { // 1 for the second and so on) // 1 for the second and so on) // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. // inputCTR _will_be_maintained_by_the_callee_ for each PES stream. virtual status_t encryptNative( virtual status_t encryptNative( buffer_handle_t buffer, size_t offset, size_t size, buffer_handle_t /*buffer*/, size_t /*offset*/, size_t /*size*/, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) { uint32_t /*streamCTR*/, uint64_t * /*outInputCTR*/, void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } // DECRYPTION only: // DECRYPTION only: Loading @@ -133,9 +133,9 @@ struct HDCPModule { // until outData contains size bytes of decrypted data. // until outData contains size bytes of decrypted data. // Both streamCTR and inputCTR will be provided by the caller. // Both streamCTR and inputCTR will be provided by the caller. virtual status_t decrypt( virtual status_t decrypt( const void *inData, size_t size, const void * /*inData*/, size_t /*size*/, uint32_t streamCTR, uint64_t inputCTR, uint32_t /*streamCTR*/, uint64_t /*inputCTR*/, void *outData) { void * /*outData*/) { return INVALID_OPERATION; return INVALID_OPERATION; } } Loading