Home
last modified time | relevance | path

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

/external/autotest/client/cros/chameleon/
Dchameleon_audio_ids.py145 def get_host(port_id): argument
156 host = port_id.split()[0]
158 raise ValueError('Not a valid port id: %r' % port_id)
162 def get_interface(port_id): argument
174 return port_id.split(' ', 1)[1]
176 raise ValueError('Not a valid port id: %r' % port_id)
179 def get_role(port_id): argument
190 if port_id in SOURCE_PORTS:
192 if port_id in SINK_PORTS:
194 if port_id in SOURCE_PORTS and port_id in SINK_PORTS:
[all …]
Dchameleon.py373 def __init__(self, chameleond_proxy, port_id): argument
380 self.port_id = port_id
388 return self.port_id
396 return self.chameleond_proxy.GetConnectorType(self.port_id)
404 return self.chameleond_proxy.HasAudioSupport(self.port_id)
412 return self.chameleond_proxy.HasVideoSupport(self.port_id)
417 logging.info('Plug Chameleon port %d', self.port_id)
418 self.chameleond_proxy.Plug(self.port_id)
423 logging.info('Unplug Chameleon port %d', self.port_id)
424 self.chameleond_proxy.Unplug(self.port_id)
[all …]
Dchameleon_audio_helper.py36 def __init__(self, port_id): argument
42 logging.debug('Creating AudioPort with port_id: %s', port_id)
43 self.port_id = port_id
44 self.host = ids.get_host(port_id)
45 self.interface = ids.get_interface(port_id)
46 self.role = ids.get_role(port_id)
155 link_type = self.LINK_TABLE.get((source.port_id, sink.port_id), None)
159 source.port_id, sink.port_id))
253 def create_widget(self, port_id, use_arc=False): argument
274 if audio_port.port_id == ids.ChameleonIds.HDMI:
[all …]
Daudio_board.py120 def _get_endpoint_name(self, port_id): argument
129 return self._PORT_ID_AUDIO_BUS_ENDPOINT_MAP[port_id]
158 def connect(self, port_id): argument
165 endpoint = self._get_endpoint_name(port_id)
169 def disconnect(self, port_id): argument
176 endpoint = self._get_endpoint_name(port_id)
Daudio_widget_link.py135 def _check_widget_id(self, port_id, widget): argument
143 if widget.audio_port.port_id != port_id:
146 self.name, port_id, widget.audio_port.port_id))
207 self._audio_bus.connect(widget.audio_port.port_id)
223 self._audio_bus.disconnect(widget.audio_port.port_id)
239 self._audio_bus.connect(widget.audio_port.port_id)
255 self._audio_bus.disconnect(widget.audio_port.port_id)
Daudio_test_utils.py39 def cros_port_id_to_cras_node_type(port_id): argument
47 return CHAMELEON_AUDIO_IDS_TO_CRAS_NODE_TYPES[port_id]
50 def check_output_port(audio_facade, port_id): argument
56 output_node_type = cros_port_id_to_cras_node_type(port_id)
60 def check_input_port(audio_facade, port_id): argument
66 input_node_type = cros_port_id_to_cras_node_type(port_id)
Daudio_level.py88 source_level = _SOURCE_LEVEL_TABLE[self._source.port_id]
89 sink_level = _SINK_LEVEL_TABLE[self._sink.port_id]
Dusb_controller.py42 def set_capture_configs(self, port_id, capture_data_foramt): argument
Daudio_widget.py47 def port_id(self): member in AudioWidget
53 return self.audio_port.port_id
179 if self.port_id in [ids.ChameleonIds.MIC, ids.CrosIds.INTERNAL_MIC]:
/external/syslinux/gpxe/src/net/infiniband/
Dib_srp.c167 struct ib_srp_initiator_port_id *port_id = in ib_srp_parse_initiator_id_ext() local
170 return ib_srp_parse_byte_string ( rp_comp, port_id->id_ext.u.bytes, in ib_srp_parse_initiator_id_ext()
171 ( sizeof ( port_id->id_ext ) | in ib_srp_parse_initiator_id_ext()
184 struct ib_srp_initiator_port_id *port_id = in ib_srp_parse_initiator_hca_guid() local
188 memcpy ( &port_id->hca_guid, &rp->ib->sgid.u.half[1], in ib_srp_parse_initiator_hca_guid()
189 sizeof ( port_id->hca_guid ) ); in ib_srp_parse_initiator_hca_guid()
191 return ib_srp_parse_byte_string ( rp_comp, port_id->hca_guid.u.bytes, in ib_srp_parse_initiator_hca_guid()
192 ( sizeof ( port_id->hca_guid ) | in ib_srp_parse_initiator_hca_guid()
262 struct ib_srp_target_port_id *port_id = in ib_srp_parse_target_id_ext() local
265 return ib_srp_parse_byte_string ( rp_comp, port_id->id_ext.u.bytes, in ib_srp_parse_target_id_ext()
[all …]
/external/kernel-headers/original/uapi/scsi/
Dscsi_bsg_fc.h86 uint8_t port_id[3]; member
107 uint8_t port_id[3]; member
131 uint8_t port_id[3]; member
194 uint8_t port_id[3]; member
/external/iproute2/tipc/
Dnametable.c29 char port_id[PORTID_STR_LEN]; in nametable_show_cb() local
54 snprintf(port_id, sizeof(port_id), "<%u.%u.%u:%u>", in nametable_show_cb()
64 port_id, in nametable_show_cb()
/external/tcpdump/
Dprint-stp.c37 uint8_t port_id[2]; member
109 ND_TCHECK(stp_bpdu->port_id); in stp_print_config_bpdu()
112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu()
272 ND_TCHECK(stp_bpdu->port_id); in stp_print_mstp_bpdu()
273 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
/external/autotest/server/site_tests/audio_AudioBasicBluetoothPlaybackRecord/
Daudio_AudioBasicBluetoothPlaybackRecord.py304 source_id=playback_source.port_id,
305 recorder_id=playback_recorder.port_id,
308 source_id=record_source.port_id,
309 recorder_id=record_recorder.port_id,
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtestlib.c51 XvPortID *port_id, in GetPort() argument
94 *port_id = adaptor_info[i].base_id + l; in GetPort()
Dtestlib.h59 XvPortID *port_id,
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c372 int port_id; in wpa_ctrl_open() local
391 port_id = atoi(&port[1]); in wpa_ctrl_open()
394 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open()
417 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open()
420 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
/external/autotest/server/site_tests/audio_AudioBasicBluetoothRecord/
Daudio_AudioBasicBluetoothRecord.py131 source_id=source.port_id, recorder_id=recorder.port_id, is_hsp=True)
/external/libnl/include/linux-private/linux/
Dif_bridge.h77 __u16 port_id; member
/external/iproute2/include/linux/
Dif_bridge.h79 __u16 port_id; member
/external/autotest/server/site_tests/audio_AudioVolume/
Daudio_AudioVolume.py96 audio_test_utils.check_output_port(audio_facade, source.port_id)
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h79 __u16 port_id; member
/external/autotest/server/site_tests/audio_AudioArtifacts/
Daudio_AudioArtifacts.py113 audio_test_utils.check_output_port(audio_facade, source.port_id)
/external/autotest/server/site_tests/audio_AudioARCPlayback/
Daudio_AudioARCPlayback.py100 audio_test_utils.check_output_port(audio_facade, source.port_id)
/external/autotest/server/site_tests/audio_AudioARCRecord/
Daudio_AudioARCRecord.py103 audio_test_utils.check_input_port(audio_facade, recorder.port_id)