Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/tv/hdmi/connection/aidl/vts/functional/
DVtsHalTvHdmiConnectionAidlTargetTest.cpp89 std::vector<HdmiPortInfo> ports; in TEST_P() local
90 ASSERT_TRUE(hdmiConnection->getPortInfo(&ports).isOk()); in TEST_P()
93 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
94 EXPECT_TRUE((ports[i].type == HdmiPortType::OUTPUT) || in TEST_P()
95 (ports[i].type == HdmiPortType::INPUT)); in TEST_P()
96 if (ports[i].type == HdmiPortType::OUTPUT && ports[i].portId <= 0) { in TEST_P()
99 cecSupportedOnDevice = cecSupportedOnDevice | ports[i].cecSupported; in TEST_P()
105 std::vector<HdmiPortInfo> ports; in TEST_P() local
106 ASSERT_TRUE(hdmiConnection->getPortInfo(&ports).isOk()); in TEST_P()
107 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
[all …]
/hardware/interfaces/tv/cec/1.0/vts/functional/
DVtsHalTvCecV1_0TargetTest.cpp157 hidl_vec<HdmiPortInfo> ports; in TEST_P() local
159 hdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { ports = list; }); in TEST_P()
162 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
163 EXPECT_TRUE((ports[i].type == HdmiPortType::OUTPUT) || in TEST_P()
164 (ports[i].type == HdmiPortType::INPUT)); in TEST_P()
165 if (ports[i].portId == 0) { in TEST_P()
168 cecSupportedOnDevice = cecSupportedOnDevice | ports[i].cecSupported; in TEST_P()
196 hidl_vec<HdmiPortInfo> ports; in TEST_P() local
198 hdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { ports = list; }); in TEST_P()
200 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
[all …]
/hardware/interfaces/tv/cec/1.1/vts/functional/
DVtsHalTvCecV1_1TargetTest.cpp169 hidl_vec<HdmiPortInfo> ports; in TEST_P() local
171 hdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { ports = list; }); in TEST_P()
174 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
175 EXPECT_TRUE((ports[i].type == HdmiPortType::OUTPUT) || in TEST_P()
176 (ports[i].type == HdmiPortType::INPUT)); in TEST_P()
177 if (ports[i].portId == 0) { in TEST_P()
180 cecSupportedOnDevice = cecSupportedOnDevice | ports[i].cecSupported; in TEST_P()
204 hidl_vec<HdmiPortInfo> ports; in TEST_P() local
206 hdmiCec->getPortInfo([&ports](hidl_vec<HdmiPortInfo> list) { ports = list; }); in TEST_P()
207 for (size_t i = 0; i < ports.size(); ++i) { in TEST_P()
[all …]
/hardware/interfaces/audio/aidl/default/
DConfiguration.cpp211 c.ports.push_back(speakerOutDevice); in getPrimaryConfiguration()
220 c.ports.push_back(micInDevice); in getPrimaryConfiguration()
228 c.ports.push_back(telephonyTxOutDevice); in getPrimaryConfiguration()
236 c.ports.push_back(telephonyRxInDevice); in getPrimaryConfiguration()
243 c.ports.push_back(fmTunerInDevice); in getPrimaryConfiguration()
256 c.ports.push_back(primaryOutMix); in getPrimaryConfiguration()
264 c.ports.push_back(primaryInMix); in getPrimaryConfiguration()
271 c.ports.push_back(telephonyTxOutMix); in getPrimaryConfiguration()
278 c.ports.push_back(telephonyRxInMix); in getPrimaryConfiguration()
285 c.ports.push_back(fmTunerInMix); in getPrimaryConfiguration()
[all …]
DModule.cpp243 auto& ports = getConfig().ports; in findConnectedDevices() local
246 auto portIt = findById<AudioPort>(ports, *it); in findConnectedDevices()
247 if (portIt != ports.end() && portIt->ext.getTag() == AudioPortExt::Tag::device) { in findConnectedDevices()
286 auto& ports = getConfig().ports; in findPortIdForNewStream() local
287 auto portIt = findById<AudioPort>(ports, portId); in findPortIdForNewStream()
288 if (portIt == ports.end()) { in findPortIdForNewStream()
339 for (const AudioPort& port : config.ports) { in populateConnectedProfiles()
561 auto& ports = getConfig().ports; in connectExternalDevice() local
564 auto templateIt = findById<AudioPort>(ports, templateId); in connectExternalDevice()
565 if (templateIt == ports.end()) { in connectExternalDevice()
[all …]
DXsdcConversion.cpp403 aidlModuleConfig.ports.reserve(devicePorts.size() + mixPorts.size()); in convertModuleConfigToAidl()
404 aidlModuleConfig.ports.insert(aidlModuleConfig.ports.end(), devicePorts.begin(), in convertModuleConfigToAidl()
406 aidlModuleConfig.ports.insert(aidlModuleConfig.ports.end(), mixPorts.begin(), mixPorts.end()); in convertModuleConfigToAidl()
409 VALUE_OR_FATAL(convertRoutesInModuleToAidl(xModuleConfig, aidlModuleConfig.ports)); in convertModuleConfigToAidl()
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.cpp76 const std::vector<aidl::android::media::audio::common::AudioPort>& ports, in getAudioPortsForDeviceTypes() argument
79 for (const auto& port : ports) { in getAudioPortsForDeviceTypes()
95 const std::vector<aidl::android::media::audio::common::AudioPort>& ports) { in getBuiltInMicPorts() argument
97 ports, std::vector<AudioDeviceType>{AudioDeviceType::IN_MICROPHONE, in getBuiltInMicPorts()
235 auto ports = getAudioPortsForDeviceTypes(std::vector<AudioDeviceType>{deviceType}, in getRemoteSubmixPorts() local
238 if (!ports.empty()) ports.resize(1); in getRemoteSubmixPorts()
240 return ports; in getRemoteSubmixPorts()
509 const std::vector<AudioPort>& ports, bool isInput, bool singleProfile) const { in generateAudioMixPortConfigs() argument
511 for (const auto& mixPort : ports) { in generateAudioMixPortConfigs()
528 const std::vector<AudioPort>& ports, bool singleProfile) const { in generateAudioDevicePortConfigs() argument
[all …]
DVtsHalAudioCoreModuleTargetTest.cpp1442 std::vector<AudioPort> ports; in TEST_P() local
1443 ASSERT_IS_OK(module->getAudioPorts(&ports)); in TEST_P()
1447 for (const auto& port : ports) { in TEST_P()
1488 std::vector<AudioPort> ports; in TEST_P() local
1489 ASSERT_IS_OK(module->getAudioPorts(&ports)); in TEST_P()
1491 for (const auto& port : ports) { in TEST_P()
1537 std::vector<AudioPort> ports = moduleConfig->getExternalDevicePorts(); in TEST_P() local
1538 if (ports.empty()) { in TEST_P()
1541 for (const auto& port : ports) { in TEST_P()
1712 std::vector<AudioPort> ports = moduleConfig->getExternalDevicePorts(); in TEST_P() local
[all …]
DModuleConfig.h42 const std::vector<aidl::android::media::audio::common::AudioPort>& ports,
46 const std::vector<aidl::android::media::audio::common::AudioPort>& ports);
189 const std::vector<aidl::android::media::audio::common::AudioPort>& ports, bool isInput,
198 const std::vector<aidl::android::media::audio::common::AudioPort>& ports,
/hardware/interfaces/usb/1.0/default/
DUsb.cpp170 int32_t ports = 0; in getTypeCPortNamesHelper()
176 ports++; in getTypeCPortNamesHelper()
180 if (ports == 0) { in getTypeCPortNamesHelper()
185 names.resize(ports); in getTypeCPortNamesHelper()
191 if (current >= ports) { in getTypeCPortNamesHelper()
/hardware/interfaces/usb/1.0/
DIUsb.hal49 * status of the Type-C ports. This method is async/oneway. The result of the
52 * of type-c ports that are present and their connection status through the
DIUsbCallback.hal31 * typeC ports in the device.
Dtypes.hal58 * USB ports can be a pure DFP port which can only act
60 * Or a dual role ports which can either can as a host or
/hardware/interfaces/usb/1.1/
DIUsbCallback.hal33 * of all the typeC ports in the device.
/hardware/interfaces/usb/1.2/
DIUsbCallback.hal34 * of all the typeC ports in the device.
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp772 std::vector<AudioPort> ports; in cmdOnAudioPortsChanged() local
798 ports.push_back(port); in cmdOnAudioPortsChanged()
805 toString(ports).c_str()); in cmdOnAudioPortsChanged()
810 mModuleChangeCallback->onAudioPortsChanged(ports); in cmdOnAudioPortsChanged()
811 dprintf(fd, "SUCCESS audio port callback for ports: %s \n", toString(ports).c_str()); in cmdOnAudioPortsChanged()
/hardware/interfaces/audio/aidl/default/include/core-impl/
DModule.h37 std::vector<::aidl::android::media::audio::common::AudioPort> ports; member
/hardware/interfaces/audio/2.0/
DIDevice.hal157 * Creates an audio patch between several source and sink ports. The handle
/hardware/interfaces/audio/5.0/
DIDevice.hal159 * Creates an audio patch between several source and sink ports. The handle
/hardware/interfaces/audio/4.0/
DIDevice.hal159 * Creates an audio patch between several source and sink ports. The handle
/hardware/google/gfxstream/common/opengl/include/EGL/
Deglext.h809 …EXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…
818 …PortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…
/hardware/google/gfxstream/guest/mesa/include/EGL/
Deglext.h839 …EXTPROC) (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…
848 …PortsEXT (EGLDisplay dpy, const EGLAttrib *attrib_list, EGLOutputPortEXT *ports, EGLint max_ports,…
/hardware/interfaces/audio/6.0/
DIDevice.hal162 * Creates an audio patch between several source and sink ports. The handle
/hardware/interfaces/audio/7.0/
DIDevice.hal174 * Creates an audio patch between several source and sink ports. The handle
/hardware/interfaces/radio/1.6/
Dtypes.hal173 * Defines range of ports. start and end are the first and last port numbers
183 /** Port is optional, contains either single port or range of ports */

12