Home
last modified time | relevance | path

Searched refs:CecOperand (Results 1 – 25 of 46) sorted by relevance

12

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecGeneralProtocolTest.java23 import android.hdmicec.cts.CecOperand;
60 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.GIVE_TUNER_DEVICE_STATUS, ":01"); in cect_4_2_2_ignoreMessagesFromAddressF()
61 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.RECORD_ON); in cect_4_2_2_ignoreMessagesFromAddressF()
62 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.RECORD_OFF); in cect_4_2_2_ignoreMessagesFromAddressF()
63 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.RECORD_TV_SCREEN); in cect_4_2_2_ignoreMessagesFromAddressF()
64 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.GIVE_DECK_STATUS, ":01"); in cect_4_2_2_ignoreMessagesFromAddressF()
66 CecOperand.CLEAR_ANALOG_TIMER, ":02:02:02:02:02:02:00:00:00:02:00"); in cect_4_2_2_ignoreMessagesFromAddressF()
68 CecOperand.SET_ANALOG_TIMER, ":02:02:02:02:02:02:00:00:00:02:00"); in cect_4_2_2_ignoreMessagesFromAddressF()
69 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.PLAY, ":05"); in cect_4_2_2_ignoreMessagesFromAddressF()
70 sendMessageAndVerifyNoMessageSentFromDevice(CecOperand.DECK_CONTROL, ":01"); in cect_4_2_2_ignoreMessagesFromAddressF()
[all …]
DHdmiCecStartupTest.java22 import android.hdmicec.cts.CecOperand;
63 List<CecOperand> expectedMessages = Collections.singletonList( in cectVerifyStartupMessages_Cec14b()
64 CecOperand.REPORT_PHYSICAL_ADDRESS); in cectVerifyStartupMessages_Cec14b()
65 List<CecOperand> allowedMessages = new ArrayList<>( in cectVerifyStartupMessages_Cec14b()
66 Arrays.asList(CecOperand.VENDOR_COMMAND, CecOperand.GIVE_DEVICE_VENDOR_ID, in cectVerifyStartupMessages_Cec14b()
67 CecOperand.VENDOR_COMMAND_WITH_ID, in cectVerifyStartupMessages_Cec14b()
68 CecOperand.SET_OSD_NAME, CecOperand.GIVE_OSD_NAME, CecOperand.CEC_VERSION, in cectVerifyStartupMessages_Cec14b()
69 CecOperand.DEVICE_VENDOR_ID, CecOperand.GIVE_POWER_STATUS, in cectVerifyStartupMessages_Cec14b()
70 CecOperand.GET_MENU_LANGUAGE, CecOperand.ACTIVE_SOURCE, in cectVerifyStartupMessages_Cec14b()
71 CecOperand.REQUEST_ACTIVE_SOURCE, CecOperand.GIVE_PHYSICAL_ADDRESS, in cectVerifyStartupMessages_Cec14b()
[all …]
DHdmiCecSystemInformationTest.java25 import android.hdmicec.cts.CecOperand;
74 hdmiCecClient.sendCecMessage(testDevice, CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_11_2_6_2_GivePhysicalAddress()
75 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_11_2_6_2_GivePhysicalAddress()
105 hdmiCecClient.sendCecMessage(testDevice, CecOperand.GIVE_FEATURES); in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
106 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_FEATURES); in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
145 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.GET_CEC_VERSION); in cect_11_2_6_6_GiveCecVersion()
148 hdmiCecClient.getSelfDevice(), CecOperand.CEC_VERSION); in cect_11_2_6_6_GiveCecVersion()
165 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.GET_CEC_VERSION); in cect_hf4_2_12_GiveCecVersion()
167 CecOperand.CEC_VERSION); in cect_hf4_2_12_GiveCecVersion()
172 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.GIVE_FEATURES); in cect_hf4_2_12_GiveCecVersion()
[all …]
DHdmiCecInvalidMessagesTest.java25 import android.hdmicec.cts.CecOperand;
94 CecOperand.REPORT_PHYSICAL_ADDRESS, in reportPhysicalAddress()
115 CecOperand.SET_MENU_LANGUAGE, in cect_12_1_BroadcastReceivedAsDirectlyAddressed()
132 hdmiCecClient.sendCecMessage(source, LogicalAddress.BROADCAST, CecOperand.GET_CEC_VERSION); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_getCecVersion()
133 hdmiCecClient.checkOutputDoesNotContainMessage(source, CecOperand.CEC_VERSION); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_getCecVersion()
146 source, LogicalAddress.BROADCAST, CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress()
148 LogicalAddress.BROADCAST, CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress()
160 source, LogicalAddress.BROADCAST, CecOperand.GIVE_POWER_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePowerStatus()
161 hdmiCecClient.checkOutputDoesNotContainMessage(source, CecOperand.REPORT_POWER_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePowerStatus()
174 source, LogicalAddress.BROADCAST, CecOperand.GIVE_DEVICE_VENDOR_ID); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveDeviceVendorId()
[all …]
DHdmiCecSystemAudioControlTest.java26 import android.hdmicec.cts.CecOperand;
95 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
100 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_PRESSED); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
103 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_RELEASED); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
109 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_PRESSED); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
113 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_RELEASED); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
136 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_MuteUserControlPressedWhenSystemAudioControlOn()
141 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_PRESSED); in cect_MuteUserControlPressedWhenSystemAudioControlOn()
144 hdmiCecClient.getSelfDevice(), CecOperand.USER_CONTROL_RELEASED); in cect_MuteUserControlPressedWhenSystemAudioControlOn()
160 hdmiCecClient.getSelfDevice(), CecOperand.GIVE_SYSTEM_AUDIO_MODE_STATUS); in cect_GiveSystemAudioModeStatus()
DHdmiCecPowerStatusTest.java23 import android.hdmicec.cts.CecOperand;
79 CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_20_broadcastsWhenTurningOn()
84 CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_20_broadcastsWhenTurningOn()
111 LogicalAddress.BROADCAST, CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_21_broadcastsWhenGoingToStandby()
117 LogicalAddress.BROADCAST, CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_21_broadcastsWhenGoingToStandby()
147 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_22_interruptedPowerOn()
155 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_22_interruptedPowerOn()
162 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_22_interruptedPowerOn()
167 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_POWER_STATUS); in cect_hf4_6_22_interruptedPowerOn()
176 LogicalAddress.BROADCAST, CecOperand.REPORT_POWER_STATUS, 5000); in cect_hf4_6_22_interruptedPowerOn()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecSystemAudioModeTest.java25 import android.hdmicec.cts.CecOperand;
67 CecOperand.SYSTEM_AUDIO_MODE_REQUEST); in sendSystemAudioModeTermination()
72 CecOperand.SYSTEM_AUDIO_MODE_REQUEST, in sendSystemAudioModeInitiation()
80 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, CecOperand.GIVE_AUDIO_STATUS); in getDutAudioStatus()
82 CecOperand.REPORT_AUDIO_STATUS); in getDutAudioStatus()
89 CecOperand.SYSTEM_AUDIO_MODE_REQUEST, in initateSystemAudioModeFromTuner()
96 hdmiCecClient.checkExpectedOutput(CecOperand.REQUEST_ACTIVE_SOURCE); in handleSetSystemAudioModeOnToTv()
97 …hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE, in handleSetSystemAudioModeOnToTv()
100 CecOperand.SET_SYSTEM_AUDIO_MODE); in handleSetSystemAudioModeOnToTv()
106 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in initiateSystemAudioModeFromDut()
[all …]
DHdmiCecInvalidMessagesTest.java22 import android.hdmicec.cts.CecOperand;
73 CecOperand.REQUEST_ARC_INITIATION); in checkArcIsInitiated()
74 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated()
92 CecOperand.GIVE_AUDIO_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus()
95 CecOperand.REPORT_AUDIO_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus()
109 CecOperand.GIVE_SYSTEM_AUDIO_MODE_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus()
112 CecOperand.SYSTEM_AUDIO_MODE_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus()
126 CecOperand.REQUEST_SHORT_AUDIO_DESCRIPTOR, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_requestShortAudioDescriptor()
130 CecOperand.REPORT_SHORT_AUDIO_DESCRIPTOR); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_requestShortAudioDescriptor()
144 CecOperand.SYSTEM_AUDIO_MODE_REQUEST); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_systemAudioModeRequest()
[all …]
DHdmiCecAudioReturnChannelControlTest.java22 import android.hdmicec.cts.CecOperand;
60 CecOperand.REQUEST_ARC_INITIATION); in checkArcIsInitiated()
61 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated()
77 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_1_InitiateArc()
82 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_1_InitiateArc()
94 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_2_TerminateArc()
99 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_2_17_2_TerminateArc()
113 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_3_RequestToInitiateArc()
117 CecOperand.REQUEST_ARC_INITIATION); in cect_11_2_17_3_RequestToInitiateArc()
118 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_3_RequestToInitiateArc()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecAvbToAudioSystemTest.java25 import android.hdmicec.cts.CecOperand;
80 CecOperand.SET_AUDIO_VOLUME_LEVEL); in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange()
82 CecOperand.FEATURE_ABORT); in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange()
86 CecOperand.GIVE_AUDIO_STATUS); in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange()
90 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.REPORT_AUDIO_STATUS, in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange()
117 CecOperand.SET_AUDIO_VOLUME_LEVEL); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange()
119 CecOperand.FEATURE_ABORT); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange()
123 CecOperand.GIVE_AUDIO_STATUS); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange()
127 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.REPORT_AUDIO_STATUS, in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange()
153 CecOperand.SET_AUDIO_VOLUME_LEVEL); in adjustOnlyAvb_testOutgoingVolumeUpdates()
[all …]
DHdmiCecRoutingControlTest.java23 import android.hdmicec.cts.CecOperand;
67 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in checkForInitialActiveSourceMessage()
104 String message = hdmiCecClient.checkExpectedOutput(CecOperand.SET_STREAM_PATH); in cect_11_1_2_1_DutSendsSetStreamPathMessage()
120 hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
126 CecOperand.REQUEST_ACTIVE_SOURCE); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
128 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
144 CecOperand.REQUEST_ACTIVE_SOURCE); in cect_11_1_2_3_DutDoesRespondToRequestActiveSourceMessage()
145 hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_1_2_3_DutDoesRespondToRequestActiveSourceMessage()
158 CecOperand.INACTIVE_SOURCE, in cect_11_1_2_4_DutAcceptsInactiveSourceMessage()
162 CecOperand.FEATURE_ABORT, in cect_11_1_2_4_DutAcceptsInactiveSourceMessage()
[all …]
DHdmiCecTvOneTouchPlayTest.java23 import android.hdmicec.cts.CecOperand;
76 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.IMAGE_VIEW_ON); in cect_11_1_1_1_RespondToImageViewOn()
79 hdmiCecClient.checkOutputDoesNotContainMessage(testDevice, CecOperand.FEATURE_ABORT); in cect_11_1_1_1_RespondToImageViewOn()
96 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_1_1_2_RespondToTextViewOn()
99 hdmiCecClient.checkOutputDoesNotContainMessage(testDevice, CecOperand.FEATURE_ABORT); in cect_11_1_1_2_RespondToTextViewOn()
123 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in cect_11_1_1_5_DutBroadcastsActiveSourceWhenChangingToInternal()
136 hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_1_5_DutBroadcastsActiveSourceWhenChangingToInternal()
153 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.IMAGE_VIEW_ON); in cect_11_1_1_3_ImageViewOnWhenInStandby()
174 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_1_1_4_TextViewOnWhenInStandby()
193 hdmiCecClient.sendCecMessage(cecClientDevice, CecOperand.GIVE_POWER_STATUS); in assertDevicePowerStatus()
[all …]
DHdmiCecAudioReturnChannelControlTest.java23 import android.hdmicec.cts.CecOperand;
87 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_1_17_2_ReportArcInitiated()
90 LogicalAddress.AUDIO_SYSTEM, LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_1_17_2_ReportArcInitiated()
91 hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.ARC_INITIATED); in cect_11_1_17_2_ReportArcInitiated()
122 LogicalAddress.AUDIO_SYSTEM, LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_1_17_2_4_ReportArcInitiatedTerminated()
123 hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.ARC_TERMINATED); in cect_11_1_17_2_4_ReportArcInitiatedTerminated()
146 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_1_17_5_NonAdjacentDeviceArcInitiation()
149 LogicalAddress.AUDIO_SYSTEM, LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_1_17_5_NonAdjacentDeviceArcInitiation()
151 LogicalAddress.AUDIO_SYSTEM, CecOperand.ARC_INITIATED); in cect_11_1_17_5_NonAdjacentDeviceArcInitiation()
213 CecOperand.REPORT_PHYSICAL_ADDRESS, in shortAudioDescriptorsRequested()
[all …]
DHdmiCecAbsoluteVolumeControlFollowerTest.java25 import android.hdmicec.cts.CecOperand;
66 CecOperand.SET_AUDIO_VOLUME_LEVEL, in testSystemAudioModeOn_respondsFeatureAbort()
72 LogicalAddress.PLAYBACK_1, CecOperand.FEATURE_ABORT); in testSystemAudioModeOn_respondsFeatureAbort()
73 assertThat(CecOperand.getOperand(CecMessage.getParams(featureAbort, 0, 2))) in testSystemAudioModeOn_respondsFeatureAbort()
74 .isEqualTo(CecOperand.SET_AUDIO_VOLUME_LEVEL); in testSystemAudioModeOn_respondsFeatureAbort()
90 LogicalAddress.TV, CecOperand.SYSTEM_AUDIO_MODE_STATUS); in testSystemAudioModeOff_updatesVolume()
100 CecOperand.SET_AUDIO_VOLUME_LEVEL, in testSystemAudioModeOff_updatesVolume()
105 CecOperand.FEATURE_ABORT); in testSystemAudioModeOff_updatesVolume()
DHdmiCecSystemAudioControlTest.java24 import android.hdmicec.cts.CecOperand;
69 hdmiCecClient.sendCecMessage(LogicalAddress.RECORDER_1, CecOperand.IMAGE_VIEW_ON); in cect_11_1_15_1_DutSendsSystemAudioModeRequest()
117 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
122 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
145 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
150 CecOperand.SET_SYSTEM_AUDIO_MODE, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
162 LogicalAddress.AUDIO_SYSTEM, CecOperand.SYSTEM_AUDIO_MODE_REQUEST); in setSystemAudioMode()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecAvbToTvTest.java27 import android.hdmicec.cts.CecOperand;
83 CecOperand.GIVE_FEATURES); in testEnableDisableAvb_cec20_triggeredByReportFeatures()
85 CecOperand.SET_AUDIO_VOLUME_LEVEL); in testEnableDisableAvb_cec20_triggeredByReportFeatures()
92 CecOperand.GIVE_AUDIO_STATUS); in testEnableDisableAvb_cec20_triggeredByReportFeatures()
96 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.REPORT_AUDIO_STATUS, in testEnableDisableAvb_cec20_triggeredByReportFeatures()
122 CecOperand.SET_AUDIO_VOLUME_LEVEL); in testEnableDisableAvb_triggeredByAvbSupportChanged()
126 CecOperand.GIVE_AUDIO_STATUS); in testEnableDisableAvb_triggeredByAvbSupportChanged()
130 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.REPORT_AUDIO_STATUS, in testEnableDisableAvb_triggeredByAvbSupportChanged()
136 hdmiCecClient.sendCecMessage(hdmiCecClient.getSelfDevice(), CecOperand.FEATURE_ABORT, in testEnableDisableAvb_triggeredByAvbSupportChanged()
137 CecMessage.formatParams(CecOperand.SET_AUDIO_VOLUME_LEVEL + "00")); in testEnableDisableAvb_triggeredByAvbSupportChanged()
[all …]
DHdmiCecPowerStatusTest.java21 import android.hdmicec.cts.CecOperand;
52 CecOperand.USER_CONTROL_PRESSED, HdmiCecConstants.CEC_KEYCODE_POWER),
54 CecOperand.USER_CONTROL_PRESSED,
57 CecOperand.USER_CONTROL_PRESSED,
60 CecOperand.USER_CONTROL_PRESSED,
63 private static final List<CecOperand> VIEW_ON_MSGS =
64 new ArrayList<>(Arrays.asList(CecOperand.TEXT_VIEW_ON, CecOperand.IMAGE_VIEW_ON));
93 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(OFF)); in cect_hf4_6_1_otp_viewOnBeforeUcp_20()
99 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_hf4_6_1_otp_viewOnBeforeUcp_20()
119 CecOperand.SET_STREAM_PATH, in cect_hf4_6_7_setStreamPath_powerOn()
[all …]
DHdmiCecWakeupTest.java20 import android.hdmicec.cts.CecOperand;
59 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cectOtpOnWakeupWhenPowerControlModeToTv()
60 hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cectOtpOnWakeupWhenPowerControlModeToTv()
77 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cectOtpOnWakeupWhenPowerControlModeToTvAndAudioSystem()
78 hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cectOtpOnWakeupWhenPowerControlModeToTvAndAudioSystem()
94 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cectOtpOnWakeupWhenPowerControlModeToBroadcast()
95 hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cectOtpOnWakeupWhenPowerControlModeToBroadcast()
112 CecOperand.TEXT_VIEW_ON); in cectNoOtpOnWakeupWhenPowerControlModeNone()
114 CecOperand.ACTIVE_SOURCE); in cectNoOtpOnWakeupWhenPowerControlModeNone()
DHdmiCecDeviceOsdNameTest.java23 import android.hdmicec.cts.CecOperand;
74 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_1a_GiveOsdNameTest()
75 … String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.SET_OSD_NAME); in cect_11_2_11_1a_GiveOsdNameTest()
89 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cectGiveOsdNameTestInStandby()
93 CecOperand.SET_OSD_NAME, in cectGiveOsdNameTestInStandby()
94 CecOperand.GIVE_OSD_NAME, in cectGiveOsdNameTestInStandby()
96 if (CecMessage.getOperand(message) != CecOperand.FEATURE_ABORT) { in cectGiveOsdNameTestInStandby()
116 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest()
118 CecOperand.SET_OSD_NAME); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest()
131 hdmiCecClient.sendCecMessage(LogicalAddress.BROADCAST, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest()
[all …]
DHdmiCecSystemInformationTest.java25 import android.hdmicec.cts.CecOperand;
60 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GET_MENU_LANGUAGE); in cect_11_2_6_7_GetMenuLanguage()
61 … String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.FEATURE_ABORT); in cect_11_2_6_7_GetMenuLanguage()
63 CecOperand.GET_MENU_LANGUAGE.toString().length()); in cect_11_2_6_7_GetMenuLanguage()
64 assertThat(CecOperand.getOperand(abortedOpcode)).isEqualTo(CecOperand.GET_MENU_LANGUAGE); in cect_11_2_6_7_GetMenuLanguage()
79 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_4_SetInvalidMenuLanguage()
99 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_5_SetValidMenuLanguageFromInvalidSource()
115 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_FEATURES); in cect_hf_4_11_4_SinkArcTxBitReset()
116 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_FEATURES); in cect_hf_4_11_4_SinkArcTxBitReset()
130 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_FEATURES); in cect_hf_4_11_5_CheckArcTxRxBits()
[all …]
DHdmiCecTvPowerToggleTest.java21 import android.hdmicec.cts.CecOperand;
78 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams("0000")); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
83 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
85 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
87 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.STANDBY); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
115 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_activeSource_tvOn()
117 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_awake_activeSource_tvOn()
119 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.STANDBY); in cectTvPowerToggleTest_awake_activeSource_tvOn()
145 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_asleep_tvOn()
147 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_asleep_tvOn()
[all …]
DHdmiCecRoutingControlTest.java25 import android.hdmicec.cts.CecOperand;
73 CecOperand.ACTIVE_SOURCE, in cect_11_1_2_2_RequestActiveSource()
84 CecOperand.REQUEST_ACTIVE_SOURCE); in cect_11_1_2_2_RequestActiveSource()
87 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_RequestActiveSource()
109 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams(alternateAddress)); in cect_11_2_2_1_SetStreamPathToDut()
112 CecOperand.SET_STREAM_PATH, in cect_11_2_2_1_SetStreamPathToDut()
114 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_2_2_1_SetStreamPathToDut()
128 CecOperand.REQUEST_ACTIVE_SOURCE); in cect_11_2_2_2_RequestActiveSource()
129 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_2_2_2_RequestActiveSource()
146 CecOperand.SET_STREAM_PATH, in cect_11_2_2_4_InactiveSourceOnStandby()
[all …]
DHdmiCecGeneralProtocolTest.java21 import android.hdmicec.cts.CecOperand;
60 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cect_hf_ignoreAdditionalParams()
64 CecOperand.SET_STREAM_PATH, dutPhysicalAddress + routingChange); in cect_hf_ignoreAdditionalParams()
66 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_hf_ignoreAdditionalParams()
88 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cectIgnoreAdditionalParamsAsMessage()
92 CecOperand.SET_STREAM_PATH, dutPhysicalAddress in cectIgnoreAdditionalParamsAsMessage()
95 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cectIgnoreAdditionalParamsAsMessage()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java60 private CecOperand featureAbortOperand = CecOperand.FEATURE_ABORT;
207 public void sendCecMessage(CecOperand message) throws CecClientWrapperException { in sendCecMessage()
215 public void sendCecMessage(CecOperand message, String params) throws CecClientWrapperException { in sendCecMessage()
223 public void sendCecMessage(LogicalAddress source, CecOperand message) in sendCecMessage()
232 public void sendCecMessage(LogicalAddress source, CecOperand message, String params) in sendCecMessage()
242 LogicalAddress source, LogicalAddress destination, CecOperand message) in sendCecMessage()
256 CecOperand.ACTIVE_SOURCE, in broadcastActiveSource()
269 CecOperand.ACTIVE_SOURCE, in broadcastActiveSource()
287 CecOperand.REPORT_PHYSICAL_ADDRESS, in broadcastReportPhysicalAddress()
304 CecOperand.REPORT_PHYSICAL_ADDRESS, in broadcastReportPhysicalAddress()
[all …]
DCecOperand.java22 public enum CecOperand { enum
86 for (CecOperand operand : CecOperand.values()) {
91 public static CecOperand getOperand(int messageId) { in getOperand()
92 return (CecOperand) operandMap.get(messageId); in getOperand()
100 private CecOperand(int operandCode) { in CecOperand() method in CecOperand

12