Lines Matching refs:dest

34      * @param dest destination address of command
38 static HdmiCecMessage of(int src, int dest, byte[] body) {
41 return new HdmiCecMessage(src, dest, opcode, params);
49 * @param dest destination address of command
54 static HdmiCecMessage buildFeatureAbortCommand(int src, int dest, int originalOpcode,
60 return buildCommand(src, dest, Constants.MESSAGE_FEATURE_ABORT, params);
67 * @param dest destination address of command
70 static HdmiCecMessage buildGivePhysicalAddress(int src, int dest) {
71 return buildCommand(src, dest, Constants.MESSAGE_GIVE_PHYSICAL_ADDRESS);
78 * @param dest destination address of command
81 static HdmiCecMessage buildGiveOsdNameCommand(int src, int dest) {
82 return buildCommand(src, dest, Constants.MESSAGE_GIVE_OSD_NAME);
89 * @param dest destination address of command
92 static HdmiCecMessage buildGiveDeviceVendorIdCommand(int src, int dest) {
93 return buildCommand(src, dest, Constants.MESSAGE_GIVE_DEVICE_VENDOR_ID);
130 static HdmiCecMessage buildSetOsdNameCommand(int src, int dest, String name) {
138 return buildCommand(src, dest, Constants.MESSAGE_SET_OSD_NAME, params);
190 * @param dest destination address of command
195 static HdmiCecMessage buildCecVersion(int src, int dest, int version) {
199 return buildCommand(src, dest, Constants.MESSAGE_CEC_VERSION, params);
206 * @param dest destination address of command
209 static HdmiCecMessage buildRequestArcInitiation(int src, int dest) {
210 return buildCommand(src, dest, Constants.MESSAGE_REQUEST_ARC_INITIATION);
217 * @param dest destination address of command
220 static HdmiCecMessage buildRequestArcTermination(int src, int dest) {
221 return buildCommand(src, dest, Constants.MESSAGE_REQUEST_ARC_TERMINATION);
228 * @param dest destination address of command
231 static HdmiCecMessage buildReportArcInitiated(int src, int dest) {
232 return buildCommand(src, dest, Constants.MESSAGE_REPORT_ARC_INITIATED);
239 * @param dest destination address of command
242 static HdmiCecMessage buildReportArcTerminated(int src, int dest) {
243 return buildCommand(src, dest, Constants.MESSAGE_REPORT_ARC_TERMINATED);
250 * @param dest destination address of command
253 static HdmiCecMessage buildTextViewOn(int src, int dest) {
254 return buildCommand(src, dest, Constants.MESSAGE_TEXT_VIEW_ON);
318 * @param dest destination address of command
321 static HdmiCecMessage buildGiveDevicePowerStatus(int src, int dest) {
322 return buildCommand(src, dest, Constants.MESSAGE_GIVE_DEVICE_POWER_STATUS);
329 * @param dest destination address of command
333 static HdmiCecMessage buildReportPowerStatus(int src, int dest, int powerStatus) {
337 return buildCommand(src, dest, Constants.MESSAGE_REPORT_POWER_STATUS, param);
344 * @param dest destination address of command
348 static HdmiCecMessage buildReportMenuStatus(int src, int dest, int menuStatus) {
352 return buildCommand(src, dest, Constants.MESSAGE_MENU_STATUS, param);
378 * @param dest destination address of command
381 static HdmiCecMessage buildGiveAudioStatus(int src, int dest) {
382 return buildCommand(src, dest, Constants.MESSAGE_GIVE_AUDIO_STATUS);
389 * @param dest destination address of command
393 static HdmiCecMessage buildUserControlPressed(int src, int dest, int uiCommand) {
394 return buildUserControlPressed(src, dest, new byte[] { (byte) (uiCommand & 0xFF) });
401 * @param dest destination address of command
405 static HdmiCecMessage buildUserControlPressed(int src, int dest, byte[] commandParam) {
406 return buildCommand(src, dest, Constants.MESSAGE_USER_CONTROL_PRESSED, commandParam);
413 * @param dest destination address of command
416 static HdmiCecMessage buildUserControlReleased(int src, int dest) {
417 return buildCommand(src, dest, Constants.MESSAGE_USER_CONTROL_RELEASED);
424 * @param dest destination address of command
427 static HdmiCecMessage buildGiveSystemAudioModeStatus(int src, int dest) {
428 return buildCommand(src, dest, Constants.MESSAGE_GIVE_SYSTEM_AUDIO_MODE_STATUS);
435 * @param dest destination address of command
438 public static HdmiCecMessage buildStandby(int src, int dest) {
439 return buildCommand(src, dest, Constants.MESSAGE_STANDBY);
446 * @param dest destination address of command
450 static HdmiCecMessage buildVendorCommand(int src, int dest, byte[] params) {
451 return buildCommand(src, dest, Constants.MESSAGE_VENDOR_COMMAND, params);
458 * @param dest destination address of command
463 static HdmiCecMessage buildVendorCommandWithId(int src, int dest, int vendorId,
470 return buildCommand(src, dest, Constants.MESSAGE_VENDOR_COMMAND_WITH_ID, params);
477 * @param dest destination address of command
481 static HdmiCecMessage buildRecordOn(int src, int dest, byte[] params) {
482 return buildCommand(src, dest, Constants.MESSAGE_RECORD_ON, params);
489 * @param dest destination address of command
492 static HdmiCecMessage buildRecordOff(int src, int dest) {
493 return buildCommand(src, dest, Constants.MESSAGE_RECORD_OFF);
500 * @param dest destination address of command
504 static HdmiCecMessage buildSetDigitalTimer(int src, int dest, byte[] params) {
505 return buildCommand(src, dest, Constants.MESSAGE_SET_DIGITAL_TIMER, params);
512 * @param dest destination address of command
516 static HdmiCecMessage buildSetAnalogueTimer(int src, int dest, byte[] params) {
517 return buildCommand(src, dest, Constants.MESSAGE_SET_ANALOG_TIMER, params);
524 * @param dest destination address of command
528 static HdmiCecMessage buildSetExternalTimer(int src, int dest, byte[] params) {
529 return buildCommand(src, dest, Constants.MESSAGE_SET_EXTERNAL_TIMER, params);
536 * @param dest destination address of command
540 static HdmiCecMessage buildClearDigitalTimer(int src, int dest, byte[] params) {
541 return buildCommand(src, dest, Constants.MESSAGE_CLEAR_DIGITAL_TIMER, params);
548 * @param dest destination address of command
552 static HdmiCecMessage buildClearAnalogueTimer(int src, int dest, byte[] params) {
553 return buildCommand(src, dest, Constants.MESSAGE_CLEAR_ANALOG_TIMER, params);
560 * @param dest destination address of command
564 static HdmiCecMessage buildClearExternalTimer(int src, int dest, byte[] params) {
565 return buildCommand(src, dest, Constants.MESSAGE_CLEAR_EXTERNAL_TIMER, params);
574 * @param dest destination address of command
578 private static HdmiCecMessage buildCommand(int src, int dest, int opcode) {
579 return new HdmiCecMessage(src, dest, opcode, HdmiCecMessage.EMPTY_PARAM);
586 * @param dest destination address of command
591 private static HdmiCecMessage buildCommand(int src, int dest, int opcode, byte[] params) {
592 return new HdmiCecMessage(src, dest, opcode, params);