Skip to content

Commit 4e9a514

Browse files
authored
Merge pull request #545 from rdkcentral/develop
bring latest changes
2 parents 8312fe5 + 7b3edec commit 4e9a514

File tree

5 files changed

+87
-24
lines changed

5 files changed

+87
-24
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,51 @@ 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.16.3](https://github.com/rdkcentral/entservices-apis/compare/1.16.2...1.16.3)
8+
9+
- RDKEMW-7499: onAppInstallationStatus Event missing failReason [`#508`](https://github.com/rdkcentral/entservices-apis/pull/508)
10+
- Merge tag '1.16.2' into develop [`b1e394c`](https://github.com/rdkcentral/entservices-apis/commit/b1e394c558d02490cfab7ce24c2848bd4d0b8e55)
11+
12+
#### [1.16.2](https://github.com/rdkcentral/entservices-apis/compare/1.16.1...1.16.2)
13+
14+
> 19 September 2025
15+
16+
- RDKEMW-7966 : The event "shortAudiodescriptorEvent" on the API docs is wrongly spelled [`#501`](https://github.com/rdkcentral/entservices-apis/pull/501)
17+
- 1.16.2 release changelog updates [`6ec87bc`](https://github.com/rdkcentral/entservices-apis/commit/6ec87bca4eb6d571e18701a5b81b493858a9dd30)
18+
- Merge tag '1.16.1' into develop [`65fb823`](https://github.com/rdkcentral/entservices-apis/commit/65fb823de9decd4bf362c1795ccd147e4f273af3)
19+
20+
#### [1.16.1](https://github.com/rdkcentral/entservices-apis/compare/1.16.0...1.16.1)
21+
22+
> 19 September 2025
23+
24+
- RDKEMW-5405 [`#477`](https://github.com/rdkcentral/entservices-apis/pull/477)
25+
- RDKEMW-5405: [AI2.0][PacMan] fileLocator in onAppDownloadStatus Event Contain Extra Escape Characters [`c517137`](https://github.com/rdkcentral/entservices-apis/commit/c5171371e01b0e941c6b5f542e8f72e04e358550)
26+
- 1.16.1 release changelog updates [`e97200e`](https://github.com/rdkcentral/entservices-apis/commit/e97200e1d23ce42a4a73f81651104df3450ca2f4)
27+
- Merge tag '1.16.0' into develop [`182b857`](https://github.com/rdkcentral/entservices-apis/commit/182b857187428a4a52ee8e460fd9068e81f97c7f)
28+
29+
#### [1.16.0](https://github.com/rdkcentral/entservices-apis/compare/1.15.12...1.16.0)
30+
31+
> 18 September 2025
32+
33+
- RDKEMW-7761 Move Telemetry related APIs to the Telemetry plugin [`#511`](https://github.com/rdkcentral/entservices-apis/pull/511)
34+
- RDKEMW-7761: Move Telemetry related APIs to the Telemetry plugin [`04cb4ea`](https://github.com/rdkcentral/entservices-apis/commit/04cb4eac1b3c85140304e3c062f9357d9274c957)
35+
- 1.16.0 release changelog updates [`3dbaf04`](https://github.com/rdkcentral/entservices-apis/commit/3dbaf04a2c4f504358bf62be40604887ec68b11f)
36+
- RDKEMW-7761: Move Telemetry related APIs to the Telemetry plugin [`4c0d4ae`](https://github.com/rdkcentral/entservices-apis/commit/4c0d4aec8175d735df3808cc0c77e0a7a6c2991e)
37+
38+
#### [1.15.12](https://github.com/rdkcentral/entservices-apis/compare/1.15.11...1.15.12)
39+
40+
> 17 September 2025
41+
42+
- Update _sidebar.md with SystemMode plugin md file [`#524`](https://github.com/rdkcentral/entservices-apis/pull/524)
43+
- 1.15.12 release changelog updates [`cfe7714`](https://github.com/rdkcentral/entservices-apis/commit/cfe7714660b8514bfe16608de0b4eb11d3100d0d)
44+
- Merge tag '1.15.11' into develop [`6037584`](https://github.com/rdkcentral/entservices-apis/commit/603758482529d9a0e5ff0c948aacbfd5018da121)
45+
746
#### [1.15.11](https://github.com/rdkcentral/entservices-apis/compare/1.15.10...1.15.11)
847

48+
> 15 September 2025
49+
950
- Feature/rdkemw 1013 comrpc [`#275`](https://github.com/rdkcentral/entservices-apis/pull/275)
51+
- 1.15.11 release changelog updates [`1ec344a`](https://github.com/rdkcentral/entservices-apis/commit/1ec344a047e2260a12e1a74777244c4ccc73eb5f)
1052
- Update CODEOWNERS [`c99da5e`](https://github.com/rdkcentral/entservices-apis/commit/c99da5efc73a038b5749bf004ea54120a1b4b37d)
1153
- Merge tag '1.15.10' into develop [`696cc24`](https://github.com/rdkcentral/entservices-apis/commit/696cc2474e013f70a0d94dbede0636c8e9d24700)
1254

apis/PackageManager/IAppPackageManager.h

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,31 +48,31 @@ namespace Exchange {
4848
DISK_PERSISTENCE_FAILURE
4949
};
5050

51-
//struct PackageInfo {
52-
// string downloadId;
53-
// string fileLocator;
54-
// Reason reason;
55-
//};
51+
struct PackageInfo {
52+
string downloadId; /*@brief Download ID*/
53+
string fileLocator; /*@brief File Locator*/
54+
Reason reason; /*@brief Reason for the download status*/
55+
};
5656

5757
//typedef std::vector<PackageInfo> PackageInfoList;
58-
//using IPackageIterator = RPC::IIteratorType<PackageInfo, ID_PACKAGE_INFO_ITERATOR>;
58+
using IPackageInfoIterator = RPC::IIteratorType<PackageInfo, ID_PACKAGE_INFO_ITERATOR>;
5959

60-
/* @event */
6160
struct EXTERNAL INotification : virtual public Core::IUnknown {
6261
enum { ID = ID_PACKAGE_DOWNLOADER_NOTIFICATION };
6362
~INotification() override = default;
6463

6564
// @brief Signal changes on the status
6665
// @text onAppDownloadStatus
67-
virtual void OnAppDownloadStatus(const string& jsonresponse) {
68-
// Thunder does not support neither standard collection nor RPC::IIteratorType in notification
66+
virtual void OnAppDownloadStatus(IPackageInfoIterator* const packageInfo) {
6967
}
7068
};
7169

7270
~IPackageDownloader() override = default;
7371

7472
// Register for any changes
73+
// @json:omit
7574
virtual Core::hresult Register(IPackageDownloader::INotification *sink) = 0;
75+
// @json:omit
7676
virtual Core::hresult Unregister(IPackageDownloader::INotification *sink) = 0;
7777

7878
// @json:omit
@@ -124,22 +124,22 @@ namespace Exchange {
124124
// @param fileLocator: FileLocator
125125
virtual Core::hresult Delete(const string &fileLocator) = 0;
126126

127-
struct Percent {
128-
uint8_t percent;
127+
struct ProgressInfo {
128+
uint8_t progress;
129129
};
130130

131-
// @brief Delete
131+
// @brief Progress
132132
// @text progress
133133
// @param downloadId: Download id
134134
virtual Core::hresult Progress(
135135
const string &downloadId,
136-
Percent &percent /* @out */) = 0;
136+
ProgressInfo &progress /* @out */) = 0;
137137

138138
// @brief GetStorageDetails
139139
// @text getStorageDetails
140140
virtual Core::hresult GetStorageDetails(
141-
uint32_t &quotaKb /* @out */,
142-
uint32_t &usedKb /* @out */) = 0;
141+
string &quotaKb /* @out */,
142+
string &usedKb /* @out */) = 0;
143143

144144
// @brief RateLimit
145145
// @text rateLimit

apis/Telemetry/ITelemetry.h

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ namespace WPEFramework
3131
{
3232
enum { ID = ID_TELEMETRY };
3333

34+
struct EXTERNAL TelemetrySuccess {
35+
bool success;
36+
};
37+
3438
// @event
3539
struct EXTERNAL INotification : virtual public Core::IUnknown
3640
{
@@ -42,22 +46,22 @@ namespace WPEFramework
4246
virtual void OnReportUpload(const string& telemetryUploadStatus) {};
4347
};
4448

45-
virtual Core::hresult Register(ITelemetry::INotification* notification /* @in */) = 0;
46-
virtual Core::hresult Unregister(ITelemetry::INotification* notification /* @in */) = 0;
49+
virtual Core::hresult Register(ITelemetry::INotification* notification) = 0;
50+
virtual Core::hresult Unregister(ITelemetry::INotification* notification) = 0;
4751

4852
/**********************setReportProfileStatus() - start****************************/
4953
// @text setReportProfileStatus
5054
// @brief Sets the status of telemetry reporting
5155
// @param status - in - string
52-
virtual Core::hresult SetReportProfileStatus(const string& status /* @in */) = 0;
56+
virtual Core::hresult SetReportProfileStatus(const string& status) = 0;
5357
/**********************setReportProfileStatus() - end******************************/
5458

5559
/**********************logApplicationEvent() - start*******************************/
5660
// @text logApplicationEvent
5761
// @brief Logs an application
5862
// @param eventName - in - string
5963
// @param eventValue - in - string
60-
virtual Core::hresult LogApplicationEvent(const string& eventName /* @in */, const string& eventValue /* @in */) = 0;
64+
virtual Core::hresult LogApplicationEvent(const string& eventName , const string& eventValue) = 0;
6165
/**********************logApplicationEvent() - end*********************************/
6266

6367
/**********************uploadReport() - start**************************************/
@@ -71,6 +75,22 @@ namespace WPEFramework
7175
// @brief Abort report upload
7276
virtual Core::hresult AbortReport() = 0;
7377
/**********************abortReport() - end*****************************************/
78+
79+
/**********************setOptOutTelemetry() - start***************************************/
80+
// @text setOptOutTelemetry
81+
// @brief Sets the telemetry opt-out status.
82+
// @param OptOut - in - boolean
83+
// @param - out - struct
84+
virtual Core::hresult SetOptOutTelemetry(const bool optOut /* @text Opt-Out */, TelemetrySuccess& successResult /* @out */) = 0;
85+
/**********************setOptOutTelemetry() - end*****************************************/
86+
87+
/**********************isOptOutTelemetry() - start***************************************/
88+
// @text isOptOutTelemetry
89+
// @brief Checks the telemetry opt-out status.
90+
// @param OptOut - out - boolean
91+
// @param success - out - boolean
92+
virtual Core::hresult IsOptOutTelemetry(bool& optOut /* @out @text Opt-Out*/, bool& success /* @out */) = 0;
93+
/**********************isOptOutTelemetry() - end*****************************************/
7494
};
7595
} // namespace Exchange
7696
} // namespace WPEFramework

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
- [ScreenCapture](apis/ScreenCapturePlugin.md)
3939
- [SharedStorage](apis/SharedStoragePlugin.md)
4040
- [SystemAudioPlayer](apis/SystemAudioPlayerPlugin.md)
41+
- [SystemMode](apis/SystemModePlugin.md)
4142
- [SystemServices](apis/SystemPlugin.md)
4243
- [Telemetry](apis/TelemetryPlugin.md)
4344
- [TextToSpeech](apis/TextToSpeechPlugin.md)

docs/apis/HdmiCecSinkPlugin.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ Sends the CEC Request Short Audio Descriptor (SAD) message as an
600600

601601
| Event | Description |
602602
| :-------- | :-------- |
603-
| [shortAudiodesciptorEvent](#shortAudiodesciptorEvent) | Triggered when SAD is received from the connected audio device. |
603+
| [shortAudiodescriptorEvent](#shortAudiodescriptorEvent) | Triggered when SAD is received from the connected audio device. |
604604
### Parameters
605605

606606
This method takes no parameters.
@@ -1406,7 +1406,7 @@ HdmiCecSink interface events:
14061406
| [reportFeatureAbortEvent](#reportFeatureAbortEvent) | Triggered when CEC \<Feature Abort\> message of device is received |
14071407
| [reportCecEnabledEvent](#reportCecEnabledEvent) | Triggered when the HDMI-CEC is enabled |
14081408
| [setSystemAudioModeEvent](#setSystemAudioModeEvent) | Triggered when CEC \<Set System Audio Mode\> message of device is received |
1409-
| [shortAudiodesciptorEvent](#shortAudiodesciptorEvent) | Triggered when SAD is received from the connected audio device |
1409+
| [shortAudiodescriptorEvent](#shortAudiodescriptorEvent) | Triggered when SAD is received from the connected audio device |
14101410
| [standbyMessageReceived](#standbyMessageReceived) | Triggered when the source device changes status to `STANDBY` |
14111411

14121412

@@ -1806,8 +1806,8 @@ Triggered when CEC \<Set System Audio Mode\> message of device is received.
18061806
}
18071807
```
18081808

1809-
<a name="shortAudiodesciptorEvent"></a>
1810-
## *shortAudiodesciptorEvent*
1809+
<a name="shortAudiodescriptorEvent"></a>
1810+
## *shortAudiodescriptorEvent*
18111811

18121812
Triggered when SAD is received from the connected audio device. See `requestShortAudioDescriptor`.
18131813

@@ -1824,7 +1824,7 @@ Triggered when SAD is received from the connected audio device. See `requestShor
18241824
```json
18251825
{
18261826
"jsonrpc": "2.0",
1827-
"method": "client.events.shortAudiodesciptorEvent",
1827+
"method": "client.events.shortAudiodescriptorEvent",
18281828
"params": {
18291829
"ShortAudioDescriptor": [
18301830
[

0 commit comments

Comments
 (0)