Home
last modified time | relevance | path

Searched refs:LogicalAddress (Results 1 – 25 of 33) sorted by relevance

12

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecRemoteControlPassThroughTest.java23 import android.hdmicec.cts.LogicalAddress;
62 .around(CecRules.requiresDeviceType(this, LogicalAddress.AUDIO_SYSTEM))
79 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
82 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
85 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
88 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
91 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
94 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_1_UserControlPressAndRelease()
113 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_2_UserControlPressAndHold()
116 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in cect_11_2_13_2_UserControlPressAndHold()
[all …]
DHdmiCecInvalidMessagesTest.java29 import android.hdmicec.cts.LogicalAddress;
47 private static final LogicalAddress AUDIO_DEVICE = LogicalAddress.AUDIO_SYSTEM;
76 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in checkArcIsInitiated()
78 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in checkArcIsInitiated()
92 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus()
93 LogicalAddress.BROADCAST, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus()
96 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveAudioStatus()
109 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus()
110 LogicalAddress.BROADCAST, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus()
113 LogicalAddress.TV, in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveSystemAudioModeStatus()
[all …]
DHdmiCecAudioReturnChannelControlTest.java26 import android.hdmicec.cts.LogicalAddress;
43 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()
74 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_1_InitiateArc()
80 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_2_17_1_InitiateArc()
91 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_2_TerminateArc()
97 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_2_17_2_TerminateArc()
110 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_17_3_RequestToInitiateArc()
114 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in cect_11_2_17_3_RequestToInitiateArc()
[all …]
DHdmiCecSystemAudioModeTest.java29 import android.hdmicec.cts.LogicalAddress;
47 private static final LogicalAddress AUDIO_DEVICE = LogicalAddress.AUDIO_SYSTEM;
64 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in sendSystemAudioModeTermination()
69 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, in sendSystemAudioModeInitiation()
78 hdmiCecClient.sendCecMessage(LogicalAddress.TV, AUDIO_DEVICE, CecOperand.GIVE_AUDIO_STATUS); in getDutAudioStatus()
79 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in getDutAudioStatus()
86 hdmiCecClient.sendCecMessage(LogicalAddress.TUNER_1, AUDIO_DEVICE, in initateSystemAudioModeFromTuner()
95 …hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE, in handleSetSystemAudioModeOnToTv()
97 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in handleSetSystemAudioModeOnToTv()
105 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.AUDIO_SYSTEM, in initiateSystemAudioModeFromDut()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecRemoteControlPassThroughTest.java23 import android.hdmicec.cts.LogicalAddress;
66 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
83 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
86 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
89 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
92 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
95 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
99 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_1_UserControlPressAndRelease()
118 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_2_UserControlPressAndHold()
121 hdmiCecClient.sendUserControlPressAndRelease(LogicalAddress.TV, LogicalAddress.PLAYBACK_1, in cect_11_2_13_2_UserControlPressAndHold()
[all …]
DHdmiCecTvPowerToggleTest.java26 import android.hdmicec.cts.LogicalAddress;
51 private static final LogicalAddress PLAYBACK_DEVICE = LogicalAddress.PLAYBACK_1;
59 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
88 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
89 hdmiCecClient.sendCecMessage(LogicalAddress.TV, PLAYBACK_DEVICE, in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
92 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
97 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
98 hdmiCecClient.sendCecMessage(LogicalAddress.TV, PLAYBACK_DEVICE, in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
101 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.STANDBY); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
122 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.GIVE_POWER_STATUS); in cectTvPowerToggleTest_awake_activeSource_tvOn()
[all …]
DHdmiCecRoutingControlTest.java25 import android.hdmicec.cts.LogicalAddress;
56 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
76 LogicalAddress.TV, in cect_11_1_2_2_RequestActiveSource()
77 LogicalAddress.BROADCAST, in cect_11_1_2_2_RequestActiveSource()
88 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_1_2_2_RequestActiveSource()
92 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_RequestActiveSource()
113 hdmiCecClient.sendCecMessage(LogicalAddress.PLAYBACK_2, LogicalAddress.BROADCAST, in cect_11_2_2_1_SetStreamPathToDut()
116 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_2_1_SetStreamPathToDut()
132 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_2_2_RequestActiveSource()
149 LogicalAddress.TV, in cect_11_2_2_4_InactiveSourceOnStandby()
[all …]
DHdmiCecSystemInformationTest.java28 import android.hdmicec.cts.LogicalAddress;
49 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
62 hdmiCecClient.sendCecMessage(LogicalAddress.TV, CecOperand.GET_MENU_LANGUAGE); in cect_11_2_6_7_GetMenuLanguage()
63 … String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.FEATURE_ABORT); in cect_11_2_6_7_GetMenuLanguage()
81 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_6_3_SetValidMenuLanguage()
101 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in cect_11_2_6_4_SetInvalidMenuLanguage()
121 hdmiCecClient.sendCecMessage(LogicalAddress.RECORDER_1, LogicalAddress.BROADCAST, in cect_11_2_6_5_SetValidMenuLanguageFromInvalidSource()
149 hdmiCecClient.sendCecMessage(LogicalAddress.TV, LogicalAddress.BROADCAST, in setMenuLanguageNotHandledWhenDisabled()
DHdmiCecDeviceOsdNameTest.java26 import android.hdmicec.cts.LogicalAddress;
42 private static final LogicalAddress PLAYBACK_DEVICE = LogicalAddress.PLAYBACK_1;
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()
88 String message = hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, in cect_11_2_11_1b_UpdateAndGiveOsdNameTest()
102 hdmiCecClient.sendCecMessage(LogicalAddress.BROADCAST, CecOperand.GIVE_OSD_NAME); in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest()
103 hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.BROADCAST, in cect_11_2_11_2_UnregisteredDeviceGiveOsdNameTest()
DHdmiCecPowerStatusTest.java26 import android.hdmicec.cts.LogicalAddress;
53 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
79 LogicalAddress.TV, in cect_hf4_6_7_setStreamPath_powerOn()
80 LogicalAddress.BROADCAST, in cect_hf4_6_7_setStreamPath_powerOn()
DHdmiCecOneTouchPlayTest.java24 import android.hdmicec.cts.LogicalAddress;
64 .around(CecRules.requiresDeviceType(this, LogicalAddress.PLAYBACK_1))
77 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_2_1_1_OneTouchPlay()
91 hdmiCecClient.checkExpectedOutput(LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_PairingActivity_OneTouchPlay()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecAudioReturnChannelControlTest.java25 import android.hdmicec.cts.LogicalAddress;
39 private static final LogicalAddress TV_DEVICE = LogicalAddress.TV;
62 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_17_1_DutSendsRequestArcInitiation()
83 LogicalAddress.AUDIO_SYSTEM, in cect_11_1_17_2_ReportArcInitiated()
84 LogicalAddress.BROADCAST, in cect_11_1_17_2_ReportArcInitiated()
88 LogicalAddress.AUDIO_SYSTEM, LogicalAddress.TV, CecOperand.INITIATE_ARC); in cect_11_1_17_2_ReportArcInitiated()
89 hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.ARC_INITIATED); in cect_11_1_17_2_ReportArcInitiated()
102 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_17_3_DutSendsRequestArcTermination()
120 LogicalAddress.AUDIO_SYSTEM, LogicalAddress.TV, CecOperand.TERMINATE_ARC); in cect_11_1_17_2_4_ReportArcInitiatedTerminated()
121 hdmiCecClient.checkExpectedOutput(LogicalAddress.AUDIO_SYSTEM, CecOperand.ARC_TERMINATED); in cect_11_1_17_2_4_ReportArcInitiatedTerminated()
[all …]
DHdmiCecTvOneTouchPlayTest.java23 import android.hdmicec.cts.LogicalAddress;
41 private static final LogicalAddress TV_DEVICE = LogicalAddress.TV;
43 List<LogicalAddress> testDevices = new ArrayList<>();
48 testDevices.add(LogicalAddress.RECORDER_1); in HdmiCecTvOneTouchPlayTest()
49 testDevices.add(LogicalAddress.TUNER_1); in HdmiCecTvOneTouchPlayTest()
50 testDevices.add(LogicalAddress.PLAYBACK_1); in HdmiCecTvOneTouchPlayTest()
68 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_1_RespondToImageViewOn()
69 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.IMAGE_VIEW_ON); in cect_11_1_1_1_RespondToImageViewOn()
88 for (LogicalAddress testDevice : testDevices) { in cect_11_1_1_2_RespondToTextViewOn()
89 hdmiCecClient.sendCecMessage(testDevice, LogicalAddress.TV, CecOperand.TEXT_VIEW_ON); in cect_11_1_1_2_RespondToTextViewOn()
[all …]
DHdmiCecRemoteControlPassThroughTest.java26 import android.hdmicec.cts.LogicalAddress;
52 .around(CecRules.requiresDeviceType(this, LogicalAddress.TV))
69 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in checkForInitialActiveSourceMessage()
77 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in checkForInitialActiveSourceMessage()
90 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_1_RemoteControlMessagesToRecorder()
91 validateKeyeventToUserControlPress(LogicalAddress.RECORDER_1); in cect_11_1_13_1_RemoteControlMessagesToRecorder()
103 LogicalAddress.PLAYBACK_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_2_RemoteControlMessagesToPlayback()
104 validateKeyeventToUserControlPress(LogicalAddress.PLAYBACK_1); in cect_11_1_13_2_RemoteControlMessagesToPlayback()
116 LogicalAddress.TUNER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_13_3_RemoteControlMessagesToTuner()
117 validateKeyeventToUserControlPress(LogicalAddress.TUNER_1); in cect_11_1_13_3_RemoteControlMessagesToTuner()
[all …]
DHdmiCecSystemInformationTest.java25 import android.hdmicec.cts.LogicalAddress;
44 .around(CecRules.requiresDeviceType(this, LogicalAddress.TV))
61 LogicalAddress sources[] = { in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
62 LogicalAddress.RECORDER_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
63 LogicalAddress.TUNER_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
64 LogicalAddress.PLAYBACK_1, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
65 LogicalAddress.AUDIO_SYSTEM, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
66 LogicalAddress.RESERVED_2, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
67 LogicalAddress.SPECIFIC_USE, in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
68 LogicalAddress.BROADCAST in cect_11_1_6_5_DutRespondsToGetMenuLanguage()
[all …]
DHdmiCecRoutingControlTest.java26 import android.hdmicec.cts.LogicalAddress;
46 .around(CecRules.requiresDeviceType(this, LogicalAddress.TV))
62 LogicalAddress.RECORDER_1, CecOperand.ACTIVE_SOURCE); in checkForInitialActiveSourceMessage()
83 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.TUNER_1, 0x2100); in cect_11_1_2_1_DutSendsSetStreamPathMessage()
85 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.PLAYBACK_1, 0x2200); in cect_11_1_2_1_DutSendsSetStreamPathMessage()
89 getDevice(), LogicalAddress.PLAYBACK_1.getLogicalAddressAsInt()); in cect_11_1_2_1_DutSendsSetStreamPathMessage()
106 getDevice(), LogicalAddress.TV.getLogicalAddressAsInt()); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
112 LogicalAddress.BROADCAST, in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
115 LogicalAddress.BROADCAST, CecOperand.ACTIVE_SOURCE); in cect_11_1_2_2_DutDoesNotRespondToRequestActiveSourceMessage()
128 getDevice(), LogicalAddress.TV.getLogicalAddressAsInt()); in cect_11_1_2_3_DutDoesRespondToRequestActiveSourceMessage()
[all …]
DHdmiCecSystemAudioControlTest.java26 import android.hdmicec.cts.LogicalAddress;
47 .around(CecRules.requiresDeviceType(this, LogicalAddress.TV))
62 hdmiCecClient.broadcastReportPhysicalAddress(LogicalAddress.AUDIO_SYSTEM); in cect_11_1_15_1_DutSendsSystemAudioModeRequest()
64 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_15_1_DutSendsSystemAudioModeRequest()
65 hdmiCecClient.sendCecMessage(LogicalAddress.RECORDER_1, CecOperand.IMAGE_VIEW_ON); in cect_11_1_15_1_DutSendsSystemAudioModeRequest()
67 LogicalAddress.RECORDER_1, hdmiCecClient.getPhysicalAddress()); in cect_11_1_15_1_DutSendsSystemAudioModeRequest()
112 LogicalAddress.BROADCAST, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
117 LogicalAddress.BROADCAST, in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
140 LogicalAddress.BROADCAST, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
145 LogicalAddress.BROADCAST, in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
[all …]
DHdmiCecTvStandbyTest.java22 import android.hdmicec.cts.LogicalAddress;
39 private static final LogicalAddress TV_DEVICE = LogicalAddress.TV;
68 hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, CecOperand.STANDBY); in cect_11_1_3_1_BroadcastStandby()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecSystemInformationTest.java27 import android.hdmicec.cts.LogicalAddress;
58 List<LogicalAddress> testDevices = in cect_11_2_6_2_GivePhysicalAddress()
60 LogicalAddress.TV, in cect_11_2_6_2_GivePhysicalAddress()
61 LogicalAddress.RECORDER_1, in cect_11_2_6_2_GivePhysicalAddress()
62 LogicalAddress.TUNER_1, in cect_11_2_6_2_GivePhysicalAddress()
63 LogicalAddress.PLAYBACK_1, in cect_11_2_6_2_GivePhysicalAddress()
64 LogicalAddress.AUDIO_SYSTEM, in cect_11_2_6_2_GivePhysicalAddress()
65 LogicalAddress.BROADCAST); in cect_11_2_6_2_GivePhysicalAddress()
66 for (LogicalAddress testDevice : testDevices) { in cect_11_2_6_2_GivePhysicalAddress()
89 List<LogicalAddress> testDevices = in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
[all …]
DHdmiCecSystemStandbyTest.java24 import android.hdmicec.cts.LogicalAddress;
49 public List<LogicalAddress> mLogicalAddresses = new ArrayList<>();
80 for (LogicalAddress source : mLogicalAddresses) { in cect_HandleBroadcastStandby()
82 hdmiCecClient.sendCecMessage(source, LogicalAddress.BROADCAST, CecOperand.STANDBY); in cect_HandleBroadcastStandby()
95 for (LogicalAddress source : mLogicalAddresses) { in cect_HandleAddressedStandby()
115 hdmiCecClient.checkOutputDoesNotContainMessage(LogicalAddress.BROADCAST, in cect_11_2_3_4_NoBroadcastStandby()
121 mLogicalAddresses.add(LogicalAddress.TV); in defineLogicalAddressList()
122 mLogicalAddresses.add(LogicalAddress.RECORDER_1); in defineLogicalAddressList()
123 mLogicalAddresses.add(LogicalAddress.TUNER_1); in defineLogicalAddressList()
124 mLogicalAddresses.add(LogicalAddress.PLAYBACK_1); in defineLogicalAddressList()
[all …]
DHdmiCecInvalidMessagesTest.java24 import android.hdmicec.cts.LogicalAddress;
57 private LogicalAddress source;
67 source = (hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV)) ? LogicalAddress.RECORDER_1 in setup()
68 : LogicalAddress.TV; in setup()
104 hdmiCecClient.sendCecMessage(source, LogicalAddress.BROADCAST, CecOperand.GET_CEC_VERSION); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_getCecVersion()
118 source, LogicalAddress.BROADCAST, CecOperand.GIVE_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress()
120 LogicalAddress.BROADCAST, CecOperand.REPORT_PHYSICAL_ADDRESS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePhysicalAddress()
132 source, LogicalAddress.BROADCAST, CecOperand.GIVE_POWER_STATUS); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_givePowerStatus()
146 source, LogicalAddress.BROADCAST, CecOperand.GIVE_DEVICE_VENDOR_ID); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveDeviceVendorId()
148 LogicalAddress.BROADCAST, CecOperand.DEVICE_VENDOR_ID); in cect_12_2_DirectlyAddressedReceivedAsBroadcast_giveDeviceVendorId()
[all …]
DHdmiCecPowerStatusTest.java26 import android.hdmicec.cts.LogicalAddress;
78 String reportPowerStatus = hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, in cect_hf4_6_20_broadcastsWhenTurningOn()
83 reportPowerStatus = hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, in cect_hf4_6_20_broadcastsWhenTurningOn()
110 String reportPowerStatus = hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, in cect_hf4_6_21_broadcastsWhenGoingToStandby()
115 reportPowerStatus = hdmiCecClient.checkExpectedOutput(LogicalAddress.BROADCAST, in cect_hf4_6_21_broadcastsWhenGoingToStandby()
137 LogicalAddress cecClientDevice = hdmiCecClient.getSelfDevice(); in cect_PowerStatusWhenOn()
161 LogicalAddress cecClientDevice = hdmiCecClient.getSelfDevice(); in cect_PowerStatusWhenOff()
192 LogicalAddress source = hasDeviceType(HdmiCecConstants.CEC_DEVICE_TYPE_TV) in cect_hf4_6_8_userControlPressed_powerOn()
193 ? LogicalAddress.PLAYBACK_1 in cect_hf4_6_8_userControlPressed_powerOn()
194 : LogicalAddress.TV; in cect_hf4_6_8_userControlPressed_powerOn()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java51 private LogicalAddress selfDevice = LogicalAddress.RECORDER_1;
52 private LogicalAddress targetDevice = LogicalAddress.UNKNOWN;
68 void setTargetLogicalAddress(LogicalAddress dutLogicalAddress) { in setTargetLogicalAddress()
131 if (targetDevice == LogicalAddress.UNKNOWN) { in init()
147 selfDevice = LogicalAddress.TV; in init()
154 selfDevice = LogicalAddress.AUDIO_SYSTEM; in init()
179 sendCecMessage(LogicalAddress.BROADCAST, targetDevice, message, ""); in sendCecMessage()
186 public void sendCecMessage(LogicalAddress source, CecOperand message) throws Exception { in sendCecMessage()
194 public void sendCecMessage(LogicalAddress source, CecOperand message, String params) in sendCecMessage()
203 public void sendCecMessage(LogicalAddress source, LogicalAddress destination, in sendCecMessage()
[all …]
DLogicalAddress.java22 public enum LogicalAddress { enum
50 for (LogicalAddress device : LogicalAddress.values()) {
87 public static LogicalAddress getLogicalAddress(int address) { in getLogicalAddress()
88 return (LogicalAddress) deviceMap.get(address); in getLogicalAddress()
91 private LogicalAddress(int address) { in LogicalAddress() method in LogicalAddress
DBaseHdmiCecCtsTest.java60 public List<LogicalAddress> mDutLogicalAddresses = new ArrayList<>();
113 LogicalAddress dutLogicalAddress) { in requiresDeviceType()
145 public List<LogicalAddress> getDumpsysLogicalAddresses() throws Exception { in getDumpsysLogicalAddresses()
150 public static List<LogicalAddress> getDumpsysLogicalAddresses(ITestDevice device) in getDumpsysLogicalAddresses()
152 List<LogicalAddress> logicalAddressList = new ArrayList<>(); in getDumpsysLogicalAddresses()
169 LogicalAddress logicalAddress = LogicalAddress.getLogicalAddress(address); in getDumpsysLogicalAddresses()
183 public LogicalAddress getTargetLogicalAddress() throws Exception { in getTargetLogicalAddress()
188 public static LogicalAddress getTargetLogicalAddress(ITestDevice device) throws Exception { in getTargetLogicalAddress()
199 public static LogicalAddress getTargetLogicalAddress(ITestDevice device, int testDeviceType) in getTargetLogicalAddress()
201 List<LogicalAddress> logicalAddressList = getDumpsysLogicalAddresses(device); in getTargetLogicalAddress()
[all …]

12