Skip to content

Conversation

@ssitar583
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings November 21, 2025 12:13
@ssitar583 ssitar583 requested a review from a team as a code owner November 21, 2025 12:13
Copilot finished reviewing on behalf of ssitar583 November 21, 2025 12:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request attempts to rename the GetHDCPStatus method to getHDCPStatus in the IHdcpProfile interface header. However, this change violates the established naming conventions for RDK Entertainment Services APIs, which require interface methods to use PascalCase while the JSON-RPC mapping (defined via @text annotations) uses camelCase.

Key Changes

  • Attempted rename of GetHDCPStatus method to getHDCPStatus (incorrect - violates naming convention)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

// @param HDCPStatus: Contains HDCP-related data as separate properties
// @param success: Indicates whether the operation was successful
virtual Core::hresult GetHDCPStatus(HDCPStatus& hdcpStatus /* @out @text HDCPStatus*/,bool& success /* @out */) = 0;
virtual Core::hresult getHDCPStatus(HDCPStatus& hdcpStatus /* @out @text HDCPStatus*/,bool& success /* @out */) = 0;
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method name violates naming convention. Interface method names MUST use PascalCase, not camelCase. The method should be named GetHDCPStatus (with capital 'G'), not getHDCPStatus. The camelCase variant is only for the JSON-RPC mapping defined via the @text annotation.

Refer: https://github.com/rdkcentral/entservices-apis/blob/develop/.github/instructions/api_headers.instructions.md#L87-L100

Copilot generated this review using guidance from repository custom instructions.
@ssitar583 ssitar583 requested a review from Copilot November 21, 2025 12:23
Copilot finished reviewing on behalf of ssitar583 November 21, 2025 12:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ssitar583 ssitar583 requested a review from Copilot November 21, 2025 12:26
Copilot finished reviewing on behalf of ssitar583 November 21, 2025 12:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

RUNNING = 0 /* @text running */,
STOPPED = 1/* @text stopped */,
HIDDEN = 2 /* @text suspended */
HIDDEn = 2 /* @text suspended */
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Enum names MUST be in ALL_UPPER_SNAKE_CASE. The enum value name "HIDDEn" contains a lowercase 'n' which violates the naming convention. It should be "HIDDEN" (all uppercase).

Refer: https://github.com/rdkcentral/entservices-apis/blob/develop/.github/instructions/api_headers.instructions.md#L105

Copilot generated this review using guidance from repository custom instructions.
Copilot AI review requested due to automatic review settings November 21, 2025 12:39
Copilot finished reviewing on behalf of ssitar583 November 21, 2025 12:40
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

// @param strQuery: Query string to be appended in launch request
// @param strAddDataUrl: Additional data URL to be passed to the application
virtual void OnApplicationLaunchRequestWithParam(const string& appName /* @text applicationName */ , const string& strPayLoad /* @text strPayLoad */, const string& strQuery /* @text strQuery */, const string& strAddDataUrl /* @text strAddDataUrl */) {};
virtual void ONApplicationLaunchRequestWithParam(const string& appName /* @text applicationName */ , const string& strPayLoad /* @text strPayLoad */, const string& strQuery /* @text strQuery */, const string& strAddDataUrl /* @text strAddDataUrl */) {};
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Event method name ONApplicationLaunchRequestWithParam has incorrect capitalization. Event method names in interface headers should be in PascalCase according to the coding guidelines. This should be OnApplicationLaunchRequestWithParam (with lowercase 'n' after 'O').

Refer: https://github.com/rdkcentral/entservices-apis/blob/develop/.github/instructions/api_headers.instructions.md#api--event-naming-for-interface-and-json-rpc

Copilot generated this review using guidance from repository custom instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants