Home
last modified time | relevance | path

Searched refs:ADDR_PLAYBACK_2 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DPowerStatusMonitorActionTest.java22 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
192 sendMessageFromPlaybackDevice(ADDR_PLAYBACK_2, 0x2000); in mixedSourceDevices_localDevice_1_4_updatesAll()
193 reportPowerStatus(ADDR_PLAYBACK_2, true, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_1_4_updatesAll()
196 assertPowerStatus(ADDR_PLAYBACK_2, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_1_4_updatesAll()
209 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_2); in mixedSourceDevices_localDevice_1_4_updatesAll()
220 sendMessageFromPlaybackDevice(ADDR_PLAYBACK_2, 0x2000); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
221 reportPowerStatus(ADDR_PLAYBACK_2, true, HdmiControlManager.POWER_STATUS_ON); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
235 mTvDevice.getDeviceInfo().getLogicalAddress(), ADDR_PLAYBACK_2); in mixedSourceDevices_localDevice_2_0_onlyUpdates_1_4()
DHdmiCecControllerTest.java29 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
206 assertEquals(ADDR_PLAYBACK_2, mLogicalAddress); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
221 assertEquals(ADDR_PLAYBACK_2, mLogicalAddress); in testAllocateLogicalAddress_PlaybackNoPreferredFirstOccupied()
227 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
236 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
248 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferred_2_0_BackupOne()
260 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackNonPreferred_2_0_BackupTwo()
270 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackPreferredOccupiedDedicatedBelowAvailable()
272 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_2, mCallback); in testAllocateLogicalAddress_PlaybackPreferredOccupiedDedicatedBelowAvailable()
280 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in testAllocateLogicalAddress_PlaybackPreferredOccupiedDedicatedAboveAvailable()
[all …]
DDeviceSelectActionFromTvTest.java25 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
88 .setLogicalAddress(ADDR_PLAYBACK_2)
229 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInPowerOnStatus_Cec14b()
244 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInStandbyStatus_Cec14b()
270 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInStandbyStatusWithSomeTimeouts_Cec14b()
297 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInStandbyAfterTimeoutForReportPowerStatus_Cec14b()
331 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
347 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
364 mHdmiCecLocalDeviceTv.updateActiveSource(ADDR_PLAYBACK_2, PHYSICAL_ADDRESS_PLAYBACK_2, in testDeviceSelect_DeviceInStandbyStatus_Cec20()
DHdmiUtilsTest.java307 assertThat(HdmiUtils.getTypeFromAddress(Constants.ADDR_PLAYBACK_2)).containsExactly( in getTypeFromAddress()
464 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
466 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
468 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
470 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
472 Constants.ADDR_PLAYBACK_2)).isTrue(); in isEligibleAddressForDevice()
474 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
476 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
478 Constants.ADDR_PLAYBACK_2)).isFalse(); in isEligibleAddressForDevice()
611 Constants.ADDR_PLAYBACK_2)).isTrue(); in isEligibleAddressForCecVersion_1_4()
[all …]
DHdmiCecLocalDeviceTvTest.java23 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
846 .setLogicalAddress(Constants.ADDR_PLAYBACK_2) in hotplugDetectionActionClearsDevices()
868 mNativeWrapper.setPollAddressResponse(Constants.ADDR_PLAYBACK_2, SendMessageResult.NACK); in hotplugDetectionActionClearsDevices()
881 assertThat(removedDeviceInfo.getLogicalAddress()).isEqualTo(Constants.ADDR_PLAYBACK_2); in hotplugDetectionActionClearsDevices()
1029 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in listenerInvokedIfPhysicalAddressReported()
1046 ADDR_PLAYBACK_2, ADDR_TV, "Playback 2"); in listenerNotInvokedIfPhysicalAddressUnknown()
1057 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in listenerNotInvokedIfPhysicalAddressUnknown()
1965 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in newDeviceConnectedIfOnlyOneGiveOsdNameSent()
1967 ADDR_TV, ADDR_PLAYBACK_2); in newDeviceConnectedIfOnlyOneGiveOsdNameSent()
2037 mHdmiControlService.setActiveSource(ADDR_PLAYBACK_2, 0x2000, in handleStandby_fromNonActiveSource_noStandby()
DDeviceSelectActionFromPlaybackTest.java25 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
165 mPlaybackLogicalAddress2 = mPlaybackLogicalAddress1 == ADDR_PLAYBACK_2 in setUp()
166 ? ADDR_PLAYBACK_1 : ADDR_PLAYBACK_2; in setUp()
DHdmiCecLocalDevicePlaybackTest.java1865 mNativeWrapper.setPollAddressResponse(Constants.ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in onAddressAllocated_invokesDeviceDiscovery()
1874 Constants.ADDR_PLAYBACK_2); in onAddressAllocated_invokesDeviceDiscovery()
1885 mNativeWrapper.setPollAddressResponse(Constants.ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in wakeUp_hotPlugIn_invokesDeviceDiscoveryOnce()
1898 Constants.ADDR_PLAYBACK_2); in wakeUp_hotPlugIn_invokesDeviceDiscoveryOnce()
1905 int otherPlaybackLogicalAddress = mPlaybackLogicalAddress == Constants.ADDR_PLAYBACK_2 in hotplugDetectionAction_addDevice()
1906 ? Constants.ADDR_PLAYBACK_1 : Constants.ADDR_PLAYBACK_2; in hotplugDetectionAction_addDevice()
1934 .setLogicalAddress(Constants.ADDR_PLAYBACK_2) in hotplugDetectionAction_removeDevice()
1946 mNativeWrapper.setPollAddressResponse(Constants.ADDR_PLAYBACK_2, SendMessageResult.NACK); in hotplugDetectionAction_removeDevice()
DHdmiControlServiceTest.java26 import static com.android.server.hdmi.Constants.ADDR_PLAYBACK_2;
1621 .isEqualTo(ADDR_PLAYBACK_2); in triggerMultipleAddressAllocations_keepLastAllocatedAddress()
1724 mNativeWrapper.setPollAddressResponse(ADDR_PLAYBACK_2, SendMessageResult.SUCCESS); in failedAddressAllocation_noLocalDevice()
/frameworks/base/services/core/java/com/android/server/hdmi/
DConstants.java59 public static final int ADDR_PLAYBACK_2 = 8; field in Constants
DHdmiUtils.java74 entry(Constants.ADDR_PLAYBACK_2,
DHdmiCecMessageValidator.java68 static final int ADDR_PLAYBACK_2 = 1 << 8; field in HdmiCecMessageValidator
DHdmiCecNetwork.java531 case Constants.ADDR_PLAYBACK_2: in logicalAddressToDeviceType()