/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | RemoteControlPassthrough.java | 58 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_UP, false); in checkUserControlPressAndRelease() 61 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_DOWN, false); in checkUserControlPressAndRelease() 64 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_LEFT, false); in checkUserControlPressAndRelease() 67 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_RIGHT, false); in checkUserControlPressAndRelease() 70 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_SELECT, false); in checkUserControlPressAndRelease() 74 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_BACK, false); in checkUserControlPressAndRelease() 95 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_UP, true); in checkUserControlPressAndHold() 98 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_DOWN, true); in checkUserControlPressAndHold() 101 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_LEFT, true); in checkUserControlPressAndHold() 104 sourceDevice, dutLogicalAddress, HdmiCecConstants.CEC_KEYCODE_RIGHT, true); in checkUserControlPressAndHold() [all …]
|
D | LogicalAddress.java | 19 import android.hdmicec.cts.HdmiCecConstants.CecDeviceType; 70 return HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE; in getDeviceType() 72 return HdmiCecConstants.CEC_DEVICE_TYPE_TV; in getDeviceType() 74 return HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM; in getDeviceType() 78 return HdmiCecConstants.CEC_DEVICE_TYPE_RECORDER; in getDeviceType() 83 return HdmiCecConstants.CEC_DEVICE_TYPE_TUNER; in getDeviceType() 85 return HdmiCecConstants.CEC_DEVICE_TYPE_RESERVED; in getDeviceType()
|
D | BaseHdmiCecCtsTest.java | 23 import android.hdmicec.cts.HdmiCecConstants.CecDeviceType; 83 this(HdmiCecConstants.CEC_DEVICE_TYPE_UNKNOWN); in BaseHdmiCecCtsTest() 92 this(HdmiCecConstants.CEC_DEVICE_TYPE_UNKNOWN, clientParams); in BaseHdmiCecCtsTest() 113 boolean startAsTv = !hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV); in setUp() 121 return new RequiredFeatureRule(testPointer, HdmiCecConstants.HDMI_CEC_FEATURE); in requiresCec() 125 return new RequiredFeatureRule(testPointer, HdmiCecConstants.LEANBACK_FEATURE); in requiresLeanback() 139 HdmiCecConstants.PROPERTY_ARC_SUPPORT, in requiresArcSupport() 159 @Option(name = HdmiCecConstants.PHYSICAL_ADDRESS_NAME, 162 public static int dutPhysicalAddress = HdmiCecConstants.DEFAULT_PHYSICAL_ADDRESS; 252 return getTargetLogicalAddress(device, HdmiCecConstants.CEC_DEVICE_TYPE_UNKNOWN); in getTargetLogicalAddress() [all …]
|
D | BaseHdmiCecAbsoluteVolumeBehaviorTest.java | 64 public BaseHdmiCecAbsoluteVolumeBehaviorTest(@HdmiCecConstants.CecDeviceType int testDeviceType, in BaseHdmiCecAbsoluteVolumeBehaviorTest() 73 if (mTestDeviceType == HdmiCecConstants.CEC_DEVICE_TYPE_TV) { in getAudioOutputDevice() 74 return HdmiCecConstants.DEVICE_OUT_HDMI_ARC; in getAudioOutputDevice() 76 return HdmiCecConstants.DEVICE_OUT_HDMI; in getAudioOutputDevice() 87 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in setUp() 88 HdmiCecConstants.VOLUME_CONTROL_DISABLED); in setUp() 92 if (mTestDeviceType == HdmiCecConstants.CEC_DEVICE_TYPE_TV) { in setUp()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/ |
D | HdmiCecAudioReturnChannelControlTest.java | 24 import android.hdmicec.cts.HdmiCecConstants; 43 super(HdmiCecConstants.CEC_DEVICE_TYPE_TV, "-t", "a"); in HdmiCecAudioReturnChannelControlTest() 51 .around(CecRules.requiresDeviceType(this, HdmiCecConstants.CEC_DEVICE_TYPE_TV)) 83 HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM); in cect_11_1_17_2_ReportArcInitiated() 140 HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM); in cect_11_1_17_5_NonAdjacentDeviceArcInitiation() 168 HdmiCecConstants.QUERY_SAD_LPCM, HdmiCecConstants.QUERY_SAD_ENABLED); in shortAudioDescriptorsRequested() 170 HdmiCecConstants.QUERY_SAD_DD, HdmiCecConstants.QUERY_SAD_ENABLED); in shortAudioDescriptorsRequested() 172 HdmiCecConstants.QUERY_SAD_MPEG1, HdmiCecConstants.QUERY_SAD_ENABLED); in shortAudioDescriptorsRequested() 174 HdmiCecConstants.QUERY_SAD_MP3, HdmiCecConstants.QUERY_SAD_ENABLED); in shortAudioDescriptorsRequested() 176 HdmiCecConstants.QUERY_SAD_MPEG2, HdmiCecConstants.QUERY_SAD_ENABLED); in shortAudioDescriptorsRequested() [all …]
|
D | HdmiCecAvbToAudioSystemTest.java | 26 import android.hdmicec.cts.HdmiCecConstants; 50 super(HdmiCecConstants.CEC_DEVICE_TYPE_TV, "-t", "a"); in HdmiCecAvbToAudioSystemTest() 60 this, HdmiCecConstants.CEC_DEVICE_TYPE_TV)) 71 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange() 72 HdmiCecConstants.VOLUME_CONTROL_ENABLED); in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange() 111 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange() 112 HdmiCecConstants.VOLUME_CONTROL_ENABLED); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange() 133 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange() 134 HdmiCecConstants.VOLUME_CONTROL_DISABLED); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange() 149 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in adjustOnlyAvb_testOutgoingVolumeUpdates() [all …]
|
D | HdmiCecRemoteControlPassThroughTest.java | 25 import android.hdmicec.cts.HdmiCecConstants; 59 .around(CecRules.requiresDeviceType(this, HdmiCecConstants.CEC_DEVICE_TYPE_TV)) 63 super(HdmiCecConstants.CEC_DEVICE_TYPE_TV, "-t", "r", "-t", "p", "-t", "t", "-t", "a"); in HdmiCecRemoteControlPassThroughTest() 168 remoteControlKeys.put("DPAD_UP", HdmiCecConstants.CEC_KEYCODE_UP); in mapRemoteControlKeys() 169 remoteControlKeys.put("DPAD_DOWN", HdmiCecConstants.CEC_KEYCODE_DOWN); in mapRemoteControlKeys() 170 remoteControlKeys.put("DPAD_LEFT", HdmiCecConstants.CEC_KEYCODE_LEFT); in mapRemoteControlKeys() 171 remoteControlKeys.put("DPAD_RIGHT", HdmiCecConstants.CEC_KEYCODE_RIGHT); in mapRemoteControlKeys() 172 remoteControlAudioKeys.put("VOLUME_UP", HdmiCecConstants.CEC_KEYCODE_VOLUME_UP); in mapRemoteControlKeys() 173 remoteControlAudioKeys.put("VOLUME_DOWN", HdmiCecConstants.CEC_KEYCODE_VOLUME_DOWN); in mapRemoteControlKeys() 174 remoteControlAudioKeys.put("VOLUME_MUTE", HdmiCecConstants.CEC_KEYCODE_MUTE); in mapRemoteControlKeys()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/ |
D | HdmiCecPowerStatusTest.java | 24 import android.hdmicec.cts.HdmiCecConstants; 81 if (CecMessage.getParams(reportPowerStatus) == HdmiCecConstants.CEC_POWER_STATUS_STANDBY) { in cect_hf4_6_20_broadcastsWhenTurningOn() 88 HdmiCecConstants.CEC_POWER_STATUS_ON); in cect_hf4_6_20_broadcastsWhenTurningOn() 113 if (CecMessage.getParams(reportPowerStatus) == HdmiCecConstants.CEC_POWER_STATUS_ON) { in cect_hf4_6_21_broadcastsWhenGoingToStandby() 121 .isEqualTo(HdmiCecConstants.CEC_POWER_STATUS_STANDBY); in cect_hf4_6_21_broadcastsWhenGoingToStandby() 150 case HdmiCecConstants.CEC_POWER_STATUS_STANDBY: in cect_hf4_6_22_interruptedPowerOn() 153 case HdmiCecConstants.CEC_POWER_STATUS_IN_TRANSITION_TO_STANDBY: in cect_hf4_6_22_interruptedPowerOn() 157 .isEqualTo(HdmiCecConstants.CEC_POWER_STATUS_STANDBY); in cect_hf4_6_22_interruptedPowerOn() 159 case HdmiCecConstants.CEC_POWER_STATUS_IN_TRANSITION_TO_ON: in cect_hf4_6_22_interruptedPowerOn() 160 case HdmiCecConstants.CEC_POWER_STATUS_ON: in cect_hf4_6_22_interruptedPowerOn() [all …]
|
D | HdmiCecDeviceTypeTest.java | 25 import android.hdmicec.cts.HdmiCecConstants; 56 @Option(name = HdmiCecConstants.PHYSICAL_ADDRESS_NAME, 63 public static int dutPhysicalAddress = HdmiCecConstants.DEFAULT_PHYSICAL_ADDRESS; 65 int deviceTvOnly = setBit(HdmiCecConstants.CEC_DEVICE_TYPE_TV); 66 int devicePlaybackOnly = setBit(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); 68 setBit(HdmiCecConstants.CEC_DEVICE_TYPE_TV) 69 | setBit(HdmiCecConstants.CEC_DEVICE_TYPE_SWITCH); 71 setBit(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE) 72 | setBit(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM); 74 setBit(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE) [all …]
|
D | HdmiCecFeatureAbortTest.java | 22 import android.hdmicec.cts.HdmiCecConstants; 58 HdmiCecConstants.ABORT_UNRECOGNIZED_MODE, in cect_hf4_2_11_featureAbortBehavior() 59 HdmiCecConstants.ABORT_NOT_IN_CORRECT_MODE, in cect_hf4_2_11_featureAbortBehavior() 60 HdmiCecConstants.ABORT_CANNOT_PROVIDE_SOURCE, in cect_hf4_2_11_featureAbortBehavior() 61 HdmiCecConstants.ABORT_INVALID_OPERAND, in cect_hf4_2_11_featureAbortBehavior() 62 HdmiCecConstants.ABORT_REFUSED, in cect_hf4_2_11_featureAbortBehavior() 63 HdmiCecConstants.ABORT_UNABLE_TO_DETERMINE); in cect_hf4_2_11_featureAbortBehavior()
|
D | HdmiCecSystemInformationTest.java | 19 import static android.hdmicec.cts.HdmiCecConstants.TIMEOUT_SAFETY_MS; 26 import android.hdmicec.cts.HdmiCecConstants; 112 case HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 115 case HdmiCecConstants.CEC_DEVICE_TYPE_TV: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 118 case HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 121 case HdmiCecConstants.CEC_DEVICE_TYPE_RECORDER: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 124 case HdmiCecConstants.CEC_DEVICE_TYPE_TUNER: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 127 case HdmiCecConstants.CEC_DEVICE_TYPE_RESERVED: in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() 143 int cecVersion = HdmiCecConstants.CEC_VERSION_1_4; in cect_11_2_6_6_GiveCecVersion() 162 int cecVersion = HdmiCecConstants.CEC_VERSION_2_0; in cect_hf4_2_12_GiveCecVersion() [all …]
|
D | HdmiCecSystemAudioControlTest.java | 27 import android.hdmicec.cts.HdmiCecConstants; 58 this, HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)) 69 isDutTv = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV); in initialTestSetup() 90 hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn() 101 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_VOLUME_UP); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn() 111 .isEqualTo(HdmiCecConstants.CEC_KEYCODE_VOLUME_DOWN); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn() 131 hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)); in cect_MuteUserControlPressedWhenSystemAudioControlOn() 142 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_MUTE); in cect_MuteUserControlPressedWhenSystemAudioControlOn()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/ |
D | HdmiCecSoundbarModeTest.java | 23 import android.hdmicec.cts.HdmiCecConstants; 42 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecSoundbarModeTest() 52 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 57 prevSoundbarModeValue = getSettingsValue(HdmiCecConstants.SETTING_SOUNDBAR_MODE_ENABLED); in initialTestSetup() 63 HdmiCecConstants.SETTING_SOUNDBAR_MODE_ENABLED, in resetSoundbarModeStatus() 65 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in resetSoundbarModeStatus() 75 HdmiCecConstants.SETTING_SOUNDBAR_MODE_ENABLED, in cectSoundbarModeEnabled() 76 HdmiCecConstants.SOUNDBAR_MODE_ENABLED); in cectSoundbarModeEnabled() 81 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cectSoundbarModeEnabled() 84 Integer.toString(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)); in cectSoundbarModeEnabled() [all …]
|
D | HdmiCecAvbToTvTest.java | 28 import android.hdmicec.cts.HdmiCecConstants; 49 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecAvbToTvTest() 59 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 75 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableDisableAvb_cec20_triggeredByReportFeatures() 76 HdmiCecConstants.VOLUME_CONTROL_ENABLED); in testEnableDisableAvb_cec20_triggeredByReportFeatures() 113 hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)); in testEnableDisableAvb_triggeredByAvbSupportChanged() 115 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableDisableAvb_triggeredByAvbSupportChanged() 116 HdmiCecConstants.VOLUME_CONTROL_ENABLED); in testEnableDisableAvb_triggeredByAvbSupportChanged() 148 hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)); in testEnableAndDisableAvb_triggeredByVolumeControlSettingChange() 156 setSettingsValue(HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in testEnableAndDisableAvb_triggeredByVolumeControlSettingChange() [all …]
|
D | HdmiCecTvPowerToggleTest.java | 22 import android.hdmicec.cts.HdmiCecConstants; 45 private static final int DUT_DEVICE_TYPE = HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE; 54 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 70 device.waitForBootComplete(HdmiCecConstants.REBOOT_TIMEOUT); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 72 setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_TV); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 74 HdmiCecConstants.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 79 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 88 assertDeviceWakefulness(HdmiCecConstants.WAKEFULNESS_ASLEEP); in cectTvPowerToggleTest_awake_noActiveSource_tvOn() 105 device.waitForBootComplete(HdmiCecConstants.REBOOT_TIMEOUT); in cectTvPowerToggleTest_awake_activeSource_tvOn() 107 setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_TV); in cectTvPowerToggleTest_awake_activeSource_tvOn() [all …]
|
D | HdmiCecRemoteControlPassThroughTest.java | 28 import android.hdmicec.cts.HdmiCecConstants; 48 private static int DUT_DEVICE_TYPE = HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE; 61 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 126 HdmiCecConstants.CEC_KEYCODE_MEDIA_CONTEXT_SENSITIVE_MENU, in cect_hf4_8_12_UCPForRcProfileSearchOperand() 130 sendUcpMenuCommand(HdmiCecConstants.CEC_KEYCODE_MEDIA_TOP_MENU, "MEDIA_TOP_MENU"); in cect_hf4_8_12_UCPForRcProfileSearchOperand() 133 sendUcpMenuCommand(HdmiCecConstants.CEC_KEYCODE_CONTENTS_MENU, "TV_CONTENTS_MENU"); in cect_hf4_8_12_UCPForRcProfileSearchOperand() 136 sendUcpMenuCommand(HdmiCecConstants.CEC_KEYCODE_SETUP_MENU, "SETTINGS"); in cect_hf4_8_12_UCPForRcProfileSearchOperand() 139 sendUcpMenuCommand(HdmiCecConstants.CEC_KEYCODE_ROOT_MENU, "HOME"); in cect_hf4_8_12_UCPForRcProfileSearchOperand() 173 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_UP); in cect_hf4_8_9_SendLongPress() 181 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_DOWN); in cect_hf4_8_9_SendLongPress() [all …]
|
D | HdmiCecRoutingControlTest.java | 26 import android.hdmicec.cts.HdmiCecConstants; 47 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecRoutingControlTest() 57 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 74 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_1_2_2_RequestActiveSource() 75 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_11_1_2_2_RequestActiveSource() 77 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cect_11_1_2_2_RequestActiveSource() 140 setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_NONE); in cect_11_2_2_4_InactiveSourceOnStandby() 167 hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)); in testPowerStateChangeOnActiveSourceLost_standby() 170 HdmiCecConstants.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_STANDBY_NOW); in testPowerStateChangeOnActiveSourceLost_standby() 175 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in testPowerStateChangeOnActiveSourceLost_standby() [all …]
|
D | HdmiCecPowerStatusTest.java | 22 import android.hdmicec.cts.HdmiCecConstants; 45 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecPowerStatusTest() 52 CecOperand.USER_CONTROL_PRESSED, HdmiCecConstants.CEC_KEYCODE_POWER), 55 HdmiCecConstants.CEC_KEYCODE_POWER_TOGGLE_FUNCTION), 58 HdmiCecConstants.CEC_KEYCODE_POWER_OFF_FUNCTION), 61 HdmiCecConstants.CEC_KEYCODE_POWER_ON_FUNCTION))); 73 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 87 device.waitForBootComplete(HdmiCecConstants.REBOOT_TIMEOUT); in cect_hf4_6_1_otp_viewOnBeforeUcp_20() 94 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cect_hf4_6_1_otp_viewOnBeforeUcp_20() 121 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_hf4_6_7_setStreamPath_powerOn() [all …]
|
D | HdmiCecDeviceSelectForPlaybackTest.java | 22 import android.hdmicec.cts.HdmiCecConstants; 51 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecDeviceSelectForPlaybackTest() 61 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 89 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH); in reportPhysicalAddress() 109 HdmiCecConstants.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE); in cectDeviceSelectDifferentSource() 117 HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in cectDeviceSelectDifferentSource() 123 HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in cectDeviceSelectDifferentSource() 126 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cectDeviceSelectDifferentSource() 153 CecMessage.formatParams(HdmiCecConstants.CEC_POWER_STATUS_ON)); in cectDeviceSelectSameSource() 157 HdmiCecConstants.DEFAULT_PHYSICAL_ADDRESS, dumpsysPhysicalAddress); in cectDeviceSelectSameSource() [all …]
|
D | HdmiCecSystemInformationTest.java | 26 import android.hdmicec.cts.HdmiCecConstants; 47 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 51 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecSystemInformationTest() 118 assertThat(params & HdmiCecConstants.FEATURES_SINK_SUPPORTS_ARC_TX_BIT).isEqualTo(0); in cect_hf_4_11_4_SinkArcTxBitReset() 133 assertThat(params & HdmiCecConstants.FEATURES_SINK_SUPPORTS_ARC_TX_BIT).isEqualTo(0); in cect_hf_4_11_5_CheckArcTxRxBits() 137 .getProperty(HdmiCecConstants.HDMI_DEVICE_TYPE_PROPERTY) in cect_hf_4_11_5_CheckArcTxRxBits() 138 .contains(Integer.toString(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)); in cect_hf_4_11_5_CheckArcTxRxBits() 140 getDevice().getBooleanProperty(HdmiCecConstants.PROPERTY_ARC_SUPPORT, false); in cect_hf_4_11_5_CheckArcTxRxBits() 143 assertThat(params & HdmiCecConstants.FEATURES_SINK_SUPPORTS_ARC_RX_BIT).isEqualTo(1); in cect_hf_4_11_5_CheckArcTxRxBits() 146 assertThat(params & HdmiCecConstants.FEATURES_SINK_SUPPORTS_ARC_RX_BIT).isEqualTo(0); in cect_hf_4_11_5_CheckArcTxRxBits()
|
D | HdmiCecSystemAudioControlTest.java | 26 import android.hdmicec.cts.HdmiCecConstants; 51 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 53 this, HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)) 71 getSettingsValue(device, HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED); in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() 77 HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() 78 HdmiCecConstants.VOLUME_CONTROL_ENABLED); in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() 97 device, HdmiCecConstants.SETTING_VOLUME_CONTROL_ENABLED, volumeControlEnabled); in cect_hf4_10_5_RemoteControlCommandsWithSystemAudioControlProperty() 113 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_VOLUME_UP); in sendVolumeUpCommandAndCheckForUcp()
|
D | HdmiCecActiveTrackingTest.java | 24 import android.hdmicec.cts.HdmiCecConstants; 47 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecActiveTrackingTest() 57 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 78 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH); in cect_RemoveDeviceFromNetwork() 80 HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in cect_RemoveDeviceFromNetwork() 97 HOTPLUG_WAIT_TIME + HdmiCecConstants.DEVICE_WAIT_TIME_MS); in cect_RemoveDeviceFromNetwork() 98 TimeUnit.SECONDS.sleep(HdmiCecConstants.DEVICE_WAIT_TIME_SECONDS); in cect_RemoveDeviceFromNetwork()
|
D | HdmiCecWakeupTest.java | 21 import android.hdmicec.cts.HdmiCecConstants; 36 super(HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE); in HdmiCecWakeupTest() 46 this, HdmiCecConstants.CEC_DEVICE_TYPE_PLAYBACK_DEVICE)) 55 String prevMode = setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_TV); in cectOtpOnWakeupWhenPowerControlModeToTv() 73 HdmiCecConstants.POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM); in cectOtpOnWakeupWhenPowerControlModeToTvAndAudioSystem() 90 String prevMode = setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_BROADCAST); in cectOtpOnWakeupWhenPowerControlModeToBroadcast() 107 String prevMode = setPowerControlMode(HdmiCecConstants.POWER_CONTROL_MODE_NONE); in cectNoOtpOnWakeupWhenPowerControlModeNone()
|
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/ |
D | HdmiCecAudioReturnChannelControlTest.java | 23 import android.hdmicec.cts.HdmiCecConstants; 44 super(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM); in HdmiCecAudioReturnChannelControlTest() 54 this, HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)) 78 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_1_InitiateArc() 79 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_11_2_17_1_InitiateArc() 81 getDevice().waitForBootComplete(HdmiCecConstants.REBOOT_TIMEOUT); in cect_11_2_17_1_InitiateArc() 95 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_2_TerminateArc() 96 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_11_2_17_2_TerminateArc() 114 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_3_RequestToInitiateArc() 115 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_11_2_17_3_RequestToInitiateArc() [all …]
|
D | HdmiCecSystemAudioModeTest.java | 26 import android.hdmicec.cts.HdmiCecConstants; 52 super(HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM, "-t", "t"); in HdmiCecSystemAudioModeTest() 62 this, HdmiCecConstants.CEC_DEVICE_TYPE_AUDIO_SYSTEM)) 73 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in sendSystemAudioModeInitiation() 74 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in sendSystemAudioModeInitiation() 90 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in initateSystemAudioModeFromTuner() 91 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in initateSystemAudioModeFromTuner() 129 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_1_SystemAudioModeRequestAsFollower() 130 HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in cect_11_2_15_1_SystemAudioModeRequestAsFollower() 137 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_1_SystemAudioModeRequestAsFollower() [all …]
|