Home
last modified time | relevance | path

Searched refs:HdmiCecKeycode (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java88 if (!HdmiCecKeycode.isRepeatableKey(mLastKeycode)) { in start()
119 if (!HdmiCecKeycode.isRepeatableKey(keycode)) { in processKeyEvent()
147 byte[] cecKeycodeAndParams = HdmiCecKeycode.androidKeyToCecKey(keycode); in sendKeyDown()
DHdmiCecLocalDevice.java66 protected int mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE;
539 final int keycode = HdmiCecKeycode.cecKeycodeAndParamsToAndroidKey(params); in handleUserControlPressed()
541 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
551 if (keycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
566 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlReleased()
569 mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; in handleUserControlReleased()
597 && (params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER in isPowerOnOrToggleCommand()
598 || params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION in isPowerOnOrToggleCommand()
599 || params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in isPowerOnOrToggleCommand()
605 && (params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_OFF_FUNCTION in isPowerOffOrToggleCommand()
[all …]
DHdmiCecKeycode.java28 final class HdmiCecKeycode { class
158 private HdmiCecKeycode() { in HdmiCecKeycode() method in HdmiCecKeycode
452 return HdmiCecKeycode.androidKeyToCecKey(androidKeycode) != null; in isSupportedKeycode()
460 int cecKeyCode = HdmiCecKeycode.androidKeyToCecKey(androidKeycode)[0]; in isVolumeKeycode()
DDeviceSelectAction.java163 HdmiCecKeycode.CEC_KEYCODE_POWER); in turnOnDevice()
165 HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in turnOnDevice()
DVolumeControlAction.java98 mIsVolumeUp ? HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP in sendVolumeKeyPressed()
99 : HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in sendVolumeKeyPressed()
DSystemAudioStatusAction.java95 sendUserControlPressedAndReleased(mAvrAddress, HdmiCecKeycode.CEC_KEYCODE_MUTE); in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java1062 HdmiCecKeycode.getMuteKey(mute)); in changeMute()