Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java195 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP)); in handleUserControlPressed_volumeUp()
205 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in handleUserControlPressed_volumeDown()
215 HdmiCecKeycode.CEC_KEYCODE_MUTE)); in handleUserControlPressed_volumeMute()
225 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP)); in handleUserControlPressed_volumeUp_disabled()
235 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in handleUserControlPressed_volumeDown_disabled()
245 HdmiCecKeycode.CEC_KEYCODE_MUTE)); in handleUserControlPressed_volumeMute_disabled()
DHdmiCecLocalDevicePlaybackTest.java400 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_up_volumeEnabled()
417 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN); in sendVolumeKeyEvent_down_volumeEnabled()
434 HdmiCecKeycode.CEC_KEYCODE_MUTE); in sendVolumeKeyEvent_mute_volumeEnabled()
451 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_up_volumeDisabled()
468 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_down_volumeDisabled()
485 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_mute_volumeDisabled()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java68 protected int mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE;
555 final int keycode = HdmiCecKeycode.cecKeycodeAndParamsToAndroidKey(params); in handleUserControlPressed()
557 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
567 if (keycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
582 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlReleased()
585 mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; in handleUserControlReleased()
613 && (params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER in isPowerOnOrToggleCommand()
614 || params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION in isPowerOnOrToggleCommand()
615 || params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in isPowerOnOrToggleCommand()
621 && (params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_OFF_FUNCTION in isPowerOffOrToggleCommand()
[all …]
DSendKeyAction.java88 if (!HdmiCecKeycode.isRepeatableKey(mLastKeycode)) { in start()
119 if (!HdmiCecKeycode.isRepeatableKey(keycode)) { in processKeyEvent()
147 byte[] cecKeycodeAndParams = HdmiCecKeycode.androidKeyToCecKey(keycode); in sendKeyDown()
Dcec_key_handling.md4 [HdmiCecKeycode](HdmiCecKeycode.java)
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()
DVolumeControlAction.java98 mIsVolumeUp ? HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP in sendVolumeKeyPressed()
99 : HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in sendVolumeKeyPressed()
DDeviceSelectAction.java163 HdmiCecKeycode.CEC_KEYCODE_POWER); in turnOnDevice()
165 HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in turnOnDevice()
DSystemAudioStatusAction.java95 sendUserControlPressedAndReleased(mAvrAddress, HdmiCecKeycode.CEC_KEYCODE_MUTE); in handleReportAudioStatus()
DHdmiCecLocalDeviceTv.java1064 HdmiCecKeycode.getMuteKey(mute)); in changeMute()