 |
RDK Documentation (Open Sourced RDK Components)
|
31 #define BOOST_TEST_MODULE Host
32 #define BOOST_TEST_MAIN
33 #include "boost/test/included/unit_test.hpp"
38 #include "videoOutputPortConfig.hpp"
52 #undef _DS_VIDEOOUTPUTPORTSETTINGS_H
53 #include "dsVideoPortSettings.h"
54 #undef _DS_VIDEORESOLUTIONSETTINGS_H
55 #include "dsVideoResolutionSettings.h"
57 BOOST_AUTO_TEST_CASE(test_Host)
62 BOOST_CHECK(aPorts.
size() != 0);
70 void powerModeChanged(
int newMode)
102 BOOST_AUTO_TEST_CASE(testDummy)
void addDisplayConnectionListener(DisplayConnectionChangeListener *l)
This API is used to register listeners for Display connection change event. The listener will be noti...
Class extending enumerable to implement the videoooutputport interface.
List< AudioOutputPort > getAudioOutputPorts()
This API is used to get the list of the audio output ports supported on the device....
Device Settings HAL error codes.
size_t size()
This function gets the size of the container.
Device Settings HAL utilities.
This file defines AudioStereoMode class for managing audio mode types.
It contains class and structure refrenced by the videoResolution.cpp file.
void addPowerModeListener(PowerModeChangeListener *l)
This API is used to register listeners for Power Mode change event. The listener object is created by...
It contains class and structure refrenced by the videooutputport.cpp file.
void removeDisplayConnectionListener(DisplayConnectionChangeListener *l)
This API is used to remove listeners from the Display connection change event list.
static Host & getInstance(void)
This API is used to get a reference to the single instance of the Host object.
It contain variables,stuctures,class and functions referenced by audiooutputportType code.
It contain variables,stuctures,class and functions referenced by audiooutputport code.
bool setPowerMode(int mode)
This API is used to change the power mode of the device. This function will set the power mode to act...
int getPowerMode()
This API is used to get the current power mode of the device. This function is currently not supporte...
This file defines AudioCompression class for managing audio compression levels.
void removePowerModeChangeListener(PowerModeChangeListener *l)
This API is used to remove a listener from Power Mode change listener list.
This file defines AudioEncoding class for managing audio encoding types.