Skip to content

RDKEMW-16730 : Evaluation on finding invalid markers in entservices repos#245

Merged
apatel859 merged 10 commits into
developfrom
feature/RDKEMW-16730
Jun 2, 2026
Merged

RDKEMW-16730 : Evaluation on finding invalid markers in entservices repos#245
apatel859 merged 10 commits into
developfrom
feature/RDKEMW-16730

Conversation

@srinibas15
Copy link
Copy Markdown
Contributor

Reason For Change: Replacing with the required events for Invalid markers
Test procedure : Compile and Verify
version: patch
Priority: P2

Copilot AI review requested due to automatic review settings May 4, 2026 11:09
@srinibas15 srinibas15 requested a review from a team as a code owner May 4, 2026 11:09
Copy link
Copy Markdown
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 PR updates a small set of telemetry marker names in the device settings RPC services so the emitted events use the required *_split identifiers instead of the previous invalid markers.

Changes:

  • Renamed the persistent HDMI 4K resolution telemetry event in dsVideoPort.
  • Renamed the HDMI Rx Sense OFF telemetry event in dsDisplay.
  • Renamed two passthrough-related audio telemetry events in dsAudio.

Reviewed changes

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

File Description
rpc/srv/dsVideoPort.c Updates the HDMI resolution telemetry marker emitted during video port manager initialization.
rpc/srv/dsDisplay.c Updates the telemetry marker sent when Rx Sense changes to OFF.
rpc/srv/dsAudio.c Updates telemetry markers for ARC passthrough initialization and persisted passthrough mode changes.

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

Copilot AI review requested due to automatic review settings May 8, 2026 11:41
Copy link
Copy Markdown
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 3 comments.

Comment thread rpc/srv/dsVideoPort.c
Comment thread rpc/srv/dsAudio.c
Comment thread rpc/srv/dsAudio.c Outdated
Comment on lines +2752 to +2755
char telemetryValue[128] = {0};
snprintf(telemetryValue, sizeof(telemetryValue), "The HDMI Audio Mode Setting From Persistent is %d", param->toPersist);
TELEMETRY_EVENT_STRING("SYS_INFO_Userpassthruenable", telemetryValue);
// TELEMETRY_EVENT_STRING("SYS_INFO_Userpassthruenable_split", telemetryValue);
TELEMETRY_EVENT_INT("SYS_INFO_Userpassthruenable", 1);
Copilot AI review requested due to automatic review settings May 14, 2026 05:51
Copy link
Copy Markdown
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.

Comments suppressed due to low confidence (1)

rpc/srv/dsAudio.c:2755

  • This block still allocates and formats telemetryValue but no longer uses it after switching to TELEMETRY_EVENT_INT, and it also leaves a commented-out TELEMETRY_EVENT_STRING call. Please remove the unused formatting and the commented-out code (or re-enable it if still required) to avoid dead code and confusion about which marker should be emitted.
                    char telemetryValue[128] = {0};
                    snprintf(telemetryValue, sizeof(telemetryValue), "The HDMI Audio Mode Setting From Persistent is %d", param->toPersist);
                    // TELEMETRY_EVENT_STRING("SYS_INFO_Userpassthruenable_split", telemetryValue);
                    TELEMETRY_EVENT_INT("SYS_INFO_Userpassthruenable", 1);

Comment thread rpc/srv/dsAudio.c
Copilot AI review requested due to automatic review settings May 20, 2026 03:51
Copy link
Copy Markdown
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 2 comments.

Comments suppressed due to low confidence (1)

rpc/srv/dsAudio.c:2755

  • This block now has dead code and leftover commented-out telemetry: telemetryValue is formatted but not used, and the commented TELEMETRY_EVENT_STRING(...) should be removed to avoid confusion. Either remove the formatting/commented line or rework telemetry to use the intended marker/value type.
                if(param->toPersist){
                    char telemetryValue[128] = {0};
                    snprintf(telemetryValue, sizeof(telemetryValue), "The HDMI Audio Mode Setting From Persistent is %d", param->toPersist);
                    // TELEMETRY_EVENT_STRING("SYS_INFO_Userpassthruenable_split", telemetryValue);
                    TELEMETRY_EVENT_INT("SYS_INFO_Userpassthruenable", 1);

Comment thread rpc/srv/dsVideoPort.c
Comment thread rpc/srv/dsAudio.c
Copilot AI review requested due to automatic review settings May 25, 2026 09:45
Copy link
Copy Markdown
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.

Comment thread rpc/srv/dsAudio.c
Copilot AI review requested due to automatic review settings May 29, 2026 06:56
Copy link
Copy Markdown
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.

Comment thread rpc/srv/dsAudio.c
Copilot AI review requested due to automatic review settings May 29, 2026 13:25
Copy link
Copy Markdown
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.

Comment thread rpc/srv/dsAudio.c
@apatel859 apatel859 merged commit 0b04f37 into develop Jun 2, 2026
9 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants