Skip to content
Closed
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
18 changes: 11 additions & 7 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: L1-tests

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]
workflow_call:
secrets:
RDKCM_RDKE:
required: true

env:
BUILD_TYPE: Debug
Expand Down Expand Up @@ -66,6 +66,10 @@ jobs:
python-version: '3.x'
- run: pip install jsonref

- name: ACK External Trigger
run: |
echo "Message: External Trigger Received for L1 Tests"

- name: Set up CMake
uses: jwlawson/[email protected]
with:
Expand Down Expand Up @@ -119,7 +123,9 @@ jobs:
- name: Checkout entservices-inputoutput
uses: actions/checkout@v3
with:
repository: rdkcentral/entservices-inputoutput
path: entservices-inputoutput
ref: develop

- name: Checkout googletest
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -437,7 +443,6 @@ jobs:
-DHAS_FRONT_PANEL=ON
-DRDK_SERVICES_L1_TEST=ON
-DPLUGIN_AVINPUT=ON
-DPLUGIN_HDMIINPUT=ON
-DPLUGIN_HDCPPROFILE=ON
-DPLUGIN_HDMICECSOURCE=ON
-DPLUGIN_HDMICECSINK=ON
Expand Down Expand Up @@ -515,7 +520,6 @@ jobs:
-DCMAKE_BUILD_TYPE=Debug
-DDS_FOUND=ON
-DPLUGIN_AVINPUT=ON
-DPLUGIN_HDMIINPUT=ON
-DPLUGIN_HDCPPROFILE=ON
-DPLUGIN_HDMICECSOURCE=ON
-DPLUGIN_HDMICECSINK=ON
Expand Down Expand Up @@ -667,7 +671,7 @@ jobs:
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-L1-inputoutput
path: |
coverage/
valgrind_log
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/L2-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: L2-tests

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]
workflow_call:
secrets:
RDKCM_RDKE:
required: true

env:
BUILD_TYPE: Debug
Expand Down Expand Up @@ -36,6 +36,10 @@ jobs:
python-version: '3.x'
- run: pip install jsonref

- name: ACK External Trigger
run: |
echo "Message: External Trigger Received for L2 Tests"

- name: Set up CMake
uses: jwlawson/[email protected]
with:
Expand Down Expand Up @@ -81,7 +85,9 @@ jobs:
- name: Checkout entservices-inputoutput
uses: actions/checkout@v3
with:
repository: rdkcentral/entservices-inputoutput
path: entservices-inputoutput
ref: develop

- name: Checkout entservices-testframework
uses: actions/checkout@v3
Expand Down Expand Up @@ -375,7 +381,7 @@ jobs:
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/rdk/iarmmgrs-hal
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/systemservices
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/systemservices/proc
-I $GITHUB_WORKSPACE/entservices-deviceanddisplay/helpers
-I $GITHUB_WORKSPACE/entservices-inputoutput/helpers
-I $GITHUB_WORKSPACE/install/usr/include
-I $GITHUB_WORKSPACE/install/usr/include/WPEFramework
-include $GITHUB_WORKSPACE/entservices-testframework/Tests/mocks/devicesettings.h
Expand Down Expand Up @@ -581,7 +587,7 @@ jobs:
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-L2-inputoutput
path: |
coverage/
valgrind_log
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/tests-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
permissions:
contents: read
name: main-workflow

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]

jobs:
trigger-L1:
uses: ./.github/workflows/L1-tests.yml
secrets:
RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}

trigger-L2:
uses: ./.github/workflows/L2-tests.yml
secrets:
RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}

14 changes: 14 additions & 0 deletions AVOutput/AVOutputTV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2016,6 +2016,10 @@ namespace Plugin {
returnResponse(false);
}

if (isPlatformSupport("DimmingMode") != 0) {
returnResponse(false);
}

