/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceTest.java | 324 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 …]
|
D | HdmiCecLocalDevicePlaybackTest.java | 1380 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 …]
|
D | DeviceSelectActionFromTvTest.java | 257 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()
|
D | BaseTvToAudioSystemAvbTest.java | 19 import static com.android.server.hdmi.HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP;
|
D | HdmiCecAtomLoggingTest.java | 217 HdmiCecKeycode.CEC_KEYCODE_MUTE in testMessageReported_writesAtom_userControlPressed()
|
D | BaseAbsoluteVolumeBehaviorTest.java | 21 import static com.android.server.hdmi.HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP;
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | SendKeyAction.java | 89 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()
|
D | HdmiCecLocalDevice.java | 73 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 …]
|
D | VolumeControlAction.java | 98 mIsVolumeUp ? HdmiCecKeycode.CEC_KEYCODE_VOLUME_UP in sendVolumeKeyPressed() 99 : HdmiCecKeycode.CEC_KEYCODE_VOLUME_DOWN)); in sendVolumeKeyPressed()
|
D | cec_key_handling.md | 3 The mapping of CEC keycodes to Android keycodes is done at [HdmiCecKeycode](HdmiCecKeycode.java).
|
D | DeviceSelectActionFromTv.java | 219 HdmiCecKeycode.CEC_KEYCODE_POWER); in turnOnDevice() 221 HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in turnOnDevice()
|
D | HdmiCecKeycode.java | 28 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()
|
D | HdmiCecMessageValidator.java | 1163 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()
|
D | HdmiCecLocalDeviceSource.java | 161 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in toggleAndFollowTvPower() 178 HdmiCecKeycode.CEC_KEYCODE_POWER_TOGGLE_FUNCTION); in toggleAndFollowTvPower()
|
D | HdmiCecMessage.java | 172 " <Keycode type = %s>", HdmiCecKeycode.getKeycodeType(mParams[0]))); in toString()
|
D | HdmiCecLocalDeviceTv.java | 1068 HdmiCecKeycode.getMuteKey(mute)); in changeMute()
|
D | HdmiControlService.java | 2631 logicalAddress, HdmiCecKeycode.CEC_KEYCODE_POWER_ON_FUNCTION); in powerOnRemoteDevice()
|