Home
last modified time | relevance | path

Searched refs:ADDR_TV (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java23 import static com.android.server.hdmi.Constants.ADDR_TV;
229 ADDR_TV, in dispatchMessage_logicalAddressDoesNotMatch()
242 HdmiCecMessageBuilder.buildReportPhysicalAddressCommand(ADDR_TV, 0, DEVICE_TV); in handleGivePhysicalAddress_success()
247 ADDR_PLAYBACK_1, ADDR_TV)); in handleGivePhysicalAddress_success()
259 ADDR_TV, in handleGivePhysicalAddress_failure()
267 ADDR_PLAYBACK_1, ADDR_TV)); in handleGivePhysicalAddress_failure()
278 HdmiCecMessageBuilder.buildDeviceVendorIdCommand(ADDR_TV, 0); in handleGiveDeviceVendorId_success()
283 ADDR_PLAYBACK_1, ADDR_TV)); in handleGiveDeviceVendorId_success()
294 ADDR_TV, in handleGiveDeviceVendorId_failure()
302 ADDR_PLAYBACK_1, ADDR_TV)); in handleGiveDeviceVendorId_failure()
[all …]
DHdmiCecLocalDevicePlaybackTest.java23 import static com.android.server.hdmi.Constants.ADDR_TV;
72 .setLogicalAddress(ADDR_TV)
206 HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x0000, in handleRoutingChange_None()
228 HdmiCecMessageBuilder.buildRoutingInformation(ADDR_TV, in handleRoutingInformation_None()
250 HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x0000, in handleRoutingChange_WakeUpOnly()
272 HdmiCecMessageBuilder.buildRoutingInformation(ADDR_TV, in handleRoutingInformation_WakeUpOnly()
296 HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x0000, in handleRoutingChange_WakeUpAndSendActiveSource()
320 HdmiCecMessageBuilder.buildRoutingInformation(ADDR_TV, in handleRoutingInformation_WakeUpAndSendActiveSource()
343 HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x0000, 0x5000); in handleRoutingChange_otherDevice_None()
363 HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x0000, in handleRoutingChange_sameDevice_None_ActiveSource()
[all …]
DOneTouchPlayActionTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
65 .setLogicalAddress(ADDR_TV)
138 OneTouchPlayAction action = new OneTouchPlayAction(device, ADDR_TV, callback, isCec20); in createOneTouchPlayAction()
163 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedWithUnknownTvDevice()
166 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedWithUnknownTvDevice()
175 ADDR_TV, in succeedWithUnknownTvDevice()
195 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in succeedAfterGettingPowerStatusOn_Cec14b()
212 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedAfterGettingPowerStatusOn_Cec14b()
215 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedAfterGettingPowerStatusOn_Cec14b()
224 ADDR_TV, in succeedAfterGettingPowerStatusOn_Cec14b()
[all …]
DHdmiCecLocalDeviceTvTest.java25 import static com.android.server.hdmi.Constants.ADDR_TV;
93 HdmiCecMessageBuilder.buildRequestShortAudioDescriptor(ADDR_TV, ADDR_AUDIO_SYSTEM,
261 ADDR_TV); in initiateArcAndValidate()
267 ADDR_TV, in initiateArcAndValidate()
328 HdmiCecMessage givePhysicalAddress = HdmiCecMessageBuilder.buildGivePhysicalAddress(ADDR_TV, in onAddressAllocated_invokesDeviceDiscovery()
483 HdmiCecMessage standby = HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_BROADCAST); in tvSendStandbyOnSleep_Enabled()
495 HdmiCecMessage standby = HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_BROADCAST); in tvSendStandbyOnSleep_Disabled()
514 ADDR_TV, in startArcAction_enable_noAudioDevice()
517 ADDR_TV, in startArcAction_enable_noAudioDevice()
529 ADDR_TV, in startArcAction_disable_noAudioDevice()
[all …]
DDevicePowerStatusActionTest.java21 import static com.android.server.hdmi.Constants.ADDR_TV;
119 mDevicePowerStatusAction = DevicePowerStatusAction.create(mPlaybackDevice, ADDR_TV, in setUp()
132 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequestAndHandlesResponse()
137 ADDR_TV, in queryDisplayStatus_sendsRequestAndHandlesResponse()
163 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
175 ADDR_TV, in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully()
191 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequest_timeout_retriesFailure()
215 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_localDevice_2_0_targetDevice_1_4()
220 ADDR_TV, in queryDisplayStatus_localDevice_2_0_targetDevice_1_4()
235 .buildReportPhysicalAddressCommand(ADDR_TV, 0x0000, HdmiDeviceInfo.DEVICE_TV); in queryDisplayStatus_localDevice_2_0_targetDevice_2_0()
[all …]
DHdmiCecLocalDeviceAudioSystemTest.java23 import static com.android.server.hdmi.Constants.ADDR_TV;
61 ADDR_TV, ADDR_AUDIO_SYSTEM, new int[] {Constants.AUDIO_CODEC_LPCM});
200 ADDR_AUDIO_SYSTEM, ADDR_TV, scaledVolume, true); in handleGiveAudioStatus_volume_10_mute_true()
202 HdmiCecMessageBuilder.buildGiveAudioStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveAudioStatus_volume_10_mute_true()
214 ADDR_AUDIO_SYSTEM, ADDR_TV, false); in handleGiveSystemAudioModeStatus_originalOff()
216 HdmiCecMessageBuilder.buildGiveSystemAudioModeStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleGiveSystemAudioModeStatus_originalOff()
246 ADDR_TV, in handleRequestShortAudioDescriptor_noAudioDeviceInfo()
263 HdmiCecMessageBuilder.buildSetSystemAudioMode(ADDR_TV, ADDR_AUDIO_SYSTEM, true); in handleSetSystemAudioMode_setOn_orignalOff()
265 HdmiCecMessageBuilder.buildGiveSystemAudioModeStatus(ADDR_TV, ADDR_AUDIO_SYSTEM); in handleSetSystemAudioMode_setOn_orignalOff()
268 HdmiCecMessageBuilder.buildReportSystemAudioMode(ADDR_AUDIO_SYSTEM, ADDR_TV, false); in handleSetSystemAudioMode_setOn_orignalOff()
[all …]
DHdmiCecMessageBuilderTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
52 ADDR_TV, in buildRequestShortAudioDescriptor()
70 ADDR_TV, deviceName); in buildSetOsdName_short()
78 ADDR_TV, deviceName); in buildSetOsdName_maximumLength()
87 ADDR_TV, deviceName); in buildSetOsdName_tooLong()
94 HdmiCecMessage message = HdmiCecMessageBuilder.buildGiveFeatures(ADDR_PLAYBACK_1, ADDR_TV); in buildGiveFeatures()
DArcInitiationActionFromAvrTest.java128 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_initiated()
134 Constants.ADDR_TV, in arcInitiation_initiated()
147 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_sendFailed()
160 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_terminated()
165 Constants.ADDR_TV, in arcInitiation_terminated()
178 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_abort()
184 Constants.ADDR_TV, in arcInitiation_abort()
199 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in arcInitiation_timeout()
DSetAudioVolumeLevelDiscoveryActionTest.java121 Constants.ADDR_TV, 0x0000, HdmiDeviceInfo.DEVICE_TV)); in setUp()
125 Constants.ADDR_TV, mTestCallback); in setUp()
134 mPlaybackLogicalAddress, Constants.ADDR_TV, in sendsSetAudioVolumeLevel()
146 Constants.ADDR_TV, in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
162 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
175 Constants.ADDR_TV, in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported()
182 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported()
199 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in messageFailedToSend_actionFailsAndDoesNotUpdateFeatureSupport()
DReportFeaturesMessageTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
76 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_basicTv_1_4()
113 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_basicTv_2_0()
125 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_remoteControlTv_2_0()
137 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_remoteControlPlayback_2_0()
150 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_deviceFeaturesTv_2_0()
164 HdmiCecMessage message = ReportFeaturesMessage.build(ADDR_TV, in build_deviceFeaturesPlayback_2_0()
DHdmiCecAtomLoggingTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
177 HdmiCecMessage message = HdmiCecMessageBuilder.buildActiveSource(ADDR_TV, 0x0000); in testMessageReported_calledOnIncomingMessage()
215 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed()
229 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed()
241 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed_noParams()
255 Constants.ADDR_TV, in testMessageReported_writesAtom_userControlPressed_noParams()
267 Constants.ADDR_TV, in testMessageReported_writesAtom_featureAbort()
282 Constants.ADDR_TV, in testMessageReported_writesAtom_featureAbort()
294 Constants.ADDR_TV, in testMessageReported_writesAtom_featureAbort_noParams()
308 Constants.ADDR_TV, in testMessageReported_writesAtom_featureAbort_noParams()
DSetAudioVolumeLevelMessageTest.java41 Constants.ADDR_TV, Constants.ADDR_PLAYBACK_1, 100); in build_maxVolume()
49 Constants.ADDR_TV, Constants.ADDR_AUDIO_SYSTEM, 0x7F); in build_noVolumeChange()
61 .build(Constants.ADDR_TV, Constants.ADDR_BROADCAST, 50) in build_invalid()
DArcTerminationActionFromAvrTest.java152 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testSendMessage_sendFailed()
165 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_timeout()
182 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_received()
187 Constants.ADDR_TV, Constants.ADDR_AUDIO_SYSTEM); in testReportArcTerminated_received()
201 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_TV); in testReportArcTerminated_featureAbort()
206 Constants.ADDR_TV, in testReportArcTerminated_featureAbort()
DHdmiCecControllerTest.java32 import static com.android.server.hdmi.Constants.ADDR_TV;
148 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_TV, mCallback); in testAllocateLogicalAddress_TvDevicePreferredNotOccupied()
150 assertEquals(ADDR_TV, mLogicalAddress); in testAllocateLogicalAddress_TvDevicePreferredNotOccupied()
157 assertEquals(ADDR_TV, mLogicalAddress); in testAllocateLogicalAddress_TvDeviceNonPreferredNotOccupied()
162 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredFirstOccupied()
170 mNativeWrapper.setPollAddressResponse(ADDR_TV, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_TvDeviceNonPreferredAllOccupied()
351 ADDR_TV, ADDR_BROADCAST); in onMessage_broadcastMessage_doesNotSendFeatureAbort()
369 ADDR_TV, ADDR_AUDIO_SYSTEM); in onMessage_notTheDestination_doesNotSendFeatureAbort()
386 ADDR_TV, mPlaybackLogicalAddress); in onMessage_handledMessage_doesNotSendFeatureAbort()
403 ADDR_TV, mPlaybackLogicalAddress); in onMessage_unhandledMessage_sendsFeatureAbortUnrecognizedOpcode()
[all …]
DActiveSourceActionTest.java20 import static com.android.server.hdmi.Constants.ADDR_TV;
112 playbackDevice, ADDR_TV); in playbackDevice_sendsActiveSource_sendsMenuStatus()
122 ADDR_TV, in playbackDevice_sendsActiveSource_sendsMenuStatus()
139 playbackDevice, ADDR_TV); in playbackDevice_updatesActiveSourceState()
DPlaybackDeviceToAudioSystemAvbTest.java72 Constants.ADDR_TV, HdmiControlManager.HDMI_CEC_VERSION_2_0, in switchToTv_absoluteVolumeControlDisabledUntilAllConditionsMet()
82 Constants.ADDR_TV, in switchToTv_absoluteVolumeControlDisabledUntilAllConditionsMet()
DDeviceSelectActionFromTvTest.java26 import static com.android.server.hdmi.Constants.ADDR_TV;
70 ADDR_PLAYBACK_1, ADDR_TV, Constants.MESSAGE_REPORT_POWER_STATUS, POWER_ON);
72 ADDR_PLAYBACK_1, ADDR_TV, Constants.MESSAGE_REPORT_POWER_STATUS, POWER_STANDBY);
74 ADDR_PLAYBACK_1, ADDR_TV, Constants.MESSAGE_REPORT_POWER_STATUS, POWER_TRANSIENT_TO_ON);
76 ADDR_TV, PHYSICAL_ADDRESS_PLAYBACK_1);
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()
DHdmiUtilsTest.java291 assertThat(HdmiUtils.getTypeFromAddress(Constants.ADDR_TV)).containsExactly( in getTypeFromAddress()
328 Constants.ADDR_TV)).isTrue(); in isEligibleAddressForDevice()
330 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
332 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
334 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
336 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
338 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
340 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
342 Constants.ADDR_TV)).isFalse(); in isEligibleAddressForDevice()
587 Constants.ADDR_TV)).isTrue(); in isEligibleAddressForCecVersion_1_4()
[all …]
DHdmiControlServiceTest.java651 mNativeWrapper.onCecMessage(HdmiCecMessageBuilder.buildGiveFeatures(Constants.ADDR_TV, in handleGiveFeatures_cec14_featureAbort()
656 Constants.ADDR_PLAYBACK_1, Constants.ADDR_TV, Constants.MESSAGE_GIVE_FEATURES, in handleGiveFeatures_cec14_featureAbort()
670 mNativeWrapper.onCecMessage(HdmiCecMessageBuilder.buildGiveFeatures(Constants.ADDR_TV, in handleGiveFeatures_cec20_reportsFeatures()
822 Constants.ADDR_TV, in initCec_statusListener_CecEnabled_CecAvailable_TvOn()
845 Constants.ADDR_TV, in initCec_statusListener_CecEnabled_CecAvailable_TvStandby()
868 Constants.ADDR_TV, in initCec_statusListener_CecEnabled_CecAvailable_TvTransientToOn()
891 Constants.ADDR_TV, in initCec_statusListener_CecEnabled_CecAvailable_TvTransientToStandby()
918 Constants.ADDR_TV); in onHotPlugIn_CecDisabledOnTv_CecNotAvailable()
947 Constants.ADDR_TV); in onHotPlugIn_CecEnabledOnTv_CecAvailable()
950 Constants.ADDR_TV, in onHotPlugIn_CecEnabledOnTv_CecAvailable()
[all …]
DRoutingControlActionTest.java24 import static com.android.server.hdmi.Constants.ADDR_TV;
232 ADDR_TV, PHYSICAL_ADDRESS_AVR); in testRoutingControl_succeedForDirectlyConnectedDevice()
255 ADDR_TV, PHYSICAL_ADDRESS_PLAYER); in testRoutingControl_succeedForDeviceBehindSwitch()
DHdmiControlServiceTvTest.java111 Constants.ADDR_TV, Constants.ADDR_PLAYBACK_1, Constants.MESSAGE_INACTIVE_SOURCE, in onCecMessage_shortPhysicalAddress_featureAbortInvalidOperand()
162 HdmiCecMessage reportFeatures = ReportFeaturesMessage.build(Constants.ADDR_TV, in setRcProfileTv_reportFeatureBroadcast()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiPlaybackClient.java37 private static final int ADDR_TV = 0; field in HdmiPlaybackClient
118 mService.sendStandby(getDeviceType(), HdmiDeviceInfo.idForCecDevice(ADDR_TV)); in sendStandby()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceSource.java81 DevicePowerStatusAction action = DevicePowerStatusAction.create(this, Constants.ADDR_TV, in queryDisplayStatus()
119 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in sendStandby()
136 OneTouchPlayAction action = OneTouchPlayAction.create(this, Constants.ADDR_TV, in oneTouchPlay()
160 sendUserControlPressedAndReleased(Constants.ADDR_TV, in toggleAndFollowTvPower()
177 sendUserControlPressedAndReleased(Constants.ADDR_TV, in toggleAndFollowTvPower()
DHdmiCecLocalDevicePlayback.java121 buildAndSendSetOsdName(Constants.ADDR_TV); in onAddressAllocated()
270 getDeviceInfo().getDeviceType(), Constants.ADDR_TV, in run()
323 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV), in onStandby()
329 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in onStandby()
598 && sourceDevice.getLogicalAddress() != Constants.ADDR_TV in handleRoutingInformation()
671 return Constants.ADDR_TV; in findKeyReceiverAddress()
679 return Constants.ADDR_TV; in findAudioReceiverAddress()
DArcInitiationActionFromAvr.java84 sendCommand(HdmiCecMessageBuilder.buildInitiateArc(getSourceAddress(), Constants.ADDR_TV), in sendInitiateArc()

12