Skip to content

Commit 0c89f2f

Browse files
authored
Merge branch 'develop' into feature/RDKEMW-3529-VRR_support
2 parents 3c94c36 + a7793b3 commit 0c89f2f

File tree

23 files changed

+566
-96
lines changed

23 files changed

+566
-96
lines changed

.github/workflows/validate_interface_headers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def validate_header(file_path, issues, ids_lines):
168168
break
169169

170170
# Find the INotification interface declaration
171-
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?INotification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
171+
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?I\w*Notification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
172172
matches = interface_pattern.finditer(content)
173173
for match in matches:
174174
start_index = match.start()
@@ -256,4 +256,4 @@ def main():
256256
print("No issues found.")
257257

258258
if __name__ == "__main__":
259-
main()
259+
main()

.github/workflows/validate_interface_headers_incremental.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def validate_header(file_path, issues, ids_lines):
169169
break
170170

171171
# Find the INotification interface declaration
172-
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?INotification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
172+
interface_pattern = re.compile(r'struct\s+(EXTERNAL\s+)?I\w*Notification\s*:\s*virtual\s+public\s+Core::IUnknown\s*')
173173
matches = interface_pattern.finditer(content)
174174

175175
for match in matches:

CHANGELOG.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,93 @@ All notable changes to this project will be documented in this file. Dates are d
44

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

