Home
last modified time | relevance | path

Searched refs:formatParams (Results 1 – 25 of 28) sorted by relevance

12

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecGeneralProtocolTest.java58 String dutPhysicalAddress = CecMessage.formatParams(getDumpsysPhysicalAddress(), in cect_hf_ignoreAdditionalParams()
60 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cect_hf_ignoreAdditionalParams()
84 String tvPhysicalAddress = CecMessage.formatParams(0x0000, in cectIgnoreAdditionalParamsAsMessage()
86 String dutPhysicalAddress = CecMessage.formatParams(getDumpsysPhysicalAddress(), in cectIgnoreAdditionalParamsAsMessage()
88 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cectIgnoreAdditionalParamsAsMessage()
DHdmiCecAvbToTvTest.java97 CecMessage.formatParams(50)); in testEnableDisableAvb_cec20_triggeredByReportFeatures()
131 CecMessage.formatParams(50)); in testEnableDisableAvb_triggeredByAvbSupportChanged()
137 CecMessage.formatParams(CecOperand.SET_AUDIO_VOLUME_LEVEL + "00")); in testEnableDisableAvb_triggeredByAvbSupportChanged()
166 CecMessage.formatParams(50)); in testEnableAndDisableAvb_triggeredByVolumeControlSettingChange()
192 CecMessage.formatParams(50)); in testOutgoingVolumeUpdates()
232 CecMessage.formatParams(50)); // Volume 50, mute off in testIncomingVolumeUpdates()
240 CecMessage.formatParams(90)); // Volume 90, mute off in testIncomingVolumeUpdates()
245 CecMessage.formatParams(70 + 0b1000_0000)); // Volume 70, mute on in testIncomingVolumeUpdates()
DHdmiCecRoutingControlTest.java74 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_1_2_2_RequestActiveSource()
109 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams(alternateAddress)); in cect_11_2_2_1_SetStreamPathToDut()
113 CecMessage.formatParams(dumpsysPhysicalAddress)); in cect_11_2_2_1_SetStreamPathToDut()
147 CecMessage.formatParams(dumpsysPhysicalAddress)); in cect_11_2_2_4_InactiveSourceOnStandby()
179 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams("0000")); in testPowerStateChangeOnActiveSourceLost_standby()
206 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams("0000")); in testPowerStateChangeOnActiveSourceLost_none()
DHdmiCecTvPowerToggleTest.java78 CecOperand.ACTIVE_SOURCE, CecMessage.formatParams("0000")); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
85 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_awake_noActiveSource_tvOn()
117 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_awake_activeSource_tvOn()
147 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(ON)); in cectTvPowerToggleTest_asleep_tvOn()
177 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(OFF)); in cectTvPowerToggleTest_asleep_tvOff()
DHdmiCecDeviceSelectForPlaybackTest.java88 String formattedPhysicalAddress = CecMessage.formatParams(physicalAddress, in reportPhysicalAddress()
90 String formattedDeviceType = CecMessage.formatParams(deviceType); in reportPhysicalAddress()
153 CecMessage.formatParams(HdmiCecConstants.CEC_POWER_STATUS_ON)); in cectDeviceSelectSameSource()
DHdmiCecActiveTrackingTest.java77 String formattedPhysicalAddress = CecMessage.formatParams(playback2PhysicalAddress, in cect_RemoveDeviceFromNetwork()
79 String formattedDeviceType = CecMessage.formatParams( in cect_RemoveDeviceFromNetwork()
DHdmiCecPowerStatusTest.java93 CecOperand.REPORT_POWER_STATUS, CecMessage.formatParams(OFF)); in cect_hf4_6_1_otp_viewOnBeforeUcp_20()
120 CecMessage.formatParams(getDumpsysPhysicalAddress(), in cect_hf4_6_7_setStreamPath_powerOn()
DHdmiCecSystemAudioControlTest.java106 CecMessage.formatParams(val ? 1 : 0)); in broadcastSystemAudioModeMessage()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecGeneralProtocolTest.java64 String parameterPlaybackPhysicalAddress = CecMessage.formatParams(playbackPhysicalAddress, in cect_hf_ignoreAdditionalParams()
66 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cect_hf_ignoreAdditionalParams()
102 String parameterClientPhysicalAddress = CecMessage.formatParams(clientPhysicalAddress, in cectIgnoreAdditionalParamsAsMessage()
104 String parameterPlaybackPhysicalAddress = CecMessage.formatParams(playbackPhysicalAddress, in cectIgnoreAdditionalParamsAsMessage()
106 String routingChange = CecMessage.formatParams(String.valueOf(CecOperand.ROUTING_CHANGE)); in cectIgnoreAdditionalParamsAsMessage()
DHdmiCecAvbToAudioSystemTest.java91 CecMessage.formatParams(50)); in testEnableDisableAdjustOnlyAvb_triggeredBySystemAudioModeChange()
128 CecMessage.formatParams(50)); in testEnableDisableAdjustOnlyAvb_triggeredByVolumeControlSettingChange()
159 CecMessage.formatParams(50)); in adjustOnlyAvb_testOutgoingVolumeUpdates()
201 CecMessage.formatParams(50)); // Volume 50, mute off in adjustOnlyAvb_testIncomingVolumeUpdates()
209 CecMessage.formatParams(90)); // Volume 90, mute off in adjustOnlyAvb_testIncomingVolumeUpdates()
214 CecMessage.formatParams(70 + 0b1000_0000)); // Volume 70, mute on in adjustOnlyAvb_testIncomingVolumeUpdates()
DHdmiCecSystemAudioControlTest.java118 CecMessage.formatParams(OFF)); in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
123 CecMessage.formatParams(ON)); in cect_11_1_15_7_DutMutesForSetSystemAudioModeOn()
146 CecMessage.formatParams(ON)); in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
151 CecMessage.formatParams(OFF)); in cect_11_1_15_8_DutUnmutesForSetSystemAudioModeOff()
DHdmiCecAudioReturnChannelControlTest.java88 CecMessage.formatParams(params)); in cect_11_1_17_2_ReportArcInitiated()
138 CecMessage.formatParams(nonAdjacentPhyAdd) in cect_11_1_17_5_NonAdjacentDeviceArcInitiation()
139 + CecMessage.formatParams( in cect_11_1_17_5_NonAdjacentDeviceArcInitiation()
214 CecMessage.formatParams(params)); in shortAudioDescriptorsRequested()
226 CecMessage.formatParams("A403")); in shortAudioDescriptorsRequested()
DHdmiCecAbsoluteVolumeControlFollowerTest.java67 CecMessage.formatParams((initialDeviceVolume + 50) % 101)); in testSystemAudioModeOn_respondsFeatureAbort()
101 CecMessage.formatParams(volumeToSet)); in testSystemAudioModeOff_updatesVolume()
DHdmiCecRoutingControlTest.java159 CecMessage.formatParams(hdmiCecClient.getPhysicalAddress())); in cect_11_1_2_4_DutAcceptsInactiveSourceMessage()
163 CecMessage.formatParams(CecOperand.INACTIVE_SOURCE.toString())); in cect_11_1_2_4_DutAcceptsInactiveSourceMessage()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecSystemAudioModeTest.java73 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in sendSystemAudioModeInitiation()
90 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in initateSystemAudioModeFromTuner()
98 CecMessage.formatParams("2000")); in handleSetSystemAudioModeOnToTv()
129 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_1_SystemAudioModeRequestAsFollower()
137 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_1_SystemAudioModeRequestAsFollower()
165 CecMessage.formatParams(CecOperand.SET_SYSTEM_AUDIO_MODE + "04")); in cect_11_2_15_3_SystemAudioModeWithFeatureAbort()
234 CecOperand.SET_SYSTEM_AUDIO_MODE, CecMessage.formatParams(OFF)); in cect_11_2_15_7_SystemAudioModeStatusOff()
252 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_8_HandleUcpMute()
386 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_16_UnmuteForSystemAudioRequestOn()
404 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_15_17_MuteForSystemAudioRequestOff()
[all …]
DHdmiCecAudioReturnChannelControlTest.java78 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_1_InitiateArc()
95 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_2_TerminateArc()
114 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_3_RequestToInitiateArc()
131 CecMessage.formatParams(HdmiCecConstants.TV_PHYSICAL_ADDRESS, in cect_11_2_17_4_RequestToTerminateArc()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecVendorCommandsTest.java158 String params = CecMessage.formatParams(VENDOR_ID);
159 params += CecMessage.formatParams("010203");
179 String params = CecMessage.formatParams("010203");
198 String params = CecMessage.formatParams("010203");
217 String params = CecMessage.formatParams(VENDOR_ID);
218 params += CecMessage.formatParams("010203");
DHdmiCecSystemAudioControlTest.java96 CecMessage.formatParams(1)); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
137 CecMessage.formatParams(1)); in cect_MuteUserControlPressedWhenSystemAudioControlOn()
DHdmiCecSystemInformationTest.java240 CecMessage.formatParams(vendorId, 6) + CecMessage.formatParams("01DBF7E498"); in cect_hf_4_2_17_VendorCommandWithIncorrectId()
263 CecMessage.formatParams(vendorId, 6)); in cect_hf_4_2_17_VendorCommandWithIncorrectId()
DHdmiCecFeatureAbortTest.java69 CecMessage.formatParams(abortReason)); in cect_hf4_2_11_featureAbortBehavior()
DHdmiCecInvalidMessagesTest.java88 String formattedPhysicalAddress = CecMessage.formatParams(physicalAddress, in reportPhysicalAddress()
90 String formattedDeviceType = CecMessage.formatParams(deviceType); in reportPhysicalAddress()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DCecMessage.java30 return "" + source + destination + ":" + operand + formatParams(params); in buildCecMessage()
33 public static String formatParams(String rawParams) { in formatParams() method in CecMessage
46 public static String formatParams(long rawParam) { in formatParams() method in CecMessage
61 public static String formatParams(long rawParam, int minimumNibbles) { in formatParams() method in CecMessage
DBaseHdmiCecAbsoluteVolumeBehaviorTest.java124 CecMessage.formatParams(val ? 1 : 0)); in broadcastSystemAudioModeMessage()
139 CecMessage.formatParams("06" + deviceTypeNibble + "00" + featureSupportNibble)); in sendReportFeatures()
DAudioManagerHelper.java145 messageParams += CecMessage.formatParams(mSupportedAudioFormats.get(listIndex), 2); in getRequestSadFormatsParams()
152 messageParams += CecMessage.formatParams(unsupportedAudioFormats.get(listIndex), 2); in getRequestSadFormatsParams()
DHdmiCecClientWrapper.java257 CecMessage.formatParams(sourcePa, HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH)); in broadcastActiveSource()
270 CecMessage.formatParams( in broadcastActiveSource()
280 String deviceType = CecMessage.formatParams(source.getDeviceType()); in broadcastReportPhysicalAddress()
283 CecMessage.formatParams(sourcePa, HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH); in broadcastReportPhysicalAddress()
297 String deviceType = CecMessage.formatParams(source.getDeviceType()); in broadcastReportPhysicalAddress()
299 CecMessage.formatParams( in broadcastReportPhysicalAddress()

12