Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DRequiredDeviceTypeRule.java50 final BaseHostJUnit4Test test, int deviceType) {
58 LogicalAddress.getLogicalAddress(deviceType);
70 "Required device type " + deviceType + " is not found in device "
74 || deviceProperties.contains(Integer.toString(deviceType)));
83 final BaseHostJUnit4Test test, int deviceType) {
91 LogicalAddress.getLogicalAddress(deviceType);
103 "Invalid device type " + deviceType + " is found in device "
107 || deviceProperties.contains(Integer.toString(deviceType)));
DBaseHdmiCecCtsTest.java145 BaseHostJUnit4Test testPointer, @CecDeviceType int deviceType) { in skipDeviceType() argument
148 deviceType); in skipDeviceType()
337 public boolean hasDeviceType(@CecDeviceType int deviceType) { in hasDeviceType() argument
339 if (address.getDeviceType() == deviceType) { in hasDeviceType()
DHdmiCecClientWrapper.java280 String deviceType = CecMessage.formatParams(source.getDeviceType()); in broadcastReportPhysicalAddress() local
288 physicalAddress + deviceType); in broadcastReportPhysicalAddress()
297 String deviceType = CecMessage.formatParams(source.getDeviceType()); in broadcastReportPhysicalAddress() local
305 physicalAddress + deviceType); in broadcastReportPhysicalAddress()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/common/
DHdmiCecDeviceTypeTest.java106 String deviceType = ""; in getAllDeviceTypes() local
109 deviceType = device.executeShellCommand("getprop ro.hdmi.cec_device_types").trim(); in getAllDeviceTypes()
111 deviceType = device.executeShellCommand("getprop ro.hdmi.device_type").trim(); in getAllDeviceTypes()
117 String[] cecDevices = deviceType.split(","); in getAllDeviceTypes()
163 int deviceType = getAllDeviceTypes(device, false); in cecDeviceTypesSameAsDeviceType() local
167 deviceType != 0); in cecDeviceTypesSameAsDeviceType()
169 .that(deviceType) in cecDeviceTypesSameAsDeviceType()
DHdmiCecSystemInformationTest.java109 int deviceType = 0; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes() local
113 deviceType |= 1 << 4; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
116 deviceType |= 1 << 7; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
119 deviceType |= 1 << 3; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
122 deviceType |= 1 << 6; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
125 deviceType |= 1 << 5; in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
132 assertThat(receivedParams & deviceType).isNotEqualTo(1); in cect_reportFeatures_deviceTypeContainedInAllDeviceTypes()
DHdmiCecLogicalAddressTest.java58 int deviceType = CecMessage.getParams(message, 4, 6); in cect_RebootLogicalAddress() local
59 assertThat(CecMessage.getSource(message).getDeviceType()).isEqualTo(deviceType); in cect_RebootLogicalAddress()
DHdmiCecStartupTest.java75 String deviceType = device.getProperty(HdmiCecConstants.HDMI_DEVICE_TYPE_PROPERTY); in cectVerifyStartupMessages_Cec14b() local
76 boolean isAudioSystem = deviceType.contains( in cectVerifyStartupMessages_Cec14b()
DHdmiCecInvalidMessagesTest.java87 int deviceType) throws Exception { in reportPhysicalAddress() argument
90 String formattedDeviceType = CecMessage.formatParams(deviceType); in reportPhysicalAddress()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/midilib/
DMidiTestModule.java64 public MidiTestModule(int deviceType) { in MidiTestModule() argument
65 mIODevice = new MidiIODevice(deviceType); in MidiTestModule()
66 mDeviceType = deviceType; in MidiTestModule()
DMidiIODevice.java46 public MidiIODevice(int deviceType) { in MidiIODevice() argument
47 mDeviceType = deviceType; in MidiIODevice()
DJavaMidiTestModule.java82 public JavaMidiTestModule(int deviceType) { in JavaMidiTestModule() argument
83 super(deviceType); in JavaMidiTestModule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDevicesDialog.java103 for (Integer deviceType : inputDevices) { in displayDeviceSupport()
105 .appendText(AudioDeviceUtils.getShortDeviceTypeName(deviceType)) in displayDeviceSupport()
119 for (Integer deviceType : outputDevices) { in displayDeviceSupport()
121 .appendText(AudioDeviceUtils.getShortDeviceTypeName(deviceType)) in displayDeviceSupport()
DMidiJavaTestActivity.java92 JavaMidiTestActivityModule(int deviceType) { in JavaMidiTestActivityModule() argument
93 super(deviceType); in JavaMidiTestActivityModule()
DMidiNativeTestActivity.java114 public NativeMidiTestModule(int deviceType) { in NativeMidiTestModule() argument
115 super(deviceType); in NativeMidiTestModule()
DUsbMidiAudioActivity.java122 JavaMidiTestActivityModule(int deviceType) { in JavaMidiTestActivityModule() argument
123 super(deviceType); in JavaMidiTestActivityModule()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DAudioDeviceUtils.java95 public static String getDeviceTypeName(int deviceType) { in getDeviceTypeName() argument
96 String typeName = sDeviceTypeStrings.get(deviceType); in getDeviceTypeName()
104 public static String getShortDeviceTypeName(int deviceType) { in getShortDeviceTypeName() argument
105 String typeName = sDeviceTypeStrings.get(deviceType); in getShortDeviceTypeName()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecDeviceSelectForPlaybackTest.java87 int deviceType) throws Exception { in reportPhysicalAddress() argument
90 String formattedDeviceType = CecMessage.formatParams(deviceType); in reportPhysicalAddress()
/cts/tests/tests/media/audio/jni/
Dappendix-b-1-2-recording.cpp138 locator_mic.deviceType = SL_IODEVICE_AUDIOINPUT; in TestAudioRecording()
DAudioRecorder.cpp121 ioDevice.deviceType = SL_IODEVICE_AUDIOINPUT; in Open()
Daudio-record-native.cpp102 locator_mic.deviceType = SL_IODEVICE_AUDIOINPUT; in open()
/cts/tests/tests/nativemedia/sl/src/
DSLObjectCreationTest.cpp285 locatorIoDeviceSrc.deviceType = SL_IODEVICE_AUDIOINPUT; in AudioRecorderCreation()