/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecPowerStatusControllerTest.java | 183 Constants.ADDR_BROADCAST, in setPowerStatus_doesntSendBroadcast_1_4() 198 Constants.ADDR_BROADCAST, in setPowerStatus_transient_doesntSendBroadcast_1_4() 213 Constants.ADDR_BROADCAST, in setPowerStatus_fast_transient_doesntSendBroadcast_1_4() 227 Constants.ADDR_BROADCAST, in setPowerStatus_sendsBroadcast_2_0() 242 Constants.ADDR_BROADCAST, in setPowerStatus_transient_sendsBroadcast_2_0() 257 Constants.ADDR_BROADCAST, in setPowerStatus_fast_transient_doesntSendBroadcast_2_0()
|
D | RoutingControlActionTest.java | 21 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 123 ADDR_UNREGISTERED, ADDR_BROADCAST, MESSAGE_ROUTING_INFORMATION, TUNER_PARAM); 125 ADDR_UNREGISTERED, ADDR_BROADCAST, MESSAGE_ROUTING_INFORMATION, PLAYER_PARAM); 127 ADDR_TUNER_1, ADDR_BROADCAST, MESSAGE_ACTIVE_SOURCE, TUNER_PARAM); 129 ADDR_PLAYBACK_1, ADDR_BROADCAST, MESSAGE_ACTIVE_SOURCE, PLAYER_PARAM);
|
D | HdmiCecNetworkTest.java | 299 Constants.ADDR_BROADCAST, powerStatus)); in cecDevices_tracking_reportPowerStatus() 322 Constants.ADDR_BROADCAST, osdName)); in cecDevices_tracking_reportOsdName() 377 Constants.ADDR_BROADCAST, powerStatus)); in cecDevices_tracking_updatesDeviceInfo() 380 Constants.ADDR_BROADCAST, osdName)); in cecDevices_tracking_updatesDeviceInfo() 384 Constants.ADDR_BROADCAST, cecVersion)); in cecDevices_tracking_updatesDeviceInfo() 455 Constants.ADDR_BROADCAST, osdName)); in cecDevices_tracking_updatesOsdName() 458 Constants.ADDR_BROADCAST, updatedOsdName)); in cecDevices_tracking_updatesOsdName() 515 Constants.ADDR_BROADCAST, powerStatus)); in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2() 537 HdmiCecMessageBuilder.buildCecVersion(logicalAddress, Constants.ADDR_BROADCAST, in cecDevices_tracking_reportCecVersion_tracksCecVersion_cec14() 552 HdmiCecMessageBuilder.buildCecVersion(logicalAddress, Constants.ADDR_BROADCAST, in cecDevices_tracking_reportCecVersion_tracksCecVersion_cec20()
|
D | DevicePowerStatusActionTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 239 ADDR_TV, ADDR_BROADCAST, HdmiControlManager.POWER_STATUS_STANDBY); in queryDisplayStatus_localDevice_2_0_targetDevice_2_0() 263 ADDR_TV, ADDR_BROADCAST, HdmiControlManager.POWER_STATUS_UNKNOWN); in queryDisplayStatus_localDevice_2_0_targetDevice_2_0_unknown() 305 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_BROADCAST); in pendingActionDoesNotBlockSendingStandby()
|
D | SetAudioVolumeLevelMessageTest.java | 61 .build(Constants.ADDR_TV, Constants.ADDR_BROADCAST, 50) in build_invalid()
|
D | HdmiCecLocalDeviceAudioSystemTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 299 ADDR_AUDIO_SYSTEM, ADDR_BROADCAST, false); in handleSystemAudioModeRequest_turnOffByTv() 324 ADDR_AUDIO_SYSTEM, ADDR_BROADCAST, false); in onStandbyAudioSystem_currentSystemAudioControlOn() 448 ADDR_AUDIO_SYSTEM, ADDR_BROADCAST, false); in terminateSystemAudioMode_systemAudioModeOff() 462 ADDR_AUDIO_SYSTEM, ADDR_BROADCAST, false); in terminateSystemAudioMode_systemAudioModeOn() 598 ADDR_AUDIO_SYSTEM, Constants.ADDR_BROADCAST, true); in handleSystemAudioModeRequest_fromNonTV_tVSupport()
|
D | PowerStatusMonitorActionTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 249 broadcast ? ADDR_BROADCAST : mTvDevice.getDeviceInfo().getLogicalAddress(); in reportPowerStatus()
|
D | HdmiCecLocalDevicePlaybackTest.java | 21 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 771 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_BROADCAST, true); in handleSetSystemAudioModeOn_audioSystemBroadcast() 841 ADDR_BROADCAST); in handleOnStandby_ScreenOff_NotActiveSource_ToTv() 871 ADDR_BROADCAST); in handleOnStandby_ScreenOff_NotActiveSource_ToTvAndAudioSystem() 901 ADDR_BROADCAST); in handleOnStandby_ScreenOff_NotActiveSource_Broadcast() 931 ADDR_BROADCAST); in handleOnStandby_ScreenOff_NotActiveSource_None() 961 ADDR_BROADCAST); in handleOnStandby_ScreenOff_ActiveSource_ToTv() 991 ADDR_BROADCAST); in handleOnStandby_ScreenOff_ActiveSource_ToTvAndAudioSystem() 1021 ADDR_BROADCAST); in handleOnStandby_ScreenOff_ActiveSource_Broadcast() 1051 ADDR_BROADCAST); in handleOnStandby_ScreenOff_ActiveSource_None() [all …]
|
D | HdmiCecControllerTest.java | 27 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 351 ADDR_TV, ADDR_BROADCAST); in onMessage_broadcastMessage_doesNotSendFeatureAbort()
|
D | HdmiCecMessageValidatorTest.java | 20 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 650 for (int i = 0; i < ADDR_BROADCAST; ++i) { in isValid_activeSource()
|
D | BaseAbsoluteVolumeBehaviorTest.java | 276 Constants.ADDR_AUDIO_SYSTEM, Constants.ADDR_BROADCAST, status)); in receiveSetSystemAudioMode()
|
D | HdmiCecLocalDeviceTvTest.java | 21 import static com.android.server.hdmi.Constants.ADDR_BROADCAST; 483 HdmiCecMessage standby = HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_BROADCAST); in tvSendStandbyOnSleep_Enabled() 495 HdmiCecMessage standby = HdmiCecMessageBuilder.buildStandby(ADDR_TV, ADDR_BROADCAST); in tvSendStandbyOnSleep_Disabled()
|
D | HdmiControlServiceTest.java | 338 Constants.ADDR_PLAYBACK_1, Constants.ADDR_BROADCAST, in initialPowerStatus_normalBoot_goToStandby_doesNotBroadcastsPowerStatus_1_4() 373 Constants.ADDR_PLAYBACK_1, Constants.ADDR_BROADCAST, in initialPowerStatus_normalBoot_goToStandby_broadcastsPowerStatus_2_0() 1189 Constants.ADDR_BROADCAST); in dispatchMessageToLocalDevice_broadcastMessage_returnsHandled()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessageValidator.java | 76 static final int ADDR_BROADCAST = 1 << 15; field in HdmiCecMessageValidator 78 static final int ADDR_DIRECT = ADDR_ALL ^ ADDR_BROADCAST; 102 physicalAddressValidator, ADDR_ALL ^ ADDR_AUDIO_SYSTEM, ADDR_BROADCAST); in addValidationInfo() argument 106 new ReportPhysicalAddressValidator(), ADDR_ALL, ADDR_BROADCAST); in addValidationInfo() argument 108 new RoutingChangeValidator(), ADDR_ALL, ADDR_BROADCAST); in addValidationInfo() argument 110 physicalAddressValidator, ADDR_ALL, ADDR_BROADCAST); in addValidationInfo() argument 112 physicalAddressValidator, ADDR_NOT_UNREGISTERED, ADDR_BROADCAST); in addValidationInfo() argument 153 noneValidator, ADDR_ALL, ADDR_BROADCAST); in addValidationInfo() argument 201 new AsciiValidator(3), ADDR_TV, ADDR_BROADCAST); in addValidationInfo() argument 227 new FixedLengthValidator(3), ADDR_NOT_UNREGISTERED, ADDR_BROADCAST); in addValidationInfo() argument [all …]
|
D | HdmiCecMessageBuilder.java | 108 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildSetMenuLanguageCommand() 151 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildReportPhysicalAddressCommand() 172 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildDeviceVendorIdCommand() 308 src, Constants.ADDR_BROADCAST, Constants.MESSAGE_REQUEST_ACTIVE_SOURCE); in buildRequestActiveSource() 319 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, Constants.MESSAGE_ACTIVE_SOURCE, in buildActiveSource() 345 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildSetStreamPath() 364 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, Constants.MESSAGE_ROUTING_CHANGE, in buildRoutingChange() 378 return HdmiCecMessage.build(src, Constants.ADDR_BROADCAST, in buildRoutingInformation()
|
D | ReportFeaturesMessage.java | 92 int addressValidationResult = validateAddress(source, Constants.ADDR_BROADCAST); in build() 94 return new HdmiCecMessage(source, Constants.ADDR_BROADCAST, in build() 97 return new ReportFeaturesMessage(source, Constants.ADDR_BROADCAST, params, in build() 171 HdmiCecMessageValidator.ADDR_BROADCAST); in validateAddress()
|
D | SystemAudioInitiationActionFromAvr.java | 128 Constants.ADDR_BROADCAST, getSourcePath(), in handleActiveSourceTimeout() 143 sendSetSystemAudioMode(true, Constants.ADDR_BROADCAST); in queryTvSystemAudioModeSupport()
|
D | HdmiCecPowerStatusController.java | 82 Constants.ADDR_BROADCAST, in sendReportPowerStatus()
|
D | HdmiCecLocalDevicePlayback.java | 107 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated() 339 Constants.ADDR_BROADCAST), sendMessageCallback); in onStandby() 353 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST), in onStandby() 549 if (message.getDestination() != Constants.ADDR_BROADCAST in handleSetSystemAudioMode()
|
D | HdmiCecLocalDeviceAudioSystem.java | 271 getDeviceInfo().getDeviceType(), Constants.ADDR_BROADCAST, in onAddressAllocated() 833 Constants.ADDR_BROADCAST, in handleSystemAudioModeRequest() 1123 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST, false), in terminateSystemAudioMode() 1187 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST, true)); in handleSystemAudioModeOnFromNonTvDevice() 1199 Constants.ADDR_BROADCAST, in handleSystemAudioModeOnFromNonTvDevice()
|
D | Constants.java | 83 public static final int ADDR_BROADCAST = 15; field in Constants
|
D | HdmiCecLocalDeviceSource.java | 114 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST)); in sendStandby()
|
D | HdmiCecController.java | 672 if (address == Constants.ADDR_BROADCAST) { in isAcceptableAddress() 711 if (src == Constants.ADDR_BROADCAST || dest == Constants.ADDR_UNREGISTERED) { in maySendFeatureAbortCommand() 826 boolean destinationIsLocal = dstAddress == Constants.ADDR_BROADCAST; in incomingMessageDirection()
|
D | HdmiCecLocalDevice.java | 267 if (dest != mDeviceInfo.getLogicalAddress() && dest != Constants.ADDR_BROADCAST) { in dispatchMessage() 930 if (message.getDestination() == Constants.ADDR_BROADCAST in handleVendorCommandWithId()
|
D | HdmiCecLocalDeviceTv.java | 1260 || message.getDestination() == Constants.ADDR_BROADCAST) in isMessageForSystemAudio() 1467 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST), in onStandby()
|