7+
#### [1.5.0](https://github.com/rdkcentral/entservices-apis/compare/1.4.2...1.5.0)
8+
9+
- DELIA-67834 : Added privacyMode related calls. [`#133`](https://github.com/rdkcentral/entservices-apis/pull/133)
10+
- Merge tag '1.4.2' into develop [`4ebfb21`](https://github.com/rdkcentral/entservices-apis/commit/4ebfb219ea129bfe695290c85bcd5cecee5a0a7c)
11+
12+
#### [1.4.2](https://github.com/rdkcentral/entservices-apis/compare/1.4.1...1.4.2)
13+
14+
> 28 May 2025
15+
16+
- RDKEMW-1016 Add COM-RPC support to LEDControl plugin [`#157`](https://github.com/rdkcentral/entservices-apis/pull/157)
17+
- RDKEMW-1016 - Changelog updates for 1.4.2 [`1449587`](https://github.com/rdkcentral/entservices-apis/commit/1449587865c3b124b89a6b7af3ba69fa677318e8)
18+
- Merge tag '1.4.1' into develop [`e2e96ce`](https://github.com/rdkcentral/entservices-apis/commit/e2e96ce04efecaa6f3259c22bcd52320a68e7e91)
19+
20+
#### [1.4.1](https://github.com/rdkcentral/entservices-apis/compare/1.4.0...1.4.1)
21+
22+
> 28 May 2025
23+
24+
- RDKEMW-2653 ISystemMode.h Interface header not following coding guide… [`#219`](https://github.com/rdkcentral/entservices-apis/pull/219)
25+
- RDKEMW-2871 IFirmwareUpdate.h Interface header not following coding guidelines [`#218`](https://github.com/rdkcentral/entservices-apis/pull/218)
26+
- RDKEMW-2870: OCIContainer Interface header not following coding guidelines [`#210`](https://github.com/rdkcentral/entservices-apis/pull/210)
27+
- RDK-57747: Updated version details. [`#225`](https://github.com/rdkcentral/entservices-apis/pull/225)
28+
- Revert "RDKEMW-3890: [AI2.0][WindowManager] IRDKWindowManager - onRea… [`#227`](https://github.com/rdkcentral/entservices-apis/pull/227)
29+
- Revert "RDKEMW-3886 : [AppManager] Events registration" [`#217`](https://github.com/rdkcentral/entservices-apis/pull/217)
30+
- RDKEMW-3886 : [AppManager] Events registration [`#213`](https://github.com/rdkcentral/entservices-apis/pull/213)
31+
- RDKEMW-3890: [AI2.0][WindowManager] IRDKWindowManager - onReady, renderReady and enableDisplayRendering [`#214`](https://github.com/rdkcentral/entservices-apis/pull/214)
32+
- RDK-57747: RDKE: Add contentPin parameter in User Settings [`15540c6`](https://github.com/rdkcentral/entservices-apis/commit/15540c65d0c01e65ba94ec7c3879cd0f53023198)
33+
- Revert "RDKEMW-3890: [AI2.0][WindowManager] IRDKWindowManager - onReady, renderReady and enableDisplayRendering" [`f44260f`](https://github.com/rdkcentral/entservices-apis/commit/f44260f5dd4fcd0c86bfc18a5431b9b6f3319a1a)
34+
- [AI2.0][WindowManager] IRDKWindowManager - onReady, renderReady and enableDisplayRendering [`d524914`](https://github.com/rdkcentral/entservices-apis/commit/d524914ede96c6c0ae6694c9213de1c688bc4ac2)
35+
36+
#### [1.4.0](https://github.com/rdkcentral/entservices-apis/compare/1.3.12...1.4.0)
37+
38+
> 21 May 2025
39+
40+
- RDKEMW-4358: Add ITextTrack interfaces for TTML overrides [`#200`](https://github.com/rdkcentral/entservices-apis/pull/200)
41+
- RDKEMW-4279 Update the DeviceDiagnostics plugin entservice-apis doc [`#197`](https://github.com/rdkcentral/entservices-apis/pull/197)
42+
- 1.4.0 release changelog updates [`d86ff58`](https://github.com/rdkcentral/entservices-apis/commit/d86ff58201297d5d50ed40ab147b70ec43e553c2)
43+
- Merge tag '1.3.12' into develop [`a6b3787`](https://github.com/rdkcentral/entservices-apis/commit/a6b37879afa86c84562ddc54a125f0f9b3bfb633)
44+
45+
#### [1.3.12](https://github.com/rdkcentral/entservices-apis/compare/1.3.11...1.3.12)
46+
47+
> 20 May 2025
48+
49+
- RDKEMW-4187: Missing error response string in the isClean method [`#194`](https://github.com/rdkcentral/entservices-apis/pull/194)
50+
- RDKEMW-4187 - Changelog updates for 1.3.12 [`2f38918`](https://github.com/rdkcentral/entservices-apis/commit/2f389187b5fa0139f31e60a245a26527fd7cb26a)
51+
- Merge tag '1.3.11' into develop [`283e0ce`](https://github.com/rdkcentral/entservices-apis/commit/283e0cedd6c673dc74df4ee0f23fd203a81cfc2a)
52+
53+
#### [1.3.11](https://github.com/rdkcentral/entservices-apis/compare/1.3.10...1.3.11)
54+
55+
> 20 May 2025
56+
57+
- RDK-57748: Add new property in contentPin in Usersettings [`#204`](https://github.com/rdkcentral/entservices-apis/pull/204)
58+
- RDKEMW-3964: Missing the milestones and paramList response string (#190) [`#203`](https://github.com/rdkcentral/entservices-apis/pull/203)
59+
- RDKEMW-3964: Missing the milestones and paramList response string [`#190`](https://github.com/rdkcentral/entservices-apis/pull/190)
60+
- RDKEMW-3813: [AI2.0][RDKWindowManager] Add setVisible thunder interface [`#198`](https://github.com/rdkcentral/entservices-apis/pull/198)
61+
- 1.3.11 release changelog updates [`2fa2632`](https://github.com/rdkcentral/entservices-apis/commit/2fa2632897b226234b98126900682193289b5cd0)
62+
- Merge tag '1.3.10' into develop [`5b42b0a`](https://github.com/rdkcentral/entservices-apis/commit/5b42b0a10ca2195bbe6c1514ca55df6e1b22dba5)
63+
64+
#### [1.3.10](https://github.com/rdkcentral/entservices-apis/compare/1.3.9...1.3.10)
65+
66+
> 12 May 2025
67+
68+
- RDKEMW-3925: Update rdkNativeScript with application identifiers [`#189`](https://github.com/rdkcentral/entservices-apis/pull/189)
69+
- RDKEMW-3925: Updating interface API's [`4c9c2db`](https://github.com/rdkcentral/entservices-apis/commit/4c9c2dba24721b6dab12a901b48ef9cd1786a776)
70+
- RDKEMW-3925 - Changelog updates for 1.3.10 [`45fdf03`](https://github.com/rdkcentral/entservices-apis/commit/45fdf039c7dcf2db36f263f48dc705d16bb77565)
71+
- Merge tag '1.3.9' into develop [`0a22f9c`](https://github.com/rdkcentral/entservices-apis/commit/0a22f9c1aff3961e1521aef16bff6d37009a04ef)
72+
73+
#### [1.3.9](https://github.com/rdkcentral/entservices-apis/compare/1.3.8...1.3.9)
74+
75+
> 9 May 2025
76+
77+
- pass additionalMetadata in IPackageImpl.Install [`#188`](https://github.com/rdkcentral/entservices-apis/pull/188)
78+
- RDKEMW-4039: Validate_Interface_headers workflow reporting wrong errors for IPowerManager.h interface header [`#178`](https://github.com/rdkcentral/entservices-apis/pull/178)
79+
- Update generate_md_from_header.py (#183) [`#186`](https://github.com/rdkcentral/entservices-apis/pull/186)
80+
- Update generate_md_from_header.py [`#183`](https://github.com/rdkcentral/entservices-apis/pull/183)
81+
- RDKEMW-2674: RuntimeConfig object for PackageManager (#149) [`#181`](https://github.com/rdkcentral/entservices-apis/pull/181)
82+
- RDKEMW-2674: RuntimeConfig object for PackageManager [`#149`](https://github.com/rdkcentral/entservices-apis/pull/149)
83+
- RDKEMW-4039 : workflow reporting wrong errors for IPowerManager.h interface header [`8ba29ae`](https://github.com/rdkcentral/entservices-apis/commit/8ba29aef5bacd708d4303a42a003805c9d91ebc4)
84+
- RDKEMW-4107 - Changelog updates for 1.3.9 [`81dbf73`](https://github.com/rdkcentral/entservices-apis/commit/81dbf73a701e4cbac45bc7735e9e774b9a6b11da)
85+
- Update validate_interface_headers.py [`ff34944`](https://github.com/rdkcentral/entservices-apis/commit/ff34944eacffd2c76b58855ddca8465661fab668)
86+
787
#### [1.3.8](https://github.com/rdkcentral/entservices-apis/compare/1.3.7...1.3.8)
888

89+
> 1 May 2025
90+
991
- RDKEMW-1014 : Add COM-RPC support to HdcpProfile plugin [`#173`](https://github.com/rdkcentral/entservices-apis/pull/173)
1092
- RDKEMW-2374: Create md_from_h_generator tool [`#142`](https://github.com/rdkcentral/entservices-apis/pull/142)
93+
- RDKEMW-1014 - Changelog updates for 1.3.8 [`4b4caa4`](https://github.com/rdkcentral/entservices-apis/commit/4b4caa43d2e6c0be01e57f05c8d2f4ec510066ad)
1194
- Merge tag '1.3.7' into develop [`d80db1c`](https://github.com/rdkcentral/entservices-apis/commit/d80db1cf09906bcaf28b2d5f42a5f4e83f5fa558)
1295

1396
#### [1.3.7](https://github.com/rdkcentral/entservices-apis/compare/1.3.6...1.3.7)

apis/DeviceDiagnostics/IDeviceDiagnostics.h

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ namespace WPEFramework
5151

5252
// @text onAVDecoderStatusChanged
5353
// @brief Triggered when the most active status of audio/video decoder/pipeline changes
54-
// @param AVDecoderStatus - in - string
55-
virtual void OnAVDecoderStatusChanged(const string& AVDecoderStatus) {};
54+
// @param avDecoderStatusChange - in - string
55+
virtual void OnAVDecoderStatusChanged(const string& avDecoderStatusChange) {};
5656
};
5757

5858
virtual Core::hresult Register(IDeviceDiagnostics::INotification* notification /* @in */) = 0;
@@ -62,17 +62,20 @@ namespace WPEFramework
6262
// @brief Gets the values associated with the corresponding property names
6363
// @param names - in - String array of property names
6464
// @param paramList - out - specified properties and their values
65-
virtual Core::hresult GetConfiguration(IStringIterator* const& names /* @in */, IDeviceDiagnosticsParamListIterator*& paramList /* @out */) = 0;
65+
// @param success - out - boolean
66+
virtual Core::hresult GetConfiguration(IStringIterator* const& names /* @in */, IDeviceDiagnosticsParamListIterator*& paramList /* @out */, bool& success /* @out */) = 0;
6667

6768
// @text getMilestones
6869
// @brief Returns the list of milestones
6970
// @param milestones - out - A string [] of milestones
70-
virtual Core::hresult GetMilestones(IStringIterator*& milestones /* @out */) = 0;
71+
// @param success - out - boolean
72+
virtual Core::hresult GetMilestones(IStringIterator*& milestones /* @out */, bool& success /* @out */) = 0;
7173

7274
// @text logMilestone
7375
// @brief Log marker string to rdk milestones log
7476
// @param marker - in - string
75-
virtual Core::hresult LogMilestone(const string& marker /* @in */) = 0;
77+
// @param success - out - boolean
78+
virtual Core::hresult LogMilestone(const string& marker /* @in */, bool& success /* @out */) = 0;
7679

7780
// @text getAVDecoderStatus
7881
// @brief Gets the most active status of audio/video decoder/pipeline

apis/FirmwareUpdate/IFirmwareUpdate.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ struct EXTERNAL IFirmwareUpdate : virtual public Core::IUnknown {
6464
// @param State : State
6565
// @param SubState: SubState
6666
// @text onUpdateStateChange
67-
virtual void OnUpdateStateChange (const State state , const SubState substate )= 0;
67+
virtual void OnUpdateStateChange (const State state , const SubState substate ) {};
6868

6969
// @brief This notification is raised between flashing started state and flashing succeeded/failed.
7070
// @param percentageComplete : Number between 0 and 100 indicating the "percentage complete" of the flashing process.
7171
// @text onFlashingStateChange
72-
virtual void OnFlashingStateChange (const uint32_t percentageComplete )= 0;
72+
virtual void OnFlashingStateChange (const uint32_t percentageComplete ) {};
7373

7474
};
7575

apis/Ids.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ namespace Exchange {
176176
ID_TEXT_TRACK = ID_ENTOS_OFFSET + 0x190,
177177
ID_TEXT_TRACK_CLOSED_CAPTIONS_STYLE = ID_TEXT_TRACK + 1,
178178
ID_TEXT_TRACK_CLOSED_CAPTIONS_STYLE_NOTIFICATION = ID_TEXT_TRACK + 2,
179+
ID_TEXT_TRACK_TTML_STYLE = ID_TEXT_TRACK + 3,
180+
ID_TEXT_TRACK_TTML_STYLE_NOTIFICATION = ID_TEXT_TRACK + 4,
179181

180182
ID_USB_DEVICE = ID_ENTOS_OFFSET + 0x1A0,
181183
ID_USB_PRODUCT_INFO_ITERATOR = ID_USB_DEVICE + 1,
@@ -271,7 +273,9 @@ namespace Exchange {
271273
ID_WAREHOUSE_NOTIFICATION = ID_WAREHOUSE + 1,
272274

273275
ID_HDCPPROFILE = ID_ENTOS_OFFSET + 0x390,
274-
ID_HDCPPROFILE_NOTIFICATION = ID_HDCPPROFILE + 1
276+
ID_HDCPPROFILE_NOTIFICATION = ID_HDCPPROFILE + 1,
277+
278+
ID_LEDCONTROL = ID_ENTOS_OFFSET + 0x3A0
275279
};
276280
}
277281
}

apis/LEDControl/ILEDControl.h

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
/*
2+
* If not stated otherwise in this file or this component's LICENSE file the
3+
* following copyright and licenses apply:
4+
*
5+
* Copyright 2025 RDK Management
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
19+
20+
#pragma once
21+
#include "Module.h"
22+
23+
// @stubgen:include <com/IIteratorType.h>
24+
25+
namespace WPEFramework
26+
{
27+
namespace Exchange
28+
{
29+
/* @json 1.0.0 @text:keep */
30+
struct EXTERNAL ILEDControl : virtual public Core::IUnknown
31+
{
32+
enum { ID = ID_LEDCONTROL };
33+
34+
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
35+
36+
struct EXTERNAL LEDControlState {
37+
string state;
38+
};
39+
40+
// @text getSupportedLEDStates
41+
// @brief Returns all the LED states supported by the platform
42+
// @param supportedLEDStates - out - string [] of supported LED states
43+
// @param success - out - boolean
44+
virtual Core::hresult GetSupportedLEDStates(IStringIterator*& supportedLEDStates /* @out */, bool& success /* @out */) = 0;
45+
46+
// @text getLEDState
47+
// @brief Returns current LED state.
48+
// @param LEDControlState - out
49+
virtual Core::hresult GetLEDState(LEDControlState& ledState /* @out */) = 0;
50+
51+
// @text setLEDState
52+
// @brief Change the device LED state to one mentioned in the input argument.
53+
// @param state - in - string
54+
// @param success - out - boolean
55+
virtual Core::hresult SetLEDState(const string& state, bool& success /* @out */) = 0;
56+
};
57+
} // namespace Exchange
58+
} // namespace WPEFramework

apis/NativeJS/INativeJS.h

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,37 @@ struct EXTERNAL INativeJS : virtual public Core::IUnknown {
3737
// @json:omit
3838
virtual Core::hresult Deinitialize() = 0;
3939

40-
/** Launches the NativeJS plugin */
41-
// @text launchApplication
42-
// @brief Launch a NativeJS application.
43-
// @param url The URL of the application to launch.
44-
// @param options Additional options for launching the application.
45-
virtual Core::hresult LaunchApplication(const std::string url, const std::string options) = 0;
40+
/** Creates the NativeJS plugin */
41+
// @text createApplication
42+
// @brief Create a NativeJS application.
43+
// @param options Additional options for creating the application.
44+
// @param id This should have the id of the created application
45+
virtual Core::hresult CreateApplication(const std::string options /* @in */, uint32_t& id /* @out */) = 0;
46+
47+
/** Run the created NativeJS plugin */
48+
// @text runApplication
49+
// @brief run a NativeJS application.
50+
// @param id The ID for the application to run.
51+
// @param url URL for the application to run.
52+
virtual Core::hresult RunApplication(uint32_t id /* @in */, const std::string url /* @in */) = 0;
53+
54+
/** Run the created NativeJS plugin */
55+
// @text runJavaScript
56+
// @brief run a NativeJS code.
57+
// @param id The ID for the code to run.
58+
// @param options Additional options for creating the application.
59+
virtual Core::hresult RunJavaScript(uint32_t id /* @in */, const std::string code /* @in */) = 0;
60+
61+
/** Get all the existing NativeJS plugin */
62+
// @text getApplications
63+
// @brief Get details of existing plugin.
64+
virtual Core::hresult GetApplications() = 0;
4665

4766
/** Stops the NativeJS plugin */
48-
// @text destroyApplication
67+
// @text terminateApplication
4968
// @brief Destroy a running NativeJS application.
50-
// @param url The URL of the application to destroy.
51-
virtual Core::hresult DestroyApplication(const std::string url) = 0;
69+
// @param id The ID of the application to destroy.
70+
virtual Core::hresult TerminateApplication(uint32_t id /* @in */) = 0;
5271
};
5372

5473
} // Exchange

apis/OCIContainer/IOCIContainer.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ struct EXTERNAL IOCIContainer : virtual public Core::IUnknown {
3131
enum { ID = ID_OCICONTAINER };
3232

3333
enum ContainerState : uint8_t {
34-
Invalid = 0,
35-
Starting = 1,
36-
Running = 2,
37-
Stopping = 3,
38-
Paused = 4,
39-
Stopped = 5,
40-
Hibernating = 6,
41-
Hibernated = 7,
42-
Awakening = 8
34+
INVALID = 0,
35+
STARTING = 1,
36+
RUNNING = 2,
37+
STOPPING = 3,
38+
PAUSED = 4,
39+
STOPPED = 5,
40+
HIBERNATING = 6,
41+
HIBERNATED = 7,
42+
AWAKENING = 8
4343
};
4444

4545
// @event

apis/PackageManager/IAppPackageManager.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ namespace Exchange {
176176
virtual Core::hresult Unregister(IPackageInstaller::INotification *sink) = 0;
177177

178178
struct EXTERNAL KeyValue {
179-
// @brief Key
180-
string key;
179+
// @brief Name
180+
string name;
181181
// @brief Value
182182
string value;
183183
};

0 commit comments

Comments
 (0)