Home
last modified time | relevance | path

Searched refs:DEVICE_PLAYBACK (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecControllerTest.java19 import static android.hardware.hdmi.HdmiDeviceInfo.DEVICE_PLAYBACK;
196 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_1, mCallback); in testAllocateLogicalAddress_PlaybackPreferredNotOccupied()
204 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_1, mCallback); in testAllocateLogicalAddress_PlaybackPreferredOccupied()
211 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNoPreferredNotOccupied()
219 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNoPreferredFirstOccupied()
228 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNonPreferredFirstTwoOccupied()
238 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNonPreferredAllOccupied()
250 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNonPreferred_2_0_BackupOne()
263 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocateLogicalAddress_PlaybackNonPreferred_2_0_BackupTwo()
272 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_2, mCallback); in testAllocateLogicalAddress_PlaybackPreferredOccupiedDedicatedBelowAvailable()
[all …]
DHdmiUtilsTest.java300 HdmiDeviceInfo.DEVICE_PLAYBACK); in getTypeFromAddress()
308 HdmiDeviceInfo.DEVICE_PLAYBACK); in getTypeFromAddress()
314 HdmiDeviceInfo.DEVICE_PLAYBACK); in getTypeFromAddress()
316 HdmiDeviceInfo.DEVICE_PLAYBACK, HdmiDeviceInfo.DEVICE_RECORDER, in getTypeFromAddress()
319 HdmiDeviceInfo.DEVICE_PLAYBACK, HdmiDeviceInfo.DEVICE_RECORDER, in getTypeFromAddress()
335 assertThat(HdmiUtils.isEligibleAddressForDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in isEligibleAddressForDevice()
352 assertThat(HdmiUtils.isEligibleAddressForDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in isEligibleAddressForDevice()
369 assertThat(HdmiUtils.isEligibleAddressForDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in isEligibleAddressForDevice()
386 assertThat(HdmiUtils.isEligibleAddressForDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in isEligibleAddressForDevice()
403 assertThat(HdmiUtils.isEligibleAddressForDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in isEligibleAddressForDevice()
[all …]
DHdmiCecNetworkTest.java196 assertThat(mHdmiCecNetwork.getLocalDevice(HdmiDeviceInfo.DEVICE_PLAYBACK)).isNull(); in localDevices_verifyOne_tv()
202 mHdmiCecNetwork.addLocalDevice(HdmiDeviceInfo.DEVICE_PLAYBACK, in localDevices_verifyOne_playback()
208 assertThat(mHdmiCecNetwork.getLocalDevice(HdmiDeviceInfo.DEVICE_PLAYBACK)).isNotNull(); in localDevices_verifyOne_playback()
224 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_logicalAddressOnly()
250 int type = HdmiDeviceInfo.DEVICE_PLAYBACK; in cecDevices_tracking_reportPhysicalAddress()
276 int type = HdmiDeviceInfo.DEVICE_PLAYBACK; in cecDevices_tracking_updateDeviceInfo_sameDoesntNotify()
307 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportPowerStatus()
330 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportOsdName()
352 assertThat(cecDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in cecDevices_tracking_reportVendorId()
366 int type = HdmiDeviceInfo.DEVICE_PLAYBACK; in cecDevices_tracking_updatesDeviceInfo()
[all …]
DReportFeaturesMessageTest.java90 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK), Constants.RC_PROFILE_TV, in build_basicPlayback_1_4()
102 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK, in build_basicPlaybackAudioSystem_1_4()
139 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK), Constants.RC_PROFILE_SOURCE, in build_remoteControlPlayback_2_0()
166 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK), Constants.RC_PROFILE_SOURCE, in build_deviceFeaturesPlayback_2_0()
DBasePlaybackDeviceAvbTest.java49 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType()
DDeviceSelectActionFromPlaybackTest.java106 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
191 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
201 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
211 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in setUp()
DHdmiControlServiceTest.java19 import static android.hardware.hdmi.HdmiDeviceInfo.DEVICE_PLAYBACK;
117 mLocalDeviceTypes.add(HdmiDeviceInfo.DEVICE_PLAYBACK); in setUp()
462 Arrays.asList(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM), in setRcProfileSourceDeviceTestHelper()
676 Arrays.asList(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM), in handleGiveFeatures_cec20_reportsFeatures()
694 Arrays.asList(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM), in initializeCec_14_doesNotBroadcastReportFeatures()
711 Arrays.asList(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM), in initializeCec_20_reportsFeaturesBroadcast()
1243 doReturn(Arrays.asList(new Integer[]{DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM})) in readDeviceTypes_readsIntegerDeviceTypes()
1249 .containsExactly(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM); in readDeviceTypes_readsIntegerDeviceTypes()
1263 .containsExactly(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM); in readDeviceTypes_readsEnumDeviceTypes()
1278 .containsExactly(DEVICE_PLAYBACK, DEVICE_AUDIO_SYSTEM); in readDeviceTypes_readsEnumOverIntegerDeviceTypes()
[all …]
DHdmiCecMessageBuilderTest.java44 ADDR_PLAYBACK_1, 0x1234, HdmiDeviceInfo.DEVICE_PLAYBACK); in buildReportPhysicalAddressCommand()
DDeviceSelectActionFromTvTest.java81 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
91 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
DSetAudioVolumeLevelDiscoveryActionTest.java88 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
DHdmiCecPowerStatusControllerTest.java72 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
DHdmiCecLocalDeviceTvTest.java849 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in hotplugDetectionActionClearsDevices()
883 assertThat(removedDeviceInfo.getDeviceType()).isEqualTo(HdmiDeviceInfo.DEVICE_PLAYBACK); in hotplugDetectionActionClearsDevices()
1029 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in listenerInvokedIfPhysicalAddressReported()
1057 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in listenerNotInvokedIfPhysicalAddressUnknown()
1897 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) in onAddressAllocated_startRequestActiveSourceAction_cancelOnDeviceSelect()
1965 ADDR_PLAYBACK_2, 0x1000, HdmiDeviceInfo.DEVICE_PLAYBACK); in newDeviceConnectedIfOnlyOneGiveOsdNameSent()
DRoutingControlActionTest.java118 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
DPowerStatusMonitorActionTest.java242 logicalAddress, physicalAddress, HdmiDeviceInfo.DEVICE_PLAYBACK); in sendMessageFromPlaybackDevice()
DDevicePowerStatusActionTest.java83 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
DHdmiCecAtomLoggingTest.java98 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
DResendCecCommandActionPlaybackTest.java65 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
DBaseAbsoluteVolumeBehaviorTest.java222 if (getDeviceType() == HdmiDeviceInfo.DEVICE_PLAYBACK) { in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices()
/frameworks/base/services/core/java/com/android/server/hdmi/
DActiveSourceAction.java47 if (source().getType() == HdmiDeviceInfo.DEVICE_PLAYBACK) { in start()
DHdmiUtils.java69 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK)),
75 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK)),
80 Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK)),
81 entry(Constants.ADDR_BACKUP_1, Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK,
84 entry(Constants.ADDR_BACKUP_2, Lists.newArrayList(HdmiDeviceInfo.DEVICE_PLAYBACK,
DReportFeaturesMessage.java111 case HdmiDeviceInfo.DEVICE_PLAYBACK: in hdmiDeviceInfoDeviceTypeToShiftValue()
DHdmiCecLocalDevicePlayback.java93 super(service, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiCecLocalDevicePlayback()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiPlaybackClient.java96 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType()
DHdmiDeviceInfo.java51 public static final int DEVICE_PLAYBACK = 4; field in HdmiDeviceInfo
413 return mDeviceType == DEVICE_PLAYBACK in isSourceType()
DHdmiControlManager.java1203 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiControlManager()
1270 case HdmiDeviceInfo.DEVICE_PLAYBACK: in getClient()
1303 return (HdmiPlaybackClient) getClient(HdmiDeviceInfo.DEVICE_PLAYBACK); in getPlaybackClient()

12