/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/ |
D | HdmiCecSystemAudioModeTest.java | 25 import android.hdmicec.cts.CecOperand; 169 CecOperand.SYSTEM_AUDIO_MODE_REQUEST); in sendSystemAudioModeTermination() 174 CecOperand.SYSTEM_AUDIO_MODE_REQUEST, in sendSystemAudioModeInitiation() 180 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, CecOperand.GIVE_AUDIO_STATUS); in getDutAudioStatus() 182 CecOperand.REPORT_AUDIO_STATUS); in getDutAudioStatus() 189 CecOperand.SYSTEM_AUDIO_MODE_REQUEST, in initateSystemAudioModeFromTuner() 196 hdmiCecClient.checkExpectedOutput(CecOperand.REQUEST_ACTIVE_SOURCE); in handleSetSystemAudioModeOnToTv() 197 …hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE, in handleSetSystemAudioModeOnToTv() 200 CecOperand.SET_SYSTEM_AUDIO_MODE); in handleSetSystemAudioModeOnToTv() 206 hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in initiateSystemAudioModeFromDut() [all …]
|
D | HdmiCecInvalidMessagesTest.java | 24 import android.hdmicec.cts.CecOperand; 96 CecOperand.REQUEST_ARC_INITIATION); in checkArcIsInitiated() 97 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated() 119 CecOperand.SET_MENU_LANGUAGE, in cect_12_1_BroadcastReceivedAsDirectlyAddressed() 138 CecOperand.GET_CEC_VERSION); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_getCecVersion() 141 CecOperand.CEC_VERSION); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_getCecVersion() 155 CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress() 158 CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress() 171 CecOperand.GIVE_AUDIO_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus() 174 CecOperand.REPORT_AUDIO_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus() [all …]
|
D | HdmiCecAudioReturnChannelControlTest.java | 22 import android.hdmicec.cts.CecOperand; 59 CecOperand.REQUEST_ARC_INITIATION); in checkArcIsInitiated() 60 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated() 74 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_1_InitiateArc() 79 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_1_InitiateArc() 91 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_2_TerminateArc() 96 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_2_17_2_TerminateArc() 110 CecOperand.REPORT_PHYSICAL_ADDRESS, in cect_11_2_17_3_RequestToInitiateArc() 114 CecOperand.REQUEST_ARC_INITIATION); in cect_11_2_17_3_RequestToInitiateArc() 115 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_3_RequestToInitiateArc() [all …]
|
D | HdmiCecLogicalAddressTest.java | 22 import android.hdmicec.cts.CecOperand; 67 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_10_2_5_1_RebootLogicalAddress()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
D | HdmiCecStartupTest.java | 23 import android.hdmicec.cts.CecOperand; 51 private static final ImmutableList<CecOperand> necessaryMessages = 52 new ImmutableList.Builder<CecOperand>() 53 .add(CecOperand.REPORT_PHYSICAL_ADDRESS, CecOperand.CEC_VERSION, 54 CecOperand.DEVICE_VENDOR_ID, CecOperand.GIVE_POWER_STATUS).build(); 55 private static final ImmutableList<CecOperand> permissibleMessages = 56 new ImmutableList.Builder<CecOperand>() 57 .add(CecOperand.VENDOR_COMMAND, CecOperand.GIVE_DEVICE_VENDOR_ID, 58 CecOperand.SET_OSD_NAME, CecOperand.GIVE_OSD_NAME).build(); 88 final List<CecOperand> messagesReceived = in cectVerifyStartupMessages() [all …]
|
D | HdmiCecSystemInformationTest.java | 25 import android.hdmicec.cts.CecOperand; 84 hdmiCecClient.sendCecMessage(CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_11_2_6_2_GivePhysicalAddress() 85 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_11_2_6_2_GivePhysicalAddress() 99 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GET_CEC_VERSION); in cect_11_2_6_6_GiveCecVersion() 101 CecOperand.CEC_VERSION); in cect_11_2_6_6_GiveCecVersion() 111 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GET_MENU_LANGUAGE); in cect_11_2_6_7_GetMenuLanguage() 112 … String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.FEATURE_ABORT); in cect_11_2_6_7_GetMenuLanguage() 114 CecOperand.GET_MENU_LANGUAGE.toString().length()); in cect_11_2_6_7_GetMenuLanguage() 115 assertThat(CecOperand.getOperand(abortedOpcode)).isEqualTo(CecOperand.GET_MENU_LANGUAGE); in cect_11_2_6_7_GetMenuLanguage() 150 CecOperand.SET_MENU_LANGUAGE, CecMessage.convertStringToHexParams(language)); in cect_11_2_6_3_SetValidMenuLanguage() [all …]
|
D | HdmiCecSystemAudioControlTest.java | 22 import android.hdmicec.cts.CecOperand; 70 CecOperand.GIVE_SYSTEM_AUDIO_MODE_STATUS); in cect_11_2_15_10_GiveSystemAudioModeStatus() 83 CecOperand.SET_SYSTEM_AUDIO_MODE, CecMessage.formatParams(1)); in cect_11_2_15_11_VolumeUpDownUserControlPressed() 86 CecOperand.USER_CONTROL_PRESSED); in cect_11_2_15_11_VolumeUpDownUserControlPressed() 89 … hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.USER_CONTROL_RELEASED); in cect_11_2_15_11_VolumeUpDownUserControlPressed() 94 CecOperand.USER_CONTROL_PRESSED); in cect_11_2_15_11_VolumeUpDownUserControlPressed() 97 … hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.USER_CONTROL_RELEASED); in cect_11_2_15_11_VolumeUpDownUserControlPressed() 110 CecOperand.SET_SYSTEM_AUDIO_MODE, CecMessage.formatParams(1)); in cect_11_2_15_12_MuteUserControlPressed() 113 CecOperand.USER_CONTROL_PRESSED); in cect_11_2_15_12_MuteUserControlPressed() 115 … hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.USER_CONTROL_RELEASED); in cect_11_2_15_12_MuteUserControlPressed()
|
D | HdmiCecDeviceOsdNameTest.java | 22 import android.hdmicec.cts.CecOperand; 70 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_1a_GiveOsdNameTest() 71 … String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.SET_OSD_NAME); in cect_11_2_11_1a_GiveOsdNameTest() 87 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() 89 CecOperand.SET_OSD_NAME); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() 102 hdmiCecClient.sendCecMessage(LogicalAddress.PLAYBACK_1, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest() 104 CecOperand.SET_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest() 105 hdmiCecClient.sendCecMessage(LogicalAddress.BROADCAST, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest() 107 CecOperand.SET_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest()
|
D | HdmiCecRoutingControlTest.java | 22 import android.hdmicec.cts.CecOperand; 69 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams(hdmi2Address)); in cect_11_2_2_1_SetStreamPathToDut() 72 CecOperand.SET_STREAM_PATH, in cect_11_2_2_1_SetStreamPathToDut() 74 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_2_2_1_SetStreamPathToDut() 88 CecOperand.REQUEST_ACTIVE_SOURCE); in cect_11_2_2_2_RequestActiveSource() 89 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_2_2_2_RequestActiveSource() 105 CecOperand.INACTIVE_SOURCE); in cect_11_2_2_4_InactiveSourceOnStandby()
|
D | HdmiCecOneTouchPlayTest.java | 22 import android.hdmicec.cts.CecOperand; 80 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_2_1_1_OneTouchPlay() 81 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_11_2_1_1_OneTouchPlay() 94 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_PairingActivity_OneTouchPlay() 95 String message = hdmiCecClient.checkExpectedOutput(CecOperand.ACTIVE_SOURCE); in cect_PairingActivity_OneTouchPlay()
|
D | HdmiCecPowerStatusTest.java | 22 import android.hdmicec.cts.CecOperand; 75 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cect_11_2_14_1_PowerStatusWhenOn() 77 CecOperand.REPORT_POWER_STATUS); in cect_11_2_14_1_PowerStatusWhenOn() 101 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cect_11_2_14_2_PowerStatusWhenOff() 103 LogicalAddress.TV, CecOperand.REPORT_POWER_STATUS)); in cect_11_2_14_2_PowerStatusWhenOff()
|
D | HdmiCecVendorCommandsTest.java | 22 import android.hdmicec.cts.CecOperand; 70 hdmiCecClient.sendCecMessage(logicalAddress, CecOperand.GIVE_DEVICE_VENDOR_ID); in cect_11_2_9_1_GiveDeviceVendorId() 71 String message = hdmiCecClient.checkExpectedOutput(CecOperand.DEVICE_VENDOR_ID); in cect_11_2_9_1_GiveDeviceVendorId() 86 String message = hdmiCecClient.checkExpectedOutput(CecOperand.DEVICE_VENDOR_ID); in cect_11_2_9_2_DeviceVendorIdOnInit()
|
D | HdmiCecSystemStandbyTest.java | 21 import android.hdmicec.cts.CecOperand; 78 hdmiCecClient.sendCecMessage(source, destination, CecOperand.STANDBY); in checkDeviceAsleepAfterStandbySent() 139 … hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.BROADCAST, CecOperand.STANDBY); in cect_11_2_3_4_NoBroadcastStandby()
|
D | HdmiCecLogicalAddressTest.java | 22 import android.hdmicec.cts.CecOperand; 67 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_10_2_3_1_RebootLogicalAddress()
|
D | HdmiCecPhysicalAddressTest.java | 22 import android.hdmicec.cts.CecOperand; 65 String message = hdmiCecClient.checkExpectedOutput(CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_10_1_2_1_RebootPhysicalAddress()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 109 public void sendCecMessage(CecOperand message) throws Exception { in sendCecMessage() 117 public void sendCecMessage(LogicalAddress source, CecOperand message) throws Exception { in sendCecMessage() 126 CecOperand message) throws Exception { in sendCecMessage() 135 CecOperand message, String params) throws Exception { in sendCecMessage() 152 CecOperand.USER_CONTROL_RELEASED); in sendUserControlPressAndRelease() 165 CecOperand.USER_CONTROL_PRESSED + ":" + key; in sendUserControlPress() 234 public List<CecOperand> getAllMessages(LogicalAddress source, int duration) throws Exception { in getAllMessages() 235 List<CecOperand> receivedOperands = new ArrayList<>(); in getAllMessages() 246 CecOperand operand = CecMessage.getOperand(line); in getAllMessages() 263 public String checkExpectedOutput(CecOperand expectedMessage) throws Exception { in checkExpectedOutput() [all …]
|
D | CecOperand.java | 22 public enum CecOperand { enum 64 for (CecOperand operand : CecOperand.values()) { 69 public static CecOperand getOperand(int messageId) { in getOperand() 70 return (CecOperand) operandMap.get(messageId); in getOperand() 78 private CecOperand(int operandCode) { in CecOperand() method in CecOperand
|
D | CecMessage.java | 134 public static CecOperand getOperand(String message) { in getOperand() 136 return CecOperand.getOperand(hexStringToInt(param)); in getOperand()
|