/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
H A D | OneTouchPlayActionTest.java | 153 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedWithUnknownTvDevice() 156 playbackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in succeedWithUnknownTvDevice() 166 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedWithUnknownTvDevice() 215 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedAfterGettingPowerStatusOn_Cec14b() 264 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedAfterGettingTransientPowerStatus_Cec14b() 277 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedAfterGettingTransientPowerStatus_Cec14b() 410 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedIfPowerStatusUnknown_Cec20() 460 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedIfPowerStatusStandby_Cec20() 493 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedWithAddressNotAllocated_Cec14b() 526 playbackDevice.getDeviceInfo().getLogicalAddress(), in succeedWithAddressAllocated_Cec14b() [all …]
|
H A D | SystemAudioAutoInitiationActionTest.java | 141 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOn() 149 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOn() 171 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio() 179 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOnAndImpossibleToChangeSystemAudio() 199 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOnAndResponseOff() 207 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_systemAudioOnAndResponseOff() 230 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_settingOffAndResponseOn() 238 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_settingOffAndResponseOn() 261 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_settingOffAndResponseOff() 269 mHdmiCecLocalDeviceTv.getDeviceInfo().getLogicalAddress(), in testReceiveSystemAudioMode_settingOffAndResponseOff() [all …]
|
H A D | DevicePowerStatusActionTest.java | 125 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequestAndHandlesResponse() 131 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), in queryDisplayStatus_sendsRequestAndHandlesResponse() 156 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully() 169 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), in queryDisplayStatus_sendsRequest_timeout_retriesSuccessfully() 184 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_sendsRequest_timeout_retriesFailure() 208 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_localDevice_2_0_targetDevice_1_4() 214 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), in queryDisplayStatus_localDevice_2_0_targetDevice_1_4() 240 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_localDevice_2_0_targetDevice_2_0() 264 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), ADDR_TV); in queryDisplayStatus_localDevice_2_0_targetDevice_2_0_unknown() 270 mPlaybackDevice.getDeviceInfo().getLogicalAddress(), in queryDisplayStatus_localDevice_2_0_targetDevice_2_0_unknown() [all …]
|
H A D | BaseAbsoluteVolumeBehaviorTest.java | 194 Constants.ADDR_TV, getLogicalAddress())); in setUp() 197 Constants.ADDR_AUDIO_SYSTEM, getLogicalAddress())); in setUp() 205 protected int getLogicalAddress() { in getLogicalAddress() method in BaseAbsoluteVolumeBehaviorTest 206 return mHdmiCecLocalDevice.getDeviceInfo().getLogicalAddress(); in getLogicalAddress() 262 getLogicalAddress(), in receiveReportAudioStatus() 302 getLogicalAddress(), getSystemAudioDeviceLogicalAddress())); in verifyGiveAudioStatusNeverSent() 320 getLogicalAddress(), getSystemAudioDeviceLogicalAddress(), in allConditionsExceptSavlSupportMet_sendsSetAudioVolumeLevelAndGiveFeatures() 461 getSystemAudioDeviceLogicalAddress(), getLogicalAddress(), in avbEnabled_setAudioVolumeLevelFeatureAborted_avbDisabled() 556 HdmiCecMessageBuilder.buildUserControlPressed(getLogicalAddress(), in avbEnabled_audioDeviceVolumeAdjusted_sendsUserControlPressedAndGiveAudioStatus() 562 HdmiCecMessageBuilder.buildGiveAudioStatus(getLogicalAddress(), in avbEnabled_audioDeviceVolumeAdjusted_sendsUserControlPressedAndGiveAudioStatus() [all …]
|
H A D | HdmiCecLocalDevicePlaybackTest.java | 651 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleSetSystemAudioModeOff_audioSystemToPlayback() 665 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleSystemAudioModeStatusOn_DirectlyToLocalDeviceFromAudioSystem() 701 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleOnStandby_ScreenOff_NotActiveSource_ToTv() 705 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleOnStandby_ScreenOff_NotActiveSource_ToTv() 731 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleOnStandby_ScreenOff_NotActiveSource_ToTvAndAudioSystem() 735 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleOnStandby_ScreenOff_NotActiveSource_ToTvAndAudioSystem() 1489 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in handleSetStreamPath_afterHotplug_broadcastsActiveSource() 1508 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress()); in handleSetStreamPath_afterHotplug_hasCorrectActiveSource() 1791 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in getActiveSource_localPlaybackIsActiveSource() 1813 mHdmiControlService.setActiveSource(externalDevice.getLogicalAddress(), in getActiveSource_deviceInNetworkIsActiveSource() [all …]
|
H A D | PowerStatusMonitorActionTest.java | 129 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_1); in sourceDevice_1_4_updatesPowerState() 168 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_1); in sourceDevice_2_0_doesNotUpdatePowerState() 197 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_1); in mixedSourceDevices_localDevice_1_4_updatesAll() 202 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_2); in mixedSourceDevices_localDevice_1_4_updatesAll() 222 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_1); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4() 228 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_2); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4() 242 broadcast ? ADDR_BROADCAST : mTvDevice.getDeviceInfo().getLogicalAddress(); in reportPowerStatus()
|
H A D | HdmiCecPowerStatusControllerTest.java | 175 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_doesntSendBroadcast_1_4() 190 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_transient_doesntSendBroadcast_1_4() 205 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_fast_transient_doesntSendBroadcast_1_4() 219 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_sendsBroadcast_2_0() 234 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_transient_sendsBroadcast_2_0() 249 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setPowerStatus_fast_transient_doesntSendBroadcast_2_0()
|
H A D | HdmiCecNetworkTest.java | 221 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_logicalAddressOnly() 258 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_reportPhysicalAddress() 304 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_reportPowerStatus() 327 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_reportOsdName() 349 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_reportVendorId() 389 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_updatesDeviceInfo() 414 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_updatesPhysicalAddress() 441 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_updatesPowerStatus() 463 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_updatesOsdName() 480 assertThat(cecDeviceInfo.getLogicalAddress()).isEqualTo(logicalAddress); in cecDevices_tracking_updatesVendorId() [all …]
|
H A D | TvToAudioSystemAvbTest.java | 157 getSystemAudioDeviceLogicalAddress(), getLogicalAddress(), in avbEnabled_savlFeatureAborted_receiveReportAudioStatus_switchToAdjustOnlyAvb() 237 HdmiCecMessageBuilder.buildUserControlPressed(getLogicalAddress(), in adjustOnlyAvbEnabled_audioDeviceVolumeAdjusted_sendsUcpAndGiveAudioStatus() 240 HdmiCecMessageBuilder.buildUserControlReleased(getLogicalAddress(), in adjustOnlyAvbEnabled_audioDeviceVolumeAdjusted_sendsUcpAndGiveAudioStatus() 243 HdmiCecMessageBuilder.buildGiveAudioStatus(getLogicalAddress(), in adjustOnlyAvbEnabled_audioDeviceVolumeAdjusted_sendsUcpAndGiveAudioStatus()
|
H A D | ActiveSourceActionTest.java | 111 playbackDevice.getDeviceInfo().getLogicalAddress(), mPhysicalAddress); in playbackDevice_sendsActiveSource_sendsMenuStatus() 114 playbackDevice.getDeviceInfo().getLogicalAddress(), in playbackDevice_sendsActiveSource_sendsMenuStatus() 137 .isEqualTo(playbackDevice.getDeviceInfo().getLogicalAddress()); in playbackDevice_updatesActiveSourceState()
|
H A D | HdmiCecLocalDeviceAudioSystemTest.java | 755 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in setActiveSource_localDevice_playback() 760 .isEqualTo(mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress()); in setActiveSource_localDevice_playback() 770 mHdmiCecLocalDeviceAudioSystem.getDeviceInfo().getLogicalAddress(), in setActiveSource_localDevice_audio() 775 .isEqualTo(mHdmiCecLocalDeviceAudioSystem.getDeviceInfo().getLogicalAddress()); in setActiveSource_localDevice_audio() 829 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), ADDR_TV); in oneTouchPlay() 831 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in oneTouchPlay() 835 mHdmiCecLocalDevicePlayback.getDeviceInfo().getLogicalAddress(), in oneTouchPlay() 838 mHdmiCecLocalDeviceAudioSystem.getDeviceInfo().getLogicalAddress(), ADDR_TV); in oneTouchPlay() 840 mHdmiCecLocalDeviceAudioSystem.getDeviceInfo().getLogicalAddress(), in oneTouchPlay() 844 mHdmiCecLocalDeviceAudioSystem.getDeviceInfo().getLogicalAddress(), in oneTouchPlay()
|
H A D | PlaybackDeviceToAudioSystemAvbTest.java | 83 getLogicalAddress(), in switchToTv_absoluteVolumeControlDisabledUntilAllConditionsMet()
|
H A D | PlaybackDeviceToTvAvbTest.java | 86 getLogicalAddress(), in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
|
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDeviceTv.java | 121 processDelayedActiveSource(info.getLogicalAddress()); 178 getDeviceInfo().getLogicalAddress(), in onAddressAllocated() 196 getDeviceInfo().getLogicalAddress())); in onAddressAllocated() 249 int targetAddress = targetDevice.getLogicalAddress(); in deviceSelect() 278 getDeviceInfo().getLogicalAddress(), in handleSelectInternalSource() 308 && logicalAddress != getDeviceInfo().getLogicalAddress()) { in updateActiveSource() 418 return info.getLogicalAddress(); in findKeyReceiverAddress() 524 getDeviceInfo().getLogicalAddress(), language); in broadcastMenuLanguage() 991 getAvrDeviceInfo().getLogicalAddress(), delta > 0)); in changeVolume() 1060 && (avrAddress == avr.getLogicalAddress()) in canStartArcUpdateAction() [all …]
|
H A D | HdmiCecLocalDevicePlayback.java | 93 getDeviceInfo().getLogicalAddress(), in onAddressAllocated() 98 getDeviceInfo().getLogicalAddress(), mService.getVendorId())); in onAddressAllocated() 109 getDeviceInfo().getLogicalAddress(), Constants.ADDR_AUDIO_SYSTEM), in onAddressAllocated() 189 int targetAddress = targetDevice.getLogicalAddress(); in deviceSelect() 255 getDeviceInfo().getLogicalAddress(), mService.getPhysicalAddress())); in onStandby() 268 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in onStandby() 276 getDeviceInfo().getLogicalAddress(), in onStandby() 282 getDeviceInfo().getLogicalAddress(), in onStandby() 288 getDeviceInfo().getLogicalAddress(), in onStandby() 297 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST)); in onStandby() [all …]
|
H A D | DeviceSelectActionFromTv.java | 95 return mTarget.getLogicalAddress(); in getTargetAddress() 218 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice() 220 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice()
|
H A D | HdmiCecLocalDevice.java | 443 mDeviceInfo.getLogicalAddress(), vendorId); in handleGiveDeviceVendorId() 566 mDeviceInfo.getLogicalAddress(), address)); in handleReportPhysicalAddress() 708 logicalAddress = mDeviceInfo.getLogicalAddress(); in reportFeatures() 880 mDeviceInfo.getLogicalAddress(), in handleGiveDevicePowerStatus() 891 mDeviceInfo.getLogicalAddress(), in handleMenuRequest() 1001 return addr == mDeviceInfo.getLogicalAddress(); in isAddressOf() 1049 getDeviceInfo().getLogicalAddress(), targetAddress)); in querySetAudioVolumeLevelSupport() 1187 setActiveSource(info.getLogicalAddress(), info.getPhysicalAddress(), caller); in setActiveSource() 1323 || logicalAddress == mDeviceInfo.getLogicalAddress()) { in sendKeyEvent() 1418 mDeviceInfo.getLogicalAddress(), targetAddress, cecKeycode)); in sendUserControlPressedAndReleased() [all …]
|
H A D | HdmiCecLocalDeviceAudioSystem.java | 160 processDelayedActiveSource(info.getLogicalAddress()); in addOrUpdateTvInput() 222 mService.getHdmiCecNetwork().removeCecDevice(this, info.getLogicalAddress()); in onHotplug() 265 getDeviceInfo().getLogicalAddress(), in onAddressAllocated() 270 getDeviceInfo().getLogicalAddress(), mService.getVendorId())); in onAddressAllocated() 427 getDeviceInfo().getLogicalAddress(), in handleGiveSystemAudioModeStatus() 817 getDeviceInfo().getLogicalAddress(), in handleSystemAudioModeRequest() 917 getDeviceInfo().getLogicalAddress(), source, scaledVolume, mute)); in reportAudioStatus() 1072 getDeviceInfo().getLogicalAddress(), oldPath, newPath); in doManualPortSwitching() 1155 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST, true)); in handleSystemAudioModeOnFromNonTvDevice() 1166 getDeviceInfo().getLogicalAddress(), in handleSystemAudioModeOnFromNonTvDevice() [all …]
|
H A D | HdmiCecNetwork.java | 201 HdmiDeviceInfo oldDeviceInfo = getCecDeviceInfo(deviceInfo.getLogicalAddress()); in addDeviceInfo() 203 deviceInfo.getLogicalAddress(), deviceInfo.getPhysicalAddress()); in addDeviceInfo() 258 if (isLocalDeviceAddress(info.getLogicalAddress())) { in addCecDevice() 330 if (!isLocalDeviceAddress(info.getLogicalAddress())) { in getDeviceInfoList() 356 if (isLocalDeviceAddress(info.getLogicalAddress())) { in getInputDevices() 797 if (isLocalDeviceAddress(info.getLogicalAddress())) { in getSafeCecDevicesLocked() 815 if (info.isCecDevice() && info.getLogicalAddress() == logicalAddress) { in getSafeCecDeviceInfo() 954 if (mLocalDevices.get(key).getDeviceInfo().getLogicalAddress() == address) { in isLocalDeviceAddress()
|
H A D | PowerStatusMonitorAction.java | 114 mPowerStatus.append(info.getLogicalAddress(), info.getDevicePowerStatus()); in resetPowerStatus() 126 final int logicalAddress = info.getLogicalAddress(); in queryPowerStatus()
|
H A D | HdmiCecLocalDeviceSource.java | 113 getDeviceInfo().getLogicalAddress(), Constants.ADDR_BROADCAST)); in sendStandby() 118 getDeviceInfo().getLogicalAddress(), Constants.ADDR_TV)); in sendStandby() 122 getDeviceInfo().getLogicalAddress(), Constants.ADDR_AUDIO_SYSTEM)); in sendStandby() 377 return getActiveSource().equals(getDeviceInfo().getLogicalAddress(), in isActiveSource()
|
H A D | HdmiCecPowerStatusController.java | 81 localDevice.getDeviceInfo().getLogicalAddress(), in sendReportPowerStatus()
|
H A D | HdmiControlService.java | 1362 int address = device.getDeviceInfo().getLogicalAddress(); in notifyAddressAllocated() 1616 if (message.getSource() == device.getDeviceInfo().getLogicalAddress() in sourceAddressIsLocal() 1775 if (device.getDeviceInfo().getLogicalAddress() == logicalAddress) { in checkLogicalAddressConflictAndReallocate() 2950 return audioSystem().getDeviceInfo().getLogicalAddress(); in getRemoteControlSourceAddress() 2952 return playback().getDeviceInfo().getLogicalAddress(); in getRemoteControlSourceAddress() 4010 logicalAddress == device.getDeviceInfo().getLogicalAddress() in setActiveSource() 4353 systemAudioDeviceInfo.getLogicalAddress()); in checkAndUpdateAbsoluteVolumeBehavior() 4371 systemAudioDeviceInfo.getLogicalAddress()); in checkAndUpdateAbsoluteVolumeBehavior() 4382 systemAudioDeviceInfo.getLogicalAddress()); in checkAndUpdateAbsoluteVolumeBehavior() 4485 mSystemAudioDevice.getLogicalAddress(), in onAudioDeviceVolumeChanged() [all …]
|
H A D | ActiveSourceHandler.java | 98 return mSource.getDeviceInfo().getLogicalAddress(); in getSourceAddress()
|
H A D | SendKeyAction.java | 156 && localDevice().getDeviceInfo().getLogicalAddress() != Constants.ADDR_TV) { in sendKeyDown()
|