Home
last modified time | relevance | path

Searched refs:getLogicalAddress (Results 1 – 25 of 40) sorted by relevance

12

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DOneTouchPlayActionTest.java153 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 DSystemAudioAutoInitiationActionTest.java141 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 DDevicePowerStatusActionTest.java125 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 DBaseAbsoluteVolumeBehaviorTest.java194 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 DHdmiCecLocalDevicePlaybackTest.java651 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 DPowerStatusMonitorActionTest.java129 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 DHdmiCecPowerStatusControllerTest.java175 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 DHdmiCecNetworkTest.java221 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 DTvToAudioSystemAvbTest.java157 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 DActiveSourceActionTest.java111 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 DHdmiCecLocalDeviceAudioSystemTest.java755 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 DPlaybackDeviceToAudioSystemAvbTest.java83 getLogicalAddress(), in switchToTv_absoluteVolumeControlDisabledUntilAllConditionsMet()
H A DPlaybackDeviceToTvAvbTest.java86 getLogicalAddress(), in switchToAudioSystem_absoluteVolumeControlDisabledUntilAllConditionsMet()
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDeviceTv.java121 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 DHdmiCecLocalDevicePlayback.java93 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 DDeviceSelectActionFromTv.java95 return mTarget.getLogicalAddress(); in getTargetAddress()
218 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice()
220 sendUserControlPressedAndReleased(mTarget.getLogicalAddress(), in turnOnDevice()
H A DHdmiCecLocalDevice.java443 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 DHdmiCecLocalDeviceAudioSystem.java160 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 DHdmiCecNetwork.java201 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 DPowerStatusMonitorAction.java114 mPowerStatus.append(info.getLogicalAddress(), info.getDevicePowerStatus()); in resetPowerStatus()
126 final int logicalAddress = info.getLogicalAddress(); in queryPowerStatus()
H A DHdmiCecLocalDeviceSource.java113 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 DHdmiCecPowerStatusController.java81 localDevice.getDeviceInfo().getLogicalAddress(), in sendReportPowerStatus()
H A DHdmiControlService.java1362 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 DActiveSourceHandler.java98 return mSource.getDeviceInfo().getLogicalAddress(); in getSourceAddress()
H A DSendKeyAction.java156 && localDevice().getDeviceInfo().getLogicalAddress() != Constants.ADDR_TV) { in sendKeyDown()

12