Home
last modified time | relevance | path

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

/external/autotest/client/cros/chameleon/
Dchameleon.py182 def __init__(self, chameleond_proxy, port_id): argument
189 self.port_id = port_id
197 return self.port_id
205 return self.chameleond_proxy.GetConnectorType(self.port_id)
213 return self.chameleond_proxy.HasAudioSupport(self.port_id)
221 return self.chameleond_proxy.HasVideoSupport(self.port_id)
226 logging.info('Plug Chameleon port %d', self.port_id)
227 self.chameleond_proxy.Plug(self.port_id)
232 logging.info('Unplug Chameleon port %d', self.port_id)
233 self.chameleond_proxy.Unplug(self.port_id)
[all …]
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_audio_helper.py35 def __init__(self, port_id): argument
41 logging.debug('Creating AudioPort with port_id: %s', port_id)
42 self.port_id = port_id
43 self.host = ids.get_host(port_id)
44 self.interface = ids.get_interface(port_id)
45 self.role = ids.get_role(port_id)
154 link_type = self.LINK_TABLE.get((source.port_id, sink.port_id), None)
158 source.port_id, sink.port_id))
244 def create_widget(self, port_id): argument
266 if audio_port.port_id == ids.ChameleonIds.LINEOUT:
[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_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.py43 def port_id(self): member in AudioWidget
49 return self.audio_port.port_id
175 if self.port_id in [ids.ChameleonIds.MIC, ids.CrosIds.INTERNAL_MIC]:
/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/mesa3d/src/gallium/state_trackers/xvmc/tests/
Dtestlib.c50 XvPortID *port_id, in GetPort() argument
93 *port_id = adaptor_info[i].base_id + l; in GetPort()
Dtestlib.h59 XvPortID *port_id,
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c354 int port_id; in wpa_ctrl_open() local
373 port_id = atoi(&port[1]); in wpa_ctrl_open()
376 port_id = WPA_CTRL_IFACE_PORT; in wpa_ctrl_open()
399 ctrl->dest.sin6_port = htons(port_id); in wpa_ctrl_open()
402 ctrl->dest.sin_port = htons(port_id); in wpa_ctrl_open()
/external/tcpdump/
Dprint-stp.c37 uint8_t port_id[2]; member
108 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu()
262 ND_PRINT((ndo, "CIST port-id %04x, ", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
/external/iproute2/include/linux/
Dif_bridge.h79 __u16 port_id; member
/external/kernel-headers/original/uapi/linux/
Dif_bridge.h79 __u16 port_id; member