Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java324 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP)); in handleUserControlPressed_volumeUp()
335 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in handleUserControlPressed_volumeDown()
346 HdmiCecKeycode.CEC_KEYCODE_MUTE)); in handleUserControlPressed_volumeMute()
357 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP)); in handleUserControlPressed_volumeUp_disabled()
368 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in handleUserControlPressed_volumeDown_disabled()
379 HdmiCecKeycode.CEC_KEYCODE_MUTE)); in handleUserControlPressed_volumeMute_disabled()
402 HdmiCecKeycode.CEC_KEYCODE_POWER)); in handleUserControlPressed_power_localDeviceInStandby_shouldTurnOn()
414 HdmiCecKeycode.CEC_KEYCODE_POWER)); in handleUserControlPressed_power_localDeviceOn_shouldNotChangePowerStatus()
426 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION)); in handleUserControlPressed_powerToggleFunction_localDeviceInStandby_shouldTurnOn()
438 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION)); in handleUserControlPressed_powerToggleFunction_localDeviceOn_shouldTurnOff()
[all …]
DHdmiCecLocalDevicePlaybackTest.java1380 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_up_volumeEnabled()
1401 HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN); in sendVolumeKeyEvent_down_volumeEnabled()
1422 HdmiCecKeycode.CEC_KEYCODE_MUTE); in sendVolumeKeyEvent_mute_volumeEnabled()
1443 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_up_volumeDisabled()
1464 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_down_volumeDisabled()
1485 HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_mute_volumeDisabled()
1506 mPlaybackLogicalAddress, ADDR_TV, HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_toTv_activeSource()
1527 mPlaybackLogicalAddress, ADDR_AUDIO_SYSTEM, HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_toAudio_activeSource()
1547 mPlaybackLogicalAddress, ADDR_TV, HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_toTv_inactiveSource()
1567 mPlaybackLogicalAddress, ADDR_AUDIO_SYSTEM, HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP); in sendVolumeKeyEvent_toAudio_inactiveSource()
[all …]
DDeviceSelectActionFromTvTest.java257 ADDR_TV, ADDR_PLAYBACK_1, HdmiCecKeycode.CEC_KEYCODE_POWER); in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
377 ADDR_TV, ADDR_PLAYBACK_1, HdmiCecKeycode.CEC_KEYCODE_POWER); in testDeviceSelect_DeviceInStandbyStatus_Cec20()
DBaseTvToAudioSystemAvbTest.java19 import static com.android.server.hdmi.HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP;
DHdmiCecAtomLoggingTest.java217 HdmiCecKeycode.CEC_KEYCODE_MUTE in testMessageReported_writesAtom_userControlPressed()
DBaseAbsoluteVolumeBehaviorTest.java21 import static com.android.server.hdmi.HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP;
/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java89 if (!HdmiCecKeycode.isRepeatableKey(mLastKeycode)) { in start()
120 if (!HdmiCecKeycode.isRepeatableKey(keycode)) { in processKeyEvent()
148 byte[] cecKeycodeAndParams = HdmiCecKeycode.androidKeyToCecKey(keycode); in sendKeyDown()
179 if (HdmiCecKeycode.isVolumeKeycode(mLastKeycode) in sendKeyUp()
DHdmiCecLocalDevice.java73 protected int mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE;
771 final int keycode = HdmiCecKeycode.cecKeycodeAndParamsToAndroidKey(params); in handleUserControlPressed()
773 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
783 if (keycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
800 if (cecKeycode == HdmiCecKeycode.CEC_KEYCODE_MUTE_FUNCTION) { in handleUnmappedCecKeycode()
804 } else if (cecKeycode == HdmiCecKeycode.CEC_KEYCODE_RESTORE_VOLUME_FUNCTION) { in handleUnmappedCecKeycode()
818 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlReleased()
821 mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; in handleUserControlReleased()
848 && (params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER in isPowerOnOrToggleCommand()
849 || params[0] == HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION in isPowerOnOrToggleCommand()
[all …]
DVolumeControlAction.java98 mIsVolumeUp ? HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP in sendVolumeKeyPressed()
99 : HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in sendVolumeKeyPressed()
Dcec_key_handling.md3 The mapping of CEC keycodes to Android keycodes is done at [HdmiCecKeycode](HdmiCecKeycode.java).
DDeviceSelectActionFromTv.java219 HdmiCecKeycode.CEC_KEYCODE_POWER); in turnOnDevice()
221 HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in turnOnDevice()
DHdmiCecKeycode.java28 final class HdmiCecKeycode { class
158 private HdmiCecKeycode() { in HdmiCecKeycode() method in HdmiCecKeycode
458 return HdmiCecKeycode.androidKeyToCecKey(androidKeycode) != null; in isSupportedKeycode()
466 int cecKeyCode = HdmiCecKeycode.androidKeyToCecKey(androidKeycode)[0]; in isVolumeKeycode()
DHdmiCecMessageValidator.java1163 case HdmiCecKeycode.CEC_KEYCODE_PLAY_FUNCTION: in isValid()
1165 case HdmiCecKeycode.CEC_KEYCODE_TUNE_FUNCTION: in isValid()
1169 case HdmiCecKeycode.CEC_KEYCODE_SELECT_BROADCAST_TYPE: in isValid()
1171 case HdmiCecKeycode.CEC_KEYCODE_SELECT_SOUND_PRESENTATION: in isValid()
DHdmiCecLocalDeviceSource.java161 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in toggleAndFollowTvPower()
178 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in toggleAndFollowTvPower()
DHdmiCecMessage.java172 " <Keycode type = %s>", HdmiCecKeycode.getKeycodeType(mParams[0]))); in toString()
DHdmiCecLocalDeviceTv.java1068 HdmiCecKeycode.getMuteKey(mute)); in changeMute()
DHdmiControlService.java2631 logicalAddress, HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in powerOnRemoteDevice()