Home
last modified time | relevance | path

Searched refs:getParams (Results 1 – 25 of 27) sorted by relevance

12

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/audio/
DHdmiCecSystemAudioModeTest.java83 return CecMessage.getParams(message); in getDutAudioStatus()
101 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in handleSetSystemAudioModeOnToTv()
132 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_1_SystemAudioModeRequestAsFollower()
140 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_1_SystemAudioModeRequestAsFollower()
152 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_2_SystemAudioModeWithFeatureInitiation()
183 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_4_SystemAudioModeStatusOn()
188 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_4_SystemAudioModeStatusOn()
200 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_5_SetSystemAudioModeOff()
203 assertThat(CecMessage.getParams(message)).isEqualTo(OFF); in cect_11_2_15_5_SetSystemAudioModeOff()
217 assertThat(CecMessage.getParams(message)).isEqualTo(ON); in cect_11_2_15_6_SystemAudioModeOffBeforeStandby()
[all …]
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecPowerStatusTest.java81 if (CecMessage.getParams(reportPowerStatus) == HdmiCecConstants.CEC_POWER_STATUS_STANDBY) { in cect_hf4_6_20_broadcastsWhenTurningOn()
87 assertThat(CecMessage.getParams(reportPowerStatus)).isEqualTo( in cect_hf4_6_20_broadcastsWhenTurningOn()
113 if (CecMessage.getParams(reportPowerStatus) == HdmiCecConstants.CEC_POWER_STATUS_ON) { in cect_hf4_6_21_broadcastsWhenGoingToStandby()
120 assertThat(CecMessage.getParams(reportPowerStatus)) in cect_hf4_6_21_broadcastsWhenGoingToStandby()
149 switch (CecMessage.getParams(reportPowerStatus)) { in cect_hf4_6_22_interruptedPowerOn()
156 assertThat(CecMessage.getParams(reportPowerStatus)) in cect_hf4_6_22_interruptedPowerOn()
163 int powerState = CecMessage.getParams(reportPowerStatus); in cect_hf4_6_22_interruptedPowerOn()
168 powerState = CecMessage.getParams(reportPowerStatus); in cect_hf4_6_22_interruptedPowerOn()
205 switch (CecMessage.getParams(reportPowerStatus)) { in cect_hf4_6_23_interruptedStandby()
212 assertThat(CecMessage.getParams(reportPowerStatus)) in cect_hf4_6_23_interruptedStandby()
[all …]
DHdmiCecGeneralProtocolTest.java141 assertThat(CecMessage.getParams(message)).isEqualTo(cecVersion); in cect_hf_4_2_15()
147 physicalAddressParams = CecMessage.getParams(message); in cect_hf_4_2_15()
152 features = CecMessage.getParams(message); in cect_hf_4_2_15()
160 assertThat(CecMessage.getParams(message)) in cect_hf_4_2_15()
186 assertThat(CecMessage.getParams(message)).isEqualTo(cecVersion); in cect_hf_4_2_15()
192 assertThat(CecMessage.getParams(message)).isEqualTo(physicalAddressParams); in cect_hf_4_2_15()
197 assertThat(CecMessage.getParams(message)).isEqualTo(features); in cect_hf_4_2_15()
204 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_POWER_STATUS_ON); in cect_hf_4_2_15()
DHdmiCecSystemInformationTest.java78 int receivedParams = CecMessage.getParams(message); in cect_11_2_6_2_GivePhysicalAddress()
107 int receivedParams = CecMessage.getParams(message, 2, 4); in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
149 assertThat(CecMessage.getParams(message)).isEqualTo(cecVersion); in cect_11_2_6_6_GiveCecVersion()
168 assertThat(CecMessage.getParams(reportCecVersion)).isEqualTo(cecVersion); in cect_hf4_2_12_GiveCecVersion()
175 assertThat(CecMessage.getParams(reportFeatures, 2)).isEqualTo(cecVersion); in cect_hf4_2_12_GiveCecVersion()
194 assertThat(CecMessage.getParams(message)) in cectGiveCecVersionInStandby()
223 assertThat(CecMessage.getParams(message)) in cect_hf_4_2_16_GiveDeviceVendorId()
254 if (CecMessage.getParams(message) == vendorId) { in cect_hf_4_2_17_VendorCommandWithIncorrectId()
DHdmiCecSystemAudioControlTest.java101 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_VOLUME_UP); in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
110 assertThat(CecMessage.getParams(message)) in cect_VolumeUpDownUserControlPressedWhenSystemAudioControlOn()
142 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_MUTE); in cect_MuteUserControlPressedWhenSystemAudioControlOn()
DHdmiCecLogicalAddressTest.java58 int deviceType = CecMessage.getParams(message, 4, 6); in cect_RebootLogicalAddress()
DHdmiCecVendorCommandsTest.java83 assertThat(CecMessage.getParams(message)).isNotEqualTo(INCORRECT_VENDOR_ID); in cect_11_2_9_1_GiveDeviceVendorId()
111 assertThat(CecMessage.getParams(message)).isNotEqualTo(INCORRECT_VENDOR_ID); in cect_11_2_9_2_DeviceVendorIdOnInit()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecRemoteControlPassThroughTest.java123 int remoteControlProfileSource = CecMessage.getParams(message, 4, 6); 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()
199 int reason = CecMessage.getParams(message) & 0xFF; in cect_hf4_8_13_AbortIncorrectMode()
242 assertThat(CecMessage.getParams(ucpMessage)) in cect_sendVolumeKeyPressToTv()
248 assertThat(CecMessage.getParams(ucpMessage)) in cect_sendVolumeKeyPressToTv()
254 assertThat(CecMessage.getParams(ucpMessage)) in cect_sendVolumeKeyPressToTv()
DHdmiCecSystemInformationTest.java62 int abortedOpcode = CecMessage.getParams(message, in cect_11_2_6_7_GetMenuLanguage()
117 int params = CecMessage.getParams(message, 6, 8); in cect_hf_4_11_4_SinkArcTxBitReset()
132 int params = CecMessage.getParams(message, 6, 8); in cect_hf_4_11_5_CheckArcTxRxBits()
DHdmiCecAvbToTvTest.java200 assertThat(CecMessage.getParams(setAudioVolumeLevelMessage)).isEqualTo(80); in testOutgoingVolumeUpdates()
207 assertThat(CecMessage.getParams(userControlPressedMessage)) in testOutgoingVolumeUpdates()
DHdmiCecSystemAudioControlTest.java113 assertThat(CecMessage.getParams(message)).isEqualTo(HdmiCecConstants.CEC_KEYCODE_VOLUME_UP); in sendVolumeUpCommandAndCheckForUcp()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DCecMessage.java93 public static int getParams(String message) { in getParams() method in CecMessage
98 public static int getParams(String message, int numNibbles) { in getParams() method in CecMessage
110 public static int getParams(String message, int start, int end) { in getParams() method in CecMessage
151 int physicalAddress = getParams(message, HdmiCecConstants.PHYSICAL_ADDRESS_LENGTH); in assertPhysicalAddressValid()
157 int targetPhysicalAddress = getParams(message, 4, 8); in assertTargetPhysicalAddressValid()
DBaseHdmiCecCtsTest.java366 boolean supportsCec2 = CecMessage.getParams(reportCecVersion) in setCec20()
450 CecMessage.getParams( in waitForTransitionTo()
462 CecMessage.getParams( in waitForTransitionTo()
DHdmiCecClientWrapper.java789 CecOperand.getOperand(CecMessage.getParams(line, 0, 2)); in checkExpectedOutput()
790 int reason = CecMessage.getParams(line, 2, 4); in checkExpectedOutput()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/tv/
DHdmiCecAbsoluteVolumeControlFollowerTest.java73 assertThat(CecOperand.getOperand(CecMessage.getParams(featureAbort, 0, 2))) in testSystemAudioModeOn_respondsFeatureAbort()
75 assertThat(CecMessage.getParams(featureAbort, 2, 4)).isEqualTo(1); in testSystemAudioModeOn_respondsFeatureAbort()
DHdmiCecAudioReturnChannelControlTest.java221 codecs.add(CecMessage.getParams(requestSad1, 2 * i, 2 * i + 2)); in shortAudioDescriptorsRequested()
230 codecs.add(CecMessage.getParams(requestSad2, 2 * i, 2 * i + 2)); in shortAudioDescriptorsRequested()
DHdmiCecRoutingControlTest.java106 .that(CecMessage.getParams(message)) in cect_11_1_2_1_DutSendsSetStreamPathMessage()
DHdmiCecTvOneTouchPlayTest.java195 CecMessage.getParams( in assertDevicePowerStatus()
DHdmiCecAvbToAudioSystemTest.java175 assertThat(CecMessage.getParams(userControlPressedMessage)) in adjustOnlyAvb_testOutgoingVolumeUpdates()
DHdmiCecRemoteControlPassThroughTest.java184 assertThat(CecMessage.getParams(message)).isEqualTo(keyMaps.get(remoteKey)); in validateKeyeventToUserControlPress()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyFactoryTest.java273 ecPublicKey.getParams(), spec.getParams()); in testGetKeySpecWithKeystorePublicKeyAcceptsTransparentKeySpec()
DKeyPairGeneratorTest.java458 ECCurves.NIST_P_256_SPEC, ((ECPublicKey) keyPair.getPublic()).getParams()); in testGenerate_EC_LegacySpec()
505 ECCurves.NIST_P_256_SPEC, ((ECPublicKey) keyPair.getPublic()).getParams()); in testGenerate_EC_LegacySpec()
551 ECCurves.NIST_P_256_SPEC, ((ECPublicKey) keyPair.getPublic()).getParams()); in testGenerate_EC_LegacySpec()
1032 ECCurves.NIST_P_256_SPEC, ((ECKey) keyPair.getPrivate()).getParams()); in testGenerate_EC_ModernSpec_DefaultsHelper()
1131 ECCurves.NIST_P_224_SPEC, ((ECKey) keyPair.getPrivate()).getParams()); in testGenerate_EC_ModernSpec_AsCustomAsPossible()
1202 ECCurves.NIST_P_256_SPEC, ((ECKey) keyPair.getPrivate()).getParams()); in testGenerate_EC_ModernSpec_AsCustomAsPossibleStrongbox()
1798 ((ECKey) keyPair.getPublic()).getParams()); in assertKeyGenUsingECSizeOnlyUsesCorrectCurve()
1833 ((ECKey) keyPair.getPublic()).getParams()); in assertKeyGenUsingECNamedCurveSupported()
DAndroidKeyStoreTest.java1189 ((ECKey) expectedKey).getParams().getCurve(), in assertPrivateKeyEntryEquals()
1190 ((ECKey) privKey).getParams().getCurve()); in assertPrivateKeyEntryEquals()
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java300 ((ECKey) publicKey).getParams(), ((ECKey) privateKey).getParams()); in assertKeyPairSelfConsistent()
339 return ((ECKey) key).getParams().getCurve().getField().getFieldSize(); in getKeySizeBits()
/cts/tests/tests/text/src/android/text/cts/
DLayoutUseBoundsTest.kt60 fun getParams(): List<Param> = listOf( in getParams() method

12