if (getParamIndex("DimmingMode",inputInfo,indexInfo) == -1) {
LOGERR("%s: getParamIndex failed to get \n", __FUNCTION__);
returnResponse(false);
Expand Down Expand Up @@ -2072,6 +2076,10 @@ namespace Plugin {
returnResponse(false);
}

if (isPlatformSupport("DimmingMode") != 0) {
returnResponse(false);
}

if( !isCapablityCheckPassed( "DimmingMode" , inputInfo )) {
LOGERR("%s: CapablityCheck failed for DimmingMode\n", __FUNCTION__);
returnResponse(false);
Expand Down Expand Up @@ -2118,6 +2126,10 @@ namespace Plugin {
returnResponse(false);
}

if (isPlatformSupport("DimmingMode") != 0) {
returnResponse(false);
}

int retval= updateAVoutputTVParam("reset","DimmingMode", inputInfo,PQ_PARAM_DIMMINGMODE,dMode);

if(retval != 0 ) {
Expand Down Expand Up @@ -2171,6 +2183,8 @@ namespace Plugin {
returnResponse(false);
}
else {
response["platformSupport"] = (info.isPlatformSupportVector[0].compare("true") == 0) ? true : false;

for (index = 0; index < info.rangeVector.size(); index++) {
supportedDimmingModeArray.Add(info.rangeVector[index]);
}
Expand Down
2 changes: 1 addition & 1 deletion AVOutput/AVOutputTVHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2302,7 +2302,7 @@ namespace Plugin {

}

if ((param == "DolbyVisionMode") || (param == "Backlight") || (param == "CMS") || (param == "CustomWhiteBalance") || (param == "HDRMode") || (param == "BacklightControl")) {
if ((param == "DolbyVisionMode") || (param == "Backlight") || (param == "CMS") || (param == "CustomWhiteBalance") || (param == "HDRMode") || (param == "BacklightControl") || (param == "DimmingMode")) {
configString = param + ".platformsupport";
info.isPlatformSupport = inFile.Get<std::string>(configString);
printf(" platformsupport : %s\n",info.isPlatformSupport.c_str() );
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [1.4.0](https://github.com/rdkcentral/entservices-inputoutput/compare/1.3.5...1.4.0)

- RDKEMW-2942 : Remove the HdmiInput plugin and replace its references with AVInput [`#205`](https://github.com/rdkcentral/entservices-inputoutput/pull/205)
- [RDKEMW-3513] PR action to run with latest change [`#163`](https://github.com/rdkcentral/entservices-inputoutput/pull/163)
- RDKEMW-6325: platfromSupport is missing from dimmingMode capabilities [`#198`](https://github.com/rdkcentral/entservices-inputoutput/pull/198)
- Merge tag '1.3.5' into develop [`024be52`](https://github.com/rdkcentral/entservices-inputoutput/commit/024be52d58d512b138b84aee9b12609e603d7110)

#### [1.3.5](https://github.com/rdkcentral/entservices-inputoutput/compare/1.3.4...1.3.5)

> 23 July 2025

- RDKEMW-6230: Retry logic used dsGetHDMIARCPortId in HdmiCecSink [`#203`](https://github.com/rdkcentral/entservices-inputoutput/pull/203)
- 1.3.5 release changelog updates [`b12cd97`](https://github.com/rdkcentral/entservices-inputoutput/commit/b12cd97a05c2dc2b7915cfac28c998fb2277d349)
- Merge tag '1.3.4' into develop [`760ee0f`](https://github.com/rdkcentral/entservices-inputoutput/commit/760ee0f9da46e0b0ed2e2adb4523bfec85c5a927)

#### [1.3.4](https://github.com/rdkcentral/entservices-inputoutput/compare/1.3.3...1.3.4)
Expand Down
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ if(PLUGIN_HDCPPROFILE)
add_subdirectory(HdcpProfile)
endif()

if(PLUGIN_HDMIINPUT)
add_subdirectory(HdmiInput)
endif()


if(WPEFRAMEWORK_CREATE_IPKG_TARGETS)
set(CPACK_GENERATOR "DEB")
Expand Down
27 changes: 0 additions & 27 deletions HdmiInput/CHANGELOG.md

This file was deleted.

64 changes: 0 additions & 64 deletions HdmiInput/CMakeLists.txt

This file was deleted.

4 changes: 0 additions & 4 deletions HdmiInput/HdmiInput.conf.in

This file was deleted.

7 changes: 0 additions & 7 deletions HdmiInput/HdmiInput.config

This file was deleted.

Loading
Loading