Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cd rfc
autoreconf -i
./configure --enable-rfctool=yes --enable-tr181set=yes
cd rfcapi
make librfcapi_la_CPPFLAGS="-I/usr/include/cjson"
make CXXFLAGS="-DUSE_IARMBUS" librfcapi_la_CPPFLAGS="-I/usr/include/cjson"
make install
export RFC_PATH=$ROOT/rfc

Expand Down
2 changes: 1 addition & 1 deletion cov_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ find $WORKDIR -iname "*.o" -exec rm -v {} \;
find $WORKDIR -iname "*.so*" -exec rm -v {} \;

echo "##### Triggering make"
make CFLAGS+='-fPIC -DDSMGR_LOGGER_ENABLED=ON -DRDK_DSHAL_NAME=\"libdshal.so\" -I${DS_IF_PATH}/include -I${DS_HAL_PATH} -I${DS_MGRS}/stubs -I${IARMBUS_PATH}/core -I${IARMBUS_PATH}/core/include -I${IARM_MGRS}/sysmgr/include -I${DS_MGRS}/ds/include -I${DS_MGRS}/rpc/include -I${POWER_IF_PATH}/include/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I${IARM_MGRS}/mfr/include/ -I${IARM_MGRS}/mfr/common -I${DEEPSLEEP_IF_PATH}/include -I${IARM_MGRS}/hal/include -I${IARM_MGRS}/power -I${IARM_MGRS}/power/include' LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -L/usr/local/include -lglib-2.0 -lIARMBus -lWPEFrameworkPowerController -ldshal"
make CFLAGS+='-fPIC -DDSMGR_LOGGER_ENABLED=ON -DDS_ENABLE_IARM_PATH -DRDK_DSHAL_NAME=\"libdshal.so\" -I${DS_IF_PATH}/include -I${DS_HAL_PATH} -I${DS_MGRS}/stubs -I${IARMBUS_PATH}/core -I${IARMBUS_PATH}/core/include -I${IARM_MGRS}/sysmgr/include -I${DS_MGRS}/ds/include -I${DS_MGRS}/ds/include/iarm -I${DS_MGRS}/rpc/include -I${POWER_IF_PATH}/include/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I${IARM_MGRS}/mfr/include/ -I${IARM_MGRS}/mfr/common -I${DEEPSLEEP_IF_PATH}/include -I${IARM_MGRS}/hal/include -I${IARM_MGRS}/power -I${IARM_MGRS}/power/include' LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -L/usr/local/include -lglib-2.0 -lIARMBus -lWPEFrameworkPowerController -ldshal"
6 changes: 4 additions & 2 deletions ds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,17 @@ INCLUDE := -I$(PWD) \
-I$(PWD)/hal/src \
-I$(PWD)/ds \
-I$(PWD)/rpc/include \
-I$(PWD)/ds/include
-I$(PWD)/ds/include \
-I$(PWD)/ds/include/iarm
else
INCLUDE := -I$(PWD) \
-I$(LOG4C_INSTALL_DIR)/include \
-I$(PWD)/config \
-I$(PWD)/hal/include \
-I$(PWD)/ds \
-I$(PWD)/rpc/include \
-I$(PWD)/ds/include
-I$(PWD)/ds/include \
-I$(PWD)/ds/include/iarm
endif


Expand Down
8 changes: 8 additions & 0 deletions ds/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ libds_la_SOURCES = aspectRatio.cpp \
host.cpp \
manager.cpp \
videoDFC.cpp

# DS_ENABLE_IARM_PATH to be defined from the config.ac file
if DS_ENABLE_IARM_PATH
libds_la_SOURCES += iarm/iarmCompositeIn.cpp
else
# plugin files of future
endif

22 changes: 22 additions & 0 deletions ds/audioOutputPort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
**/



#include "audioEncoding.hpp"
#include "audioCompression.hpp"
#include "audioStereoMode.hpp"
Expand Down Expand Up @@ -2001,9 +2002,30 @@ void AudioOutputPort::getHdmiArcPortId(int *portId)
}


/**
* @fn void AudioOutputPort::Register(IEvent *listener)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t AudioOutputPort::Register(IEvent *listener)
{
return 0;
}


/**
* @fn void AudioOutputPort::UnRegister(IEvent *listener)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t AudioOutputPort::UnRegister(IEvent *listener)
{
return 0;
}

}
/** @} */

/** @} */
Expand Down
56 changes: 54 additions & 2 deletions ds/compositeIn.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in ds/compositeIn.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/compositeIn.cpp' (Match: rdk/components/generic/devicesettings/rdk/components/generic/devicesettings/2101, 273 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/devicesettings/+archive/rdk-dev-2101.tar.gz, file: ds/compositeIn.cpp)
*
* Copyright 2016 RDK Management
* Copyright 2025 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Check failure on line 8 in ds/compositeIn.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/compositeIn.cpp' (Match: components/opensource/RDK_apps/components/opensource/RDK_apps/, 13 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/components/opensource/RDK_apps/+archive/rdk-next.tar.gz, file: diagnostics/dist/appBundle.js)
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
Expand Down Expand Up @@ -62,7 +62,7 @@
#include "dsTypes.h"
#include "dsCompositeIn.h"
#include "dsUtl.h"

//#include "iarmCompositeIn.hpp"

