|
RDK Documentation (Open Sourced RDK Components)
|
20 #ifndef AAMP_IARM_MGR_MOCKS_H
21 #define AAMP_IARM_MGR_MOCKS_H
28 #include <gmock/gmock.h>
30 using namespace device;
36 MOCK_METHOD(IARM_Result_t,
IARM_Bus_Call, (
const char *ownerName,
37 const char *methodName,
43 MOCK_METHOD(IARM_Result_t,
IARM_Bus_Init, (
const char *name));
46 IARM_EventId_t eventId,
50 IARM_EventId_t eventId,
60 MOCK_METHOD(
VideoOutputPort &, getVideoOutputPort, (
const std::string &name));
66 MOCK_METHOD(
void, DeInitialize, ());
67 MOCK_METHOD(
void, Initialize, ());
73 MOCK_METHOD(
int, getHDCPCurrentProtocol, ());
74 MOCK_METHOD(
int, getHDCPProtocol, ());
75 MOCK_METHOD(
int, getHDCPReceiverProtocol, ());
76 MOCK_METHOD(
int, getHDCPStatus, ());
78 MOCK_METHOD(
bool, isContentProtected, (), (
const));
79 MOCK_METHOD(
bool, isDisplayConnected, (), (
const));
Class extending DSConstant to implement the videoResolution interface.
This class extends DSConstant to manages the pixel resolution of the video.
IARM_Result_t IARM_Bus_Call(const char *ownerName, const char *methodName, void *arg, size_t argLen)
This API is used to Invoke RPC method by its application name and method name.
Class extending enumerable to implement the videoooutputport interface.
It contains class referenced by manager.cpp file.
IARM_Result_t IARM_Bus_RegisterEventHandler(const char *ownerName, IARM_EventId_t eventId, IARM_EventHandler_t handler)
This API register to listen to event and provide the callback function for event notification....
IARM_Result_t IARM_Bus_RemoveEventHandler(const char *ownerName, IARM_EventId_t eventId, IARM_EventHandler_t handler)
Remove specific handler registered for the given event.
RDK IARM-Bus API Declarations.
It contains class and structure refrenced by the videooutputport.cpp file.
void(* IARM_EventHandler_t)(const char *owner, IARM_EventId_t eventId, void *data, size_t len)
Function signature for event handlers.
IARM_Result_t IARM_Bus_Connect(void)
This API is used to connect application to the IARM bus daemon. After connected, the application can ...
This file defines PixelResolution class for managing video resolution types.
IARM_Result_t IARM_Bus_Init(const char *name)
This API is used to initialize the IARM-Bus library.