/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecControllerTest.java | 19 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 …]
|
D | HdmiUtilsTest.java | 300 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 …]
|
D | HdmiCecNetworkTest.java | 196 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 …]
|
D | ReportFeaturesMessageTest.java | 90 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()
|
D | BasePlaybackDeviceAvbTest.java | 49 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType()
|
D | DeviceSelectActionFromPlaybackTest.java | 106 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()
|
D | HdmiControlServiceTest.java | 19 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 …]
|
D | HdmiCecMessageBuilderTest.java | 44 ADDR_PLAYBACK_1, 0x1234, HdmiDeviceInfo.DEVICE_PLAYBACK); in buildReportPhysicalAddressCommand()
|
D | DeviceSelectActionFromTvTest.java | 81 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK) 91 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
|
D | SetAudioVolumeLevelDiscoveryActionTest.java | 88 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
|
D | HdmiCecPowerStatusControllerTest.java | 72 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
|
D | HdmiCecLocalDeviceTvTest.java | 849 .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()
|
D | RoutingControlActionTest.java | 118 .setDeviceType(HdmiDeviceInfo.DEVICE_PLAYBACK)
|
D | PowerStatusMonitorActionTest.java | 242 logicalAddress, physicalAddress, HdmiDeviceInfo.DEVICE_PLAYBACK); in sendMessageFromPlaybackDevice()
|
D | DevicePowerStatusActionTest.java | 83 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
|
D | HdmiCecAtomLoggingTest.java | 98 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
|
D | ResendCecCommandActionPlaybackTest.java | 65 Collections.singletonList(HdmiDeviceInfo.DEVICE_PLAYBACK), in setUp()
|
D | BaseAbsoluteVolumeBehaviorTest.java | 222 if (getDeviceType() == HdmiDeviceInfo.DEVICE_PLAYBACK) { in adoptFullVolumeBehaviorOnAvbCapableAudioOutputDevices()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | ActiveSourceAction.java | 47 if (source().getType() == HdmiDeviceInfo.DEVICE_PLAYBACK) { in start()
|
D | HdmiUtils.java | 69 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,
|
D | ReportFeaturesMessage.java | 111 case HdmiDeviceInfo.DEVICE_PLAYBACK: in hdmiDeviceInfoDeviceTypeToShiftValue()
|
D | HdmiCecLocalDevicePlayback.java | 93 super(service, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiCecLocalDevicePlayback()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiPlaybackClient.java | 96 return HdmiDeviceInfo.DEVICE_PLAYBACK; in getDeviceType()
|
D | HdmiDeviceInfo.java | 51 public static final int DEVICE_PLAYBACK = 4; field in HdmiDeviceInfo 413 return mDeviceType == DEVICE_PLAYBACK in isSourceType()
|
D | HdmiControlManager.java | 1203 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiControlManager() 1270 case HdmiDeviceInfo.DEVICE_PLAYBACK: in getClient() 1303 return (HdmiPlaybackClient) getClient(HdmiDeviceInfo.DEVICE_PLAYBACK); in getPlaybackClient()
|