/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/ |
D | HdmiCecInvalidMessagesTest.java | 24 import android.hdmicec.cts.LogicalAddress; 41 private static final LogicalAddress AUDIO_DEVICE = LogicalAddress.AUDIO_SYSTEM; 72 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in checkArcIsInitiated() 74 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated() 90 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus() 91 LogicalAddress.BROADCAST, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus() 94 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus() 107 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus() 108 LogicalAddress.BROADCAST, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus() 111 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus() [all …]
|
D | HdmiCecAudioReturnChannelControlTest.java | 24 import android.hdmicec.cts.LogicalAddress; 41 private static final LogicalAddress AUDIO_DEVICE = LogicalAddress.AUDIO_SYSTEM; 59 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in checkArcIsInitiated() 61 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated() 76 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_1_InitiateArc() 82 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_1_InitiateArc() 93 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_2_TerminateArc() 99 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_2_17_2_TerminateArc() 112 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_3_RequestToInitiateArc() 116 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in cect_11_2_17_3_RequestToInitiateArc() [all …]
|
D | HdmiCecSystemAudioModeTest.java | 27 import android.hdmicec.cts.LogicalAddress; 47 private static final LogicalAddress AUDIO_DEVICE = LogicalAddress.AUDIO_SYSTEM; 66 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in sendSystemAudioModeTermination() 71 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in sendSystemAudioModeInitiation() 80 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, CecOperand.GIVE_AUDIO_STATUS); in getDutAudioStatus() 81 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in getDutAudioStatus() 88 hdmiCecClient.sendCecMessage(LogicalAddress.TUNER_1, AUDIO_DEVICE, in initateSystemAudioModeFromTuner() 97 …hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE, in handleSetSystemAudioModeOnToTv() 99 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in handleSetSystemAudioModeOnToTv() 107 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in initiateSystemAudioModeFromDut() [all …]
|
D | HdmiCecRemoteControlPassThroughTest.java | 21 import android.hdmicec.cts.LogicalAddress; 60 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_1_UserControlPressAndRelease() 62 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_1_UserControlPressAndRelease() 73 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_2_UserControlPressAndHold() 75 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_2_UserControlPressAndHold() 86 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_3_UserControlPressAndHoldWithNoRelease() 88 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_3_UserControlPressAndHoldWithNoRelease() 100 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_4_UserControlInterruptedPressAndHoldWithNoRelease() 102 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_4_UserControlInterruptedPressAndHoldWithNoRelease()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecInvalidMessagesTest.java | 28 import android.hdmicec.cts.LogicalAddress; 60 private LogicalAddress source; 61 private LogicalAddress targetLogicalAddress; 62 private LogicalAddress mNonLocalPlaybackAddress; 73 source = (hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV)) ? LogicalAddress.RECORDER_1 in setupLogicalAddresses() 74 : LogicalAddress.TV; in setupLogicalAddresses() 77 (targetLogicalAddress == LogicalAddress.PLAYBACK_1) in setupLogicalAddresses() 78 ? LogicalAddress.PLAYBACK_2 in setupLogicalAddresses() 79 : LogicalAddress.PLAYBACK_1; in setupLogicalAddresses() 86 private void reportPhysicalAddress(LogicalAddress logicalAddress, int physicalAddress, in reportPhysicalAddress() [all …]
|
D | HdmiCecSystemInformationTest.java | 27 import android.hdmicec.cts.LogicalAddress; 61 List<LogicalAddress> testDevices = in cect_11_2_6_2_GivePhysicalAddress() 63 LogicalAddress.TV, in cect_11_2_6_2_GivePhysicalAddress() 64 LogicalAddress.RECORDER_1, in cect_11_2_6_2_GivePhysicalAddress() 65 LogicalAddress.TUNER_1, in cect_11_2_6_2_GivePhysicalAddress() 66 LogicalAddress.PLAYBACK_1, in cect_11_2_6_2_GivePhysicalAddress() 67 LogicalAddress.AUDIO_SYSTEM, in cect_11_2_6_2_GivePhysicalAddress() 68 LogicalAddress.BROADCAST); in cect_11_2_6_2_GivePhysicalAddress() 69 for (LogicalAddress testDevice : testDevices) { in cect_11_2_6_2_GivePhysicalAddress() 92 List<LogicalAddress> testDevices = in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() [all …]
|
D | HdmiCecSystemStandbyTest.java | 22 import android.hdmicec.cts.LogicalAddress; 50 public List<LogicalAddress> mLogicalAddresses = new ArrayList<>(); 87 for (LogicalAddress source : mLogicalAddresses) { in cect_HandleBroadcastStandby() 90 hdmiCecClient.sendCecMessage(source, LogicalAddress.BROADCAST, CecOperand.STANDBY); in cect_HandleBroadcastStandby() 105 for (LogicalAddress source : mLogicalAddresses) { in cect_HandleAddressedStandby() 127 LogicalAddress.BROADCAST, CecOperand.STANDBY); in cect_11_2_3_4_NoBroadcastStandby() 135 mLogicalAddresses.add(LogicalAddress.TV); in defineLogicalAddressList() 136 mLogicalAddresses.add(LogicalAddress.RECORDER_1); in defineLogicalAddressList() 137 mLogicalAddresses.add(LogicalAddress.TUNER_1); in defineLogicalAddressList() 138 mLogicalAddresses.add(LogicalAddress.PLAYBACK_1); in defineLogicalAddressList() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/ |
D | HdmiCecGeneralProtocolTest.java | 23 import android.hdmicec.cts.LogicalAddress; 69 LogicalAddress.RECORDER_1, clientPhysicalAddress); in cect_hf_ignoreAdditionalParams() 70 hdmiCecClient.broadcastActiveSource(LogicalAddress.RECORDER_1, clientPhysicalAddress); in cect_hf_ignoreAdditionalParams() 72 getDumpsysActiveSourceLogicalAddress().equals(LogicalAddress.RECORDER_1), in cect_hf_ignoreAdditionalParams() 74 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.PLAYBACK_1, in cect_hf_ignoreAdditionalParams() 76 hdmiCecClient.sendCecMessage(LogicalAddress.PLAYBACK_1, LogicalAddress.BROADCAST, in cect_hf_ignoreAdditionalParams() 79 getDumpsysActiveSourceLogicalAddress().equals(LogicalAddress.PLAYBACK_1), in cect_hf_ignoreAdditionalParams() 109 LogicalAddress.RECORDER_1, clientPhysicalAddress); in cectIgnoreAdditionalParamsAsMessage() 110 hdmiCecClient.broadcastActiveSource(LogicalAddress.RECORDER_1, clientPhysicalAddress); in cectIgnoreAdditionalParamsAsMessage() 112 getDumpsysActiveSourceLogicalAddress().equals(LogicalAddress.RECORDER_1), in cectIgnoreAdditionalParamsAsMessage() [all …]
|
D | HdmiCecTvOneTouchPlayTest.java | 26 import android.hdmicec.cts.LogicalAddress; 49 List<LogicalAddress> testDevices = new ArrayList<>(); 54 testDevices.add(LogicalAddress.RECORDER_1); in HdmiCecTvOneTouchPlayTest() 55 testDevices.add(LogicalAddress.TUNER_1); in HdmiCecTvOneTouchPlayTest() 56 testDevices.add(LogicalAddress.PLAYBACK_1); in HdmiCecTvOneTouchPlayTest() 75 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_1_RespondToImageViewOn() 76 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.IMAGE_VIEW_ON); in cect_11_1_1_1_RespondToImageViewOn() 95 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_2_RespondToTextViewOn() 96 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_1_1_2_RespondToTextViewOn() 123 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in cect_11_1_1_5_DutBroadcastsActiveSourceWhenChangingToInternal() [all …]
|
D | HdmiCecSystemInformationTest.java | 25 import android.hdmicec.cts.LogicalAddress; 62 LogicalAddress sources[] = { in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 63 LogicalAddress.RECORDER_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 64 LogicalAddress.TUNER_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 65 LogicalAddress.PLAYBACK_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 66 LogicalAddress.AUDIO_SYSTEM, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 67 LogicalAddress.RESERVED_2, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 68 LogicalAddress.SPECIFIC_USE, in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 69 LogicalAddress.BROADCAST in cect_11_1_6_5_DutRespondsToGetMenuLanguage() 71 for (LogicalAddress source : sources) { in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
|
D | HdmiCecRemoteControlPassThroughTest.java | 26 import android.hdmicec.cts.LogicalAddress; 76 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in checkForInitialActiveSourceMessage() 87 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in checkForInitialActiveSourceMessage() 106 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_1_RemoteControlMessagesToRecorder() 108 validateKeyeventToUserControlPress(LogicalAddress.RECORDER_1, remoteControlKeys); in cect_11_1_13_1_RemoteControlMessagesToRecorder() 120 LogicalAddress.PLAYBACK_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_2_RemoteControlMessagesToPlayback() 122 validateKeyeventToUserControlPress(LogicalAddress.PLAYBACK_1, remoteControlKeys); in cect_11_1_13_2_RemoteControlMessagesToPlayback() 134 LogicalAddress.TUNER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_3_RemoteControlMessagesToTuner() 136 validateKeyeventToUserControlPress(LogicalAddress.TUNER_1, remoteControlKeys); in cect_11_1_13_3_RemoteControlMessagesToTuner() 148 LogicalAddress.AUDIO_SYSTEM, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_4_RemoteControlMessagesToAudioSystem() [all …]
|
D | HdmiCecAudioReturnChannelControlTest.java | 25 import android.hdmicec.cts.LogicalAddress; 64 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_17_1_DutSendsRequestArcInitiation() 85 LogicalAddress.AUDIO_SYSTEM, in cect_11_1_17_2_ReportArcInitiated() 86 LogicalAddress.BROADCAST, 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() 104 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_17_3_DutSendsRequestArcTermination() 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() 144 LogicalAddress.AUDIO_SYSTEM, in cect_11_1_17_5_NonAdjacentDeviceArcInitiation() [all …]
|
D | HdmiCecSystemAudioControlTest.java | 26 import android.hdmicec.cts.LogicalAddress; 66 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_15_1_DutSendsSystemAudioModeRequest() 68 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_15_1_DutSendsSystemAudioModeRequest() 69 hdmiCecClient.sendCecMessage(LogicalAddress.RECORDER_1, CecOperand.IMAGE_VIEW_ON); in cect_11_1_15_1_DutSendsSystemAudioModeRequest() 71 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_15_1_DutSendsSystemAudioModeRequest() 116 LogicalAddress.BROADCAST, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn() 121 LogicalAddress.BROADCAST, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn() 144 LogicalAddress.BROADCAST, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff() 149 LogicalAddress.BROADCAST, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff() 162 LogicalAddress.AUDIO_SYSTEM, CecOperand.SYSTEM_AUDIO_MODE_REQUEST); in setSystemAudioMode()
|
D | HdmiCecRoutingControlTest.java | 26 import android.hdmicec.cts.LogicalAddress; 67 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in checkForInitialActiveSourceMessage() 97 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.TUNER_1, 0x2100); in cect_11_1_2_1_DutSendsSetStreamPathMessage() 99 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.PLAYBACK_1, 0x2200); in cect_11_1_2_1_DutSendsSetStreamPathMessage() 103 this, getDevice(), LogicalAddress.PLAYBACK_1.toString()); in cect_11_1_2_1_DutSendsSetStreamPathMessage() 119 HdmiControlManagerUtility.selectDevice(this, getDevice(), LogicalAddress.TV.toString()); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage() 125 LogicalAddress.BROADCAST, in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage() 128 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage() 140 HdmiControlManagerUtility.selectDevice(this, getDevice(), LogicalAddress.TV.toString()); in cect_11_1_2_3_DutDoesRespondToRequestActiveSourceMessage() 143 LogicalAddress.BROADCAST, in cect_11_1_2_3_DutDoesRespondToRequestActiveSourceMessage() [all …]
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
D | HdmiCecRoutingControlTest.java | 27 import android.hdmicec.cts.LogicalAddress; 71 LogicalAddress.TV, in cect_11_1_2_2_RequestActiveSource() 72 LogicalAddress.BROADCAST, in cect_11_1_2_2_RequestActiveSource() 83 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_1_2_2_RequestActiveSource() 87 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_RequestActiveSource() 108 hdmiCecClient.sendCecMessage(LogicalAddress.PLAYBACK_2, LogicalAddress.BROADCAST, in cect_11_2_2_1_SetStreamPathToDut() 111 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_2_1_SetStreamPathToDut() 127 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_2_2_RequestActiveSource() 144 LogicalAddress.TV, in cect_11_2_2_4_InactiveSourceOnStandby() 145 LogicalAddress.BROADCAST, in cect_11_2_2_4_InactiveSourceOnStandby() [all …]
|
D | HdmiCecPowerStatusTest.java | 23 import android.hdmicec.cts.LogicalAddress; 51 CecMessage.buildCecMessage(LogicalAddress.PLAYBACK_1, LogicalAddress.TV, 53 CecMessage.buildCecMessage(LogicalAddress.PLAYBACK_1, LogicalAddress.TV, 56 CecMessage.buildCecMessage(LogicalAddress.PLAYBACK_1, LogicalAddress.TV, 59 CecMessage.buildCecMessage(LogicalAddress.PLAYBACK_1, LogicalAddress.TV, 92 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_hf4_6_1_otp_viewOnBeforeUcp_20() 98 hdmiCecClient.checkMessagesInOrder(LogicalAddress.TV, VIEW_ON_MSGS, UCP_POWER_MSGS); in cect_hf4_6_1_otp_viewOnBeforeUcp_20() 117 LogicalAddress.TV, in cect_hf4_6_7_setStreamPath_powerOn() 118 LogicalAddress.BROADCAST, in cect_hf4_6_7_setStreamPath_powerOn() 144 LogicalAddress.TV, in cect_hf4_6_16_standby_tvBeforeUcp_20() [all …]
|
D | HdmiCecTvPowerToggleTest.java | 23 import android.hdmicec.cts.LogicalAddress; 68 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(device, DUT_DEVICE_TYPE); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 77 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 83 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 84 hdmiCecClient.sendCecMessage(LogicalAddress.TV, dutLogicalAddress, in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 87 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.STANDBY); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 103 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(device, DUT_DEVICE_TYPE); in cectTvPowerToggleTest_awake_activeSource_tvOn() 115 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_activeSource_tvOn() 116 hdmiCecClient.sendCecMessage(LogicalAddress.TV, dutLogicalAddress, in cectTvPowerToggleTest_awake_activeSource_tvOn() 119 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.STANDBY); in cectTvPowerToggleTest_awake_activeSource_tvOn() [all …]
|
D | HdmiCecRemoteControlPassThroughTest.java | 30 import android.hdmicec.cts.LogicalAddress; 72 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_1_UserControlPressAndRelease() 74 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_1_UserControlPressAndRelease() 84 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_11_2_13_2_UserControlPressAndHold() 86 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_11_2_13_2_UserControlPressAndHold() 105 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in cect_4_8_4_UserControlPressAndRelease_20() 107 hdmiCecClient, getDevice(), LogicalAddress.TV, dutLogicalAddress); in cect_4_8_4_UserControlPressAndRelease_20() 121 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_FEATURES); in cect_hf4_8_12_UCPForRcProfileSearchOperand() 144 LogicalAddress dutLogicalAddress = getTargetLogicalAddress(getDevice(), DUT_DEVICE_TYPE); in sendUcpMenuCommand() 148 LogicalAddress.TV, in sendUcpMenuCommand() [all …]
|
D | HdmiCecWakeupTest.java | 22 import android.hdmicec.cts.LogicalAddress; 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() 111 hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.TV, in cectNoOtpOnWakeupWhenPowerControlModeNone() 113 hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.BROADCAST, in cectNoOtpOnWakeupWhenPowerControlModeNone()
|
D | HdmiCecDeviceSelectForPlaybackTest.java | 23 import android.hdmicec.cts.LogicalAddress; 45 private List<LogicalAddress> mPlaybackAddresses = new ArrayList<>(); 46 private LogicalAddress mDutLogicalAddress; 47 private LogicalAddress mSecondPlayback; 48 private LogicalAddress mThirdPlayback; 68 LogicalAddress.PLAYBACK_1, in setupLogicalAddresses() 69 LogicalAddress.PLAYBACK_2, in setupLogicalAddresses() 70 LogicalAddress.PLAYBACK_3)); in setupLogicalAddresses() 86 private void reportPhysicalAddress(LogicalAddress logicalAddress, int physicalAddress, in reportPhysicalAddress() 93 LogicalAddress.BROADCAST, in reportPhysicalAddress() [all …]
|
D | HdmiCecDeviceOsdNameTest.java | 25 import android.hdmicec.cts.LogicalAddress; 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() 92 LogicalAddress.TV, in cectGiveOsdNameTestInStandby() 116 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() 117 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in cect_11_2_11_1b_UpdateAndGiveOsdNameTest() 131 hdmiCecClient.sendCecMessage(LogicalAddress.BROADCAST, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest() 132 hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.BROADCAST, in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest()
|
D | HdmiCecGeneralProtocolTest.java | 23 import android.hdmicec.cts.LogicalAddress; 62 hdmiCecClient.broadcastActiveSource(LogicalAddress.TV, 0x0000); in cect_hf_ignoreAdditionalParams() 63 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_hf_ignoreAdditionalParams() 90 hdmiCecClient.broadcastActiveSource(LogicalAddress.TV, 0x0000); in cectIgnoreAdditionalParamsAsMessage() 91 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cectIgnoreAdditionalParamsAsMessage()
|
D | HdmiCecSystemInformationTest.java | 27 import android.hdmicec.cts.LogicalAddress; 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() 78 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_6_4_SetInvalidMenuLanguage() 98 hdmiCecClient.sendCecMessage(LogicalAddress.RECORDER_1, LogicalAddress.BROADCAST, in cect_11_2_6_5_SetValidMenuLanguageFromInvalidSource() 115 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_FEATURES); in cect_hf_4_11_4_SinkArcTxBitReset() 130 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GIVE_FEATURES); in cect_hf_4_11_5_CheckArcTxRxBits()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | HdmiCecClientWrapper.java | 54 private LogicalAddress selfDevice = LogicalAddress.RECORDER_1; 55 private LogicalAddress targetDevice = LogicalAddress.UNKNOWN; 76 void setTargetLogicalAddress(LogicalAddress dutLogicalAddress) { in setTargetLogicalAddress() 159 if (targetDevice == LogicalAddress.UNKNOWN) { in init() 176 selfDevice = LogicalAddress.TV; in init() 183 selfDevice = LogicalAddress.AUDIO_SYSTEM; in init() 216 sendCecMessage(LogicalAddress.BROADCAST, targetDevice, message, params); 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() [all …]
|
D | LogicalAddress.java | 24 public enum LogicalAddress { enum 52 for (LogicalAddress device : LogicalAddress.values()) { 89 public static LogicalAddress getLogicalAddress(int address) { in getLogicalAddress() 90 return (LogicalAddress) deviceMap.get(address); in getLogicalAddress() 93 private LogicalAddress(int address) { in LogicalAddress() method in LogicalAddress
|