/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecConfigTest.java | 30 import android.hardware.hdmi.HdmiControlManager; 76 .containsExactly(HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_ENABLED, in getAllCecSettings_BasicSanity() 77 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_VERSION, in getAllCecSettings_BasicSanity() 78 HdmiControlManager.CEC_SETTING_NAME_ROUTING_CONTROL, in getAllCecSettings_BasicSanity() 79 HdmiControlManager.CEC_SETTING_NAME_SOUNDBAR_MODE, in getAllCecSettings_BasicSanity() 80 HdmiControlManager.CEC_SETTING_NAME_POWER_CONTROL_MODE, in getAllCecSettings_BasicSanity() 81 HdmiControlManager.CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST, in getAllCecSettings_BasicSanity() 82 HdmiControlManager.CEC_SETTING_NAME_SYSTEM_AUDIO_CONTROL, in getAllCecSettings_BasicSanity() 83 HdmiControlManager.CEC_SETTING_NAME_SYSTEM_AUDIO_MODE_MUTING, in getAllCecSettings_BasicSanity() 84 HdmiControlManager.CEC_SETTING_NAME_VOLUME_CONTROL_MODE, in getAllCecSettings_BasicSanity() [all …]
|
D | HdmiControlServiceTest.java | 56 import android.hardware.hdmi.HdmiControlManager; 231 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY); in playbackOnlyDevice_onStandbyCompleted_disableCecController() 253 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY); in playbackAndAudioDevice_onStandbyCompleted_doNotDisableCecController() 275 HdmiControlManager.CEC_SETTING_NAME_POWER_CONTROL_MODE, in onStandby_acquireAndReleaseWakeLockSuccessfully() 276 HdmiControlManager.POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM); in onStandby_acquireAndReleaseWakeLockSuccessfully() 277 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in onStandby_acquireAndReleaseWakeLockSuccessfully() 297 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY); in initialPowerStatus_normalBoot_isTransientToStandby() 304 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY); in initialPowerStatus_quiescentBoot_isTransientToStandby() 309 mHdmiControlServiceSpy.setPowerStatus(HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON); in powerStatusAfterBootComplete_normalBoot_isOn() 312 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON); in powerStatusAfterBootComplete_normalBoot_isOn() [all …]
|
D | HdmiCecPowerStatusControllerTest.java | 28 import android.hardware.hdmi.HdmiControlManager; 53 public static final int[] ARRAY_POWER_STATUS = new int[]{HdmiControlManager.POWER_STATUS_ON, 54 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON, 55 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY, 56 HdmiControlManager.POWER_STATUS_STANDBY}; 143 HdmiControlManager.POWER_STATUS_ON == status); in isPowerStatusOn() 152 HdmiControlManager.POWER_STATUS_STANDBY == status); in isPowerStatusStandby() 161 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON == status); in isPowerStatusTransientToOn() 170 HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY == status); in isPowerStatusTransientToStandby() 176 setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B); in setPowerStatus_doesntSendBroadcast_1_4() [all …]
|
D | DevicePowerStatusActionTest.java | 32 import android.hardware.hdmi.HdmiControlManager; 139 HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_sendsRequestAndHandlesResponse() 143 verify(mCallbackMock).onComplete(HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_sendsRequestAndHandlesResponse() 154 verify(mCallbackMock).onComplete(HdmiControlManager.POWER_STATUS_UNKNOWN); in queryDisplayStatus_sendsRequest_nack() 177 HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully() 181 verify(mCallbackMock).onComplete(HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully() 202 verify(mCallbackMock).onComplete(HdmiControlManager.POWER_STATUS_UNKNOWN); in queryDisplayStatus_sendsRequest_timeout_retriesFailure() 208 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_VERSION, in queryDisplayStatus_localDevice_2_0_targetDevice_1_4() 209 HdmiControlManager.HDMI_CEC_VERSION_2_0); in queryDisplayStatus_localDevice_2_0_targetDevice_1_4() 222 HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_localDevice_2_0_targetDevice_1_4() [all …]
|
D | PowerStatusMonitorActionTest.java | 32 import android.hardware.hdmi.HdmiControlManager; 131 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_UNKNOWN); in sourceDevice_1_4_updatesPowerState() 139 reportPowerStatus(ADDR_PLAYBACK_1, false, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_1_4_updatesPowerState() 140 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_1_4_updatesPowerState() 146 reportPowerStatus(ADDR_PLAYBACK_1, false, HdmiControlManager.POWER_STATUS_STANDBY); in sourceDevice_1_4_updatesPowerState() 147 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_STANDBY); in sourceDevice_1_4_updatesPowerState() 160 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_VERSION, in sourceDevice_2_0_doesNotUpdatePowerState() 161 HdmiControlManager.HDMI_CEC_VERSION_2_0); in sourceDevice_2_0_doesNotUpdatePowerState() 164 reportPowerStatus(ADDR_PLAYBACK_1, true, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_2_0_doesNotUpdatePowerState() 170 assertPowerStatus(ADDR_PLAYBACK_1, HdmiControlManager.POWER_STATUS_ON); in sourceDevice_2_0_doesNotUpdatePowerState() [all …]
|
D | HdmiCecLocalDevicePlaybackTest.java | 34 import android.hardware.hdmi.HdmiControlManager; 78 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 79 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) 192 mHdmiControlService.setPowerStatus(HdmiControlManager.POWER_STATUS_ON); in setUp() 337 HdmiControlManager.CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST, in handleRoutingChange_otherDevice_None() 338 HdmiControlManager.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE); in handleRoutingChange_otherDevice_None() 357 HdmiControlManager.CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST, in handleRoutingChange_sameDevice_None_ActiveSource() 358 HdmiControlManager.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE); in handleRoutingChange_sameDevice_None_ActiveSource() 378 HdmiControlManager.CEC_SETTING_NAME_POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST, in handleRoutingChange_sameDevice_None_InactiveSource() 379 HdmiControlManager.POWER_STATE_CHANGE_ON_ACTIVE_SOURCE_LOST_NONE); in handleRoutingChange_sameDevice_None_InactiveSource() [all …]
|
D | HdmiCecLocalDeviceTest.java | 43 import android.hardware.hdmi.HdmiControlManager; 150 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON in SetUp() 151 || mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; in SetUp() 156 return mPowerStatus == HdmiControlManager.POWER_STATUS_STANDBY in SetUp() 158 == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY; in SetUp() 310 mPowerStatus = HdmiControlManager.POWER_STATUS_ON; in handleStandby_isPowerOn() 321 HdmiControlManager.VOLUME_CONTROL_ENABLED); in handleUserControlPressed_volumeUp() 332 HdmiControlManager.VOLUME_CONTROL_ENABLED); in handleUserControlPressed_volumeDown() 343 HdmiControlManager.VOLUME_CONTROL_ENABLED); in handleUserControlPressed_volumeMute() 354 HdmiControlManager.VOLUME_CONTROL_DISABLED); in handleUserControlPressed_volumeUp_disabled() [all …]
|
D | DeviceSelectActionFromPlaybackTest.java | 19 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_ON; 20 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_STANDBY; 21 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; 36 import android.hardware.hdmi.HdmiControlManager; 194 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 195 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) in setUp() 204 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 205 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) in setUp() 214 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) in setUp() 215 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) in setUp() [all …]
|
D | HdmiCecLocalDeviceTvTest.java | 49 import android.hardware.hdmi.HdmiControlManager; 81 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_MPEG1, 82 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_AAC, 83 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_DTS, 84 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_ATRAC, 85 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_ONEBITAUDIO, 86 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_DDP, 87 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_DTSHD, 88 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_TRUEHD, 89 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_DST, [all …]
|
D | DeviceSelectActionFromTvTest.java | 19 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_ON; 20 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_STANDBY; 21 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; 35 import android.hardware.hdmi.HdmiControlManager; 84 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 85 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) 94 .setDevicePowerStatus(HdmiControlManager.POWER_STATUS_ON) 95 .setCecVersion(HdmiControlManager.HDMI_CEC_VERSION_1_4_B) 239 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInPowerOnStatus_Cec14b() 265 assertThat(callback.getResult()).isEqualTo(HdmiControlManager.RESULT_SUCCESS); in testDeviceSelect_DeviceInStandbyStatus_Cec14b() [all …]
|
D | BaseAbsoluteVolumeBehaviorTest.java | 41 import android.hardware.hdmi.HdmiControlManager; 156 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_VERSION, in setUp() 157 HdmiControlManager.HDMI_CEC_VERSION_2_0); in setUp() 159 HdmiControlManager.CEC_SETTING_NAME_VOLUME_CONTROL_MODE, in setUp() 160 HdmiControlManager.VOLUME_CONTROL_DISABLED); in setUp() 236 protected void setCecVolumeControlSetting(@HdmiControlManager.VolumeControl int setting) { in setCecVolumeControlSetting() 238 HdmiControlManager.CEC_SETTING_NAME_VOLUME_CONTROL_MODE, setting); in setCecVolumeControlSetting() 251 getSystemAudioDeviceLogicalAddress(), HdmiControlManager.HDMI_CEC_VERSION_2_0, in receiveSetAudioVolumeLevelSupport() 297 setCecVolumeControlSetting(HdmiControlManager.VOLUME_CONTROL_ENABLED); in enableAbsoluteVolumeBehavior() 310 setCecVolumeControlSetting(HdmiControlManager.VOLUME_CONTROL_ENABLED); in enableAdjustOnlyAbsoluteVolumeBehavior() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecConfig.java | 19 import static android.hardware.hdmi.HdmiControlManager.SettingName; 27 import android.hardware.hdmi.HdmiControlManager; 292 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_ENABLED, in HdmiCecConfig() 294 hdmiCecEnabled.registerValue(HdmiControlManager.HDMI_CEC_CONTROL_ENABLED, in HdmiCecConfig() 297 hdmiCecEnabled.registerValue(HdmiControlManager.HDMI_CEC_CONTROL_DISABLED, in HdmiCecConfig() 302 HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_VERSION, in HdmiCecConfig() 304 hdmiCecVersion.registerValue(HdmiControlManager.HDMI_CEC_VERSION_1_4_B, in HdmiCecConfig() 307 hdmiCecVersion.registerValue(HdmiControlManager.HDMI_CEC_VERSION_2_0, in HdmiCecConfig() 312 HdmiControlManager.CEC_SETTING_NAME_ROUTING_CONTROL, in HdmiCecConfig() 314 routingControlControl.registerValue(HdmiControlManager.ROUTING_CONTROL_ENABLED, in HdmiCecConfig() [all …]
|
D | RequestSadAction.java | 19 import android.hardware.hdmi.HdmiControlManager; 60 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_LPCM) in RequestSadAction() 61 == HdmiControlManager.QUERY_SAD_ENABLED) { in RequestSadAction() 65 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_DD) in RequestSadAction() 66 == HdmiControlManager.QUERY_SAD_ENABLED) { in RequestSadAction() 70 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_MPEG1) in RequestSadAction() 71 == HdmiControlManager.QUERY_SAD_ENABLED) { in RequestSadAction() 75 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_MP3) in RequestSadAction() 76 == HdmiControlManager.QUERY_SAD_ENABLED) { in RequestSadAction() 80 HdmiControlManager.CEC_SETTING_NAME_QUERY_SAD_MPEG2) in RequestSadAction() [all …]
|
D | OneTouchPlayAction.java | 18 import android.hardware.hdmi.HdmiControlManager; 80 >= HdmiControlManager.HDMI_CEC_VERSION_2_0 in OneTouchPlayAction() 82 >= HdmiControlManager.HDMI_CEC_VERSION_2_0); in OneTouchPlayAction() 116 HdmiControlManager.POWER_STATUS_UNKNOWN) == HdmiControlManager.POWER_STATUS_ON; in startAction() 130 HdmiControlManager.POWER_STATUS_UNKNOWN); in startAction() 131 if (targetPowerStatus == HdmiControlManager.POWER_STATUS_UNKNOWN) { in startAction() 133 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in startAction() 141 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in startAction() 183 if (status == HdmiControlManager.POWER_STATUS_ON) { in processCommand() 187 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in processCommand() [all …]
|
D | DeviceSelectActionFromTv.java | 19 import android.hardware.hdmi.HdmiControlManager; 80 source.getDeviceInfo().getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0 in DeviceSelectActionFromTv() 81 && target.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0); in DeviceSelectActionFromTv() 107 int targetPowerStatus = HdmiControlManager.POWER_STATUS_UNKNOWN; in start() 113 if (targetPowerStatus == HdmiControlManager.POWER_STATUS_UNKNOWN) { in start() 115 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in start() 116 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in start() 132 finishWithCallback(HdmiControlManager.RESULT_COMMUNICATION_FAILED); in queryDevicePowerStatus() 160 case HdmiControlManager.POWER_STATUS_ON: in handleReportPowerStatus() 163 case HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY: in handleReportPowerStatus() [all …]
|
D | DeviceSelectActionFromPlayback.java | 19 import android.hardware.hdmi.HdmiControlManager; 91 source.getDeviceInfo().getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0 in DeviceSelectActionFromPlayback() 92 && target.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0); in DeviceSelectActionFromPlayback() 121 int targetPowerStatus = HdmiControlManager.POWER_STATUS_UNKNOWN; in start() 127 if (targetPowerStatus == HdmiControlManager.POWER_STATUS_UNKNOWN) { in start() 129 } else if (targetPowerStatus == HdmiControlManager.POWER_STATUS_ON) { in start() 148 finishWithCallback(HdmiControlManager.RESULT_COMMUNICATION_FAILED); in queryDevicePowerStatus() 164 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in processCommand() 176 case HdmiControlManager.POWER_STATUS_ON: in handleReportPowerStatus() 179 case HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY: in handleReportPowerStatus() [all …]
|
D | HdmiCecLocalDeviceSource.java | 20 import android.hardware.hdmi.HdmiControlManager; 85 invokeCallback(callback, HdmiControlManager.POWER_STATUS_UNKNOWN); in queryDisplayStatus() 110 HdmiControlManager.CEC_SETTING_NAME_POWER_CONTROL_MODE); in sendStandby() 111 if (powerControlMode.equals(HdmiControlManager.POWER_CONTROL_MODE_BROADCAST)) { in sendStandby() 120 if (powerControlMode.equals(HdmiControlManager.POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM)) { in sendStandby() 140 invokeCallback(callback, HdmiControlManager.RESULT_EXCEPTION); in oneTouchPlay() 158 if (status == HdmiControlManager.POWER_STATUS_UNKNOWN) { in toggleAndFollowTvPower() 163 } else if (status == HdmiControlManager.POWER_STATUS_ON in toggleAndFollowTvPower() 164 || status == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON) { in toggleAndFollowTvPower() 169 } else if (status == HdmiControlManager.POWER_STATUS_STANDBY in toggleAndFollowTvPower() [all …]
|
D | HdmiCecPowerStatusController.java | 21 import android.hardware.hdmi.HdmiControlManager; 33 private int mPowerStatus = HdmiControlManager.POWER_STATUS_STANDBY; 44 return mPowerStatus == HdmiControlManager.POWER_STATUS_ON; in isPowerStatusOn() 48 return mPowerStatus == HdmiControlManager.POWER_STATUS_STANDBY; in isPowerStatusStandby() 52 return mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_ON; in isPowerStatusTransientToOn() 56 return mPowerStatus == HdmiControlManager.POWER_STATUS_TRANSIENT_TO_STANDBY; in isPowerStatusTransientToStandby() 72 && mHdmiControlService.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0) { in setPowerStatus()
|
D | DevicePowerStatusAction.java | 19 import android.hardware.hdmi.HdmiControlManager; 65 if (service.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0) { in start() 69 && deviceInfo.getCecVersion() >= HdmiControlManager.HDMI_CEC_VERSION_2_0) { in start() 71 if (powerStatus != HdmiControlManager.POWER_STATUS_UNKNOWN) { in start() 90 finishWithCallback(HdmiControlManager.POWER_STATUS_UNKNOWN); in queryDevicePowerStatus() 122 finishWithCallback(HdmiControlManager.POWER_STATUS_UNKNOWN); in handleTimerEvent()
|
D | ArcTerminationActionFromAvr.java | 18 import android.hardware.hdmi.HdmiControlManager; 61 finishWithCallback(HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE); in processCommand() 68 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in processCommand() 97 finishWithCallback(HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE); in sendTerminateArc() 106 finishWithCallback(HdmiControlManager.RESULT_TIMEOUT); in handleTerminateArcTimeout()
|
D | HdmiControlShellCommand.java | 20 import android.hardware.hdmi.HdmiControlManager; 143 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in deviceSelect() 154 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in oneTouchPlay() 260 return mCecResult.get() == HdmiControlManager.RESULT_SUCCESS ? 0 : 1; in setSystemAudioMode() 334 case HdmiControlManager.RESULT_SUCCESS: in getResultString() 336 case HdmiControlManager.RESULT_TIMEOUT: in getResultString() 338 case HdmiControlManager.RESULT_SOURCE_NOT_AVAILABLE: in getResultString() 340 case HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE: in getResultString() 342 case HdmiControlManager.RESULT_EXCEPTION: in getResultString() 344 case HdmiControlManager.RESULT_INCORRECT_MODE: in getResultString() [all …]
|
D | HdmiCecLocalDevicePlayback.java | 24 import android.hardware.hdmi.HdmiControlManager; 210 invokeCallback(callback, HdmiControlManager.RESULT_TARGET_NOT_AVAILABLE); in deviceSelect() 219 invokeCallback(callback, HdmiControlManager.RESULT_INCORRECT_MODE); in deviceSelect() 279 Intent intent = new Intent(HdmiControlManager.ACTION_ON_ACTIVE_SOURCE_RECOVERED_DISMISS_UI); in dismissUiOnActiveSourceStatusRecovered() 316 @HdmiControlManager.PowerControlMode in onStandby() 318 HdmiControlManager.CEC_SETTING_NAME_POWER_CONTROL_MODE); in onStandby() 320 case HdmiControlManager.POWER_CONTROL_MODE_TV: in onStandby() 326 case HdmiControlManager.POWER_CONTROL_MODE_TV_AND_AUDIO_SYSTEM: in onStandby() 335 case HdmiControlManager.POWER_CONTROL_MODE_BROADCAST: in onStandby() 341 case HdmiControlManager.POWER_CONTROL_MODE_NONE: in onStandby() [all …]
|
D | PowerStatusMonitorAction.java | 18 import static android.hardware.hdmi.HdmiControlManager.POWER_STATUS_UNKNOWN; 20 import android.hardware.hdmi.HdmiControlManager; 112 if (localDevice().mService.getCecVersion() < HdmiControlManager.HDMI_CEC_VERSION_2_0 in resetPowerStatus() 113 || info.getCecVersion() < HdmiControlManager.HDMI_CEC_VERSION_2_0) { in resetPowerStatus() 124 if (localDevice().mService.getCecVersion() < HdmiControlManager.HDMI_CEC_VERSION_2_0 in queryPowerStatus() 125 || info.getCecVersion() < HdmiControlManager.HDMI_CEC_VERSION_2_0) { in queryPowerStatus()
|
D | HdmiCecLocalDeviceTv.java | 21 import static android.hardware.hdmi.HdmiControlManager.CLEAR_TIMER_STATUS_CEC_DISABLE; 22 import static android.hardware.hdmi.HdmiControlManager.CLEAR_TIMER_STATUS_CHECK_RECORDER_CONNECTION; 23 import static android.hardware.hdmi.HdmiControlManager.CLEAR_TIMER_STATUS_FAIL_TO_CLEAR_SELECTED_SO… 24 import static android.hardware.hdmi.HdmiControlManager.ONE_TOUCH_RECORD_CEC_DISABLED; 25 import static android.hardware.hdmi.HdmiControlManager.ONE_TOUCH_RECORD_CHECK_RECORDER_CONNECTION; 26 import static android.hardware.hdmi.HdmiControlManager.ONE_TOUCH_RECORD_FAIL_TO_RECORD_DISPLAYED_SC… 27 import static android.hardware.hdmi.HdmiControlManager.OSD_MESSAGE_ARC_CONNECTED_INVALID_PORT; 28 import static android.hardware.hdmi.HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_CEC_DISABLED; 29 import static android.hardware.hdmi.HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_CHECK_RECORDER_… 30 import static android.hardware.hdmi.HdmiControlManager.TIMER_RECORDING_RESULT_EXTRA_FAIL_TO_RECORD_… [all …]
|
D | SetAudioVolumeLevelDiscoveryAction.java | 24 import android.hardware.hdmi.HdmiControlManager; 61 finishWithCallback(HdmiControlManager.RESULT_COMMUNICATION_FAILED); in start() 86 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleFeatureAbort() 94 finishWithCallback(HdmiControlManager.RESULT_SUCCESS); in handleTimerEvent() 96 finishWithCallback(HdmiControlManager.RESULT_EXCEPTION); in handleTimerEvent()
|