@@ -2800,7 +2800,7 @@ TEST_F(HdmiCecSink_L2Test, InjectInactiveSourceFramesAndVerifyEvents)
2800
2800
TEST_F (HdmiCecSink_L2Test, InjectInactiveSourceBroadcastIgnoreCase)
2801
2801
{
2802
2802
// Inject <Inactive Source>
2803
- uint8_t inactiveSource[] = { 0x40 , 0x9D , 0x10 , 0x00 };
2803
+ uint8_t inactiveSource[] = { 0x4F , 0x9D , 0x10 , 0x00 };
2804
2804
CECFrame inactiveSourceFrame (inactiveSource, sizeof (inactiveSource));
2805
2805
for (auto * listener : listeners) {
2806
2806
if (listener)
@@ -3802,6 +3802,18 @@ TEST_F(HdmiCecSink_L2Test_STANDBY, InjectWakeupFromStandbyFrameAndVerifyEvent)
3802
3802
jsonrpc.Unsubscribe (EVNT_TIMEOUT, _T (" onWakeupFromStandby" ));
3803
3803
}
3804
3804
3805
+ TEST_F (HdmiCecSink_L2Test, ActiveSourceFrameBroadcastIgnoreTest)
3806
+ {
3807
+ uint8_t buffer[] = { 0x40 , 0x82 , 0x10 , 0x00 }; // Active Source from device 4 to broadcast
3808
+ CECFrame frame (buffer, sizeof (buffer));
3809
+
3810
+ for (auto * listener : listeners) {
3811
+ if (listener) {
3812
+ listener->notify (frame);
3813
+ }
3814
+ }
3815
+ }
3816
+
3805
3817
// Power Mode Change to ON to verify onPowerModeChanged event
3806
3818
TEST_F (HdmiCecSink_L2Test_STANDBY, TriggerOnPowerModeChangeEvent_ON)
3807
3819
{
0 commit comments