Home
last modified time | relevance | path

Searched refs:HdmiCecMessageValidator (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DSetAudioVolumeLevelMessage.java19 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_SHORT;
20 import static com.android.server.hdmi.HdmiCecMessageValidator.OK;
21 import static com.android.server.hdmi.HdmiCecMessageValidator.ValidationResult;
90 return HdmiCecMessageValidator.validateAddress(source, destination, in validateAddress()
91 HdmiCecMessageValidator.ADDR_NOT_UNREGISTERED, HdmiCecMessageValidator.ADDR_DIRECT); in validateAddress()
DHdmiCecMessage.java19 import static com.android.server.hdmi.HdmiCecMessageValidator.ValidationResult;
63 HdmiCecMessageValidator.validate(source, destination, opcode & 0xFF, params)); in HdmiCecMessage()
179 if (mValidationResult != HdmiCecMessageValidator.OK) { in toString()
188 case HdmiCecMessageValidator.OK: in validationResultToString()
190 case HdmiCecMessageValidator.ERROR_SOURCE: in validationResultToString()
192 case HdmiCecMessageValidator.ERROR_DESTINATION: in validationResultToString()
194 case HdmiCecMessageValidator.ERROR_PARAMETER: in validationResultToString()
196 case HdmiCecMessageValidator.ERROR_PARAMETER_SHORT: in validationResultToString()
DReportFeaturesMessage.java19 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_SHORT;
20 import static com.android.server.hdmi.HdmiCecMessageValidator.OK;
21 import static com.android.server.hdmi.HdmiCecMessageValidator.ValidationResult;
169 return HdmiCecMessageValidator.validateAddress(source, destination, in validateAddress()
170 HdmiCecMessageValidator.ADDR_NOT_UNREGISTERED, in validateAddress()
171 HdmiCecMessageValidator.ADDR_BROADCAST); in validateAddress()
DHdmiCecMessageValidator.java29 public class HdmiCecMessageValidator { class
94 private HdmiCecMessageValidator() {} in HdmiCecMessageValidator() method in HdmiCecMessageValidator
DHdmiControlService.java1701 if (command.getValidationResult() == HdmiCecMessageValidator.OK in sendCecCommandWithoutRetries()
1809 @HdmiCecMessageValidator.ValidationResult in handleCecCommand()
1811 if (validationResult == HdmiCecMessageValidator.ERROR_PARAMETER in handleCecCommand()
1812 || validationResult == HdmiCecMessageValidator.ERROR_PARAMETER_LONG in handleCecCommand()
1815 } else if (validationResult != HdmiCecMessageValidator.OK in handleCecCommand()
DHdmiCecController.java807 if (command.getValidationResult() != HdmiCecMessageValidator.OK) { in handleIncomingCecCommand()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DSetAudioVolumeLevelMessageTest.java19 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_DESTINATION;
20 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_SHORT;
21 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_SOURCE;
42 assertThat(message.getValidationResult()).isEqualTo(HdmiCecMessageValidator.OK); in build_maxVolume()
50 assertThat(message.getValidationResult()).isEqualTo(HdmiCecMessageValidator.OK); in build_noVolumeChange()
DReportFeaturesMessageTest.java21 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_DESTINATION;
22 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_SHORT;
23 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_SOURCE;
24 import static com.android.server.hdmi.HdmiCecMessageValidator.OK;
DHdmiCecMessageValidatorTest.java21 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_DESTINATION;
22 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER;
23 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_LONG;
24 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_PARAMETER_SHORT;
25 import static com.android.server.hdmi.HdmiCecMessageValidator.ERROR_SOURCE;
26 import static com.android.server.hdmi.HdmiCecMessageValidator.OK;
51 private HdmiCecMessageValidator mHdmiCecMessageValidator;
DHdmiCecLocalDeviceTest.java125 private HdmiCecMessageValidator mMessageValidator;