namespace device
{
Expand All @@ -78,6 +78,7 @@
* @callergraph
*/
CompositeInput::CompositeInput()
: implComposite(std::unique_ptr<IarmCompositeInput>(new IarmCompositeInput()))
{
dsCompositeInInit();
}
Expand All @@ -94,6 +95,7 @@
CompositeInput::~CompositeInput()
{
dsCompositeInTerm();
implComposite.reset();
}

/**
Expand Down Expand Up @@ -270,6 +272,56 @@
}
}


/**
* @fn void CompositeInput::Register(IEvent *listener)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t CompositeInput::Register(IEvent *listener)
{
uint32_t retStatus=FAIL;

INT_INFO("CompositeInput::Register Entry \n");
if(implComposite)
{
retStatus = implComposite->Register(listener);
}
else
{
INT_INFO("CompositeInput::Register impl is null\n");
}
return retStatus;
}


/**
* @fn void CompositeInput::UnRegister(IEvent *listener)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t CompositeInput::UnRegister(IEvent *listener)
{
uint32_t retStatus=FAIL;

INT_INFO("CompositeInput::UnRegister Entry \n");
if(implComposite)
{
retStatus = implComposite->UnRegister(listener);
}
else
{
INT_INFO("CompositeInput::UnRegister impl is null\n");
}
return retStatus;
}





}


Expand Down
25 changes: 24 additions & 1 deletion ds/frontPanelConfig.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in ds/frontPanelConfig.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/frontPanelConfig.cpp' (Match: rdk/components/generic/devicesettings/rdk/components/generic/devicesettings/2010, 395 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/devicesettings/+archive/RDK-DEV-2010.tar.gz, file: ds/frontPanelConfig.cpp)
*
* Copyright 2016 RDK Management
* Copyright 2025 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -264,6 +264,29 @@
}


/**
* @fn void FrontPanelTextDisplay::Register(IEvent *listener)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t FrontPanelTextDisplay::Register(IEvent *listener)
{
return 0;
}


/**
* @fn void FrontPanelTextDisplay::UnRegister(IEvent *listener)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t FrontPanelTextDisplay::UnRegister(IEvent *listener)
{
return 0;
}

/**
* @fn FrontPanelConfig::getColors()
* @brief This API gets the list of colors supported by front panel indicators.
Expand Down
27 changes: 26 additions & 1 deletion ds/hdmiIn.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in ds/hdmiIn.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/hdmiIn.cpp' (Match: rdk/components/generic/devicesettings/rdk/components/generic/devicesettings/2.1-20161031, 475 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/devicesettings/+archive/2.1-20161031.tar.gz, file: ds/hdmiIn.cpp)
*
* Copyright 2016 RDK Management
* Copyright 2025 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

Check failure on line 8 in ds/hdmiIn.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/hdmiIn.cpp' (Match: components/opensource/RDK_apps/components/opensource/RDK_apps/, 13 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/components/opensource/RDK_apps/+archive/rdk-next.tar.gz, file: diagnostics/dist/appBundle.js)
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
Expand Down Expand Up @@ -678,6 +678,31 @@
printf ("%s:%d - HDMI Compatibility Version = %d\n", __PRETTY_FUNCTION__, __LINE__, *capversion);
}


/**
* @fn void HdmiInput::Register(IEvent *listener)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t HdmiInput::Register(IEvent *listener)
{
return 0;
}


/**
* @fn void HdmiInput::UnRegister(IEvent *listener)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t HdmiInput::UnRegister(IEvent *listener)
{
return 0;
}


}


Expand Down
70 changes: 68 additions & 2 deletions ds/host.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:

Check failure on line 3 in ds/host.cpp

View workflow job for this annotation

GitHub Actions / call-fossid-workflow / Fossid Annotate PR

FossID License Issue Detected

Source code with 'Apache-2.0' license found in local file 'ds/host.cpp' (Match: rdk/components/generic/devicesettings/rdk/components/generic/devicesettings/1907, 536 lines, url: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/generic/devicesettings/+archive/rdk-dev-1907.tar.gz, file: ds/host.cpp)
*
* Copyright 2016 RDK Management
* Copyright 2025 RDK Management
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -241,7 +241,6 @@
}
}


/**
* @fn bool Host::setPowerMode(int mode)
* @brief This API is used to change the power mode of the device.
Expand Down Expand Up @@ -913,6 +912,73 @@
printf ("%s:%d - Set Audio Mixer levels for audio input: %d with volume = %d\n", __PRETTY_FUNCTION__, __LINE__,aInput, volume);
}

/**
* @fn void Host::Register(IEvent *listener)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t Host::Register(IEvent *listener)
{
return 0;
}


/**
* @fn void Host::UnRegister(IEvent *listener)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t Host::UnRegister(IEvent *listener)
{
return 0;
}

/**
* @fn void DisplayConnectionChangeListener::Register(IEvent *Evtnotification)
* @brief This API is used to register the Events
*
* @return unint32_t
*/
uint32_t DisplayConnectionChangeListener::Register(IEvent *listener)
{
return 0;
}

/**
* @fn void DisplayConnectionChangeListener::UnRegister(IEvent *Evtnotification)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t DisplayConnectionChangeListener::UnRegister(IEvent *listener)
{
return 0;
}

/**
* @fn void DisplayConnectionChangeListener::UnRegister(IDisplayHDMIHotPlugEvent *Evtnotification)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t DisplayConnectionChangeListener::Register(IDisplayHDMIHotPlugEvent *listener)
{
return 0;
}


/**
* @fn void DisplayConnectionChangeListener::UnRegister(IEvent *Evtnotification)
* @brief This API is used to UnRegister the Events
*
* @return unint32_t
*/
uint32_t DisplayConnectionChangeListener::UnRegister(IDisplayHDMIHotPlugEvent *listener)
{
return 0;
}

}

Expand Down
Loading
Loading