/external/autotest/client/cros/chameleon/ |
D | chameleon_audio_ids.py | 145 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 …]
|
D | chameleon.py | 373 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 …]
|
D | chameleon_audio_helper.py | 36 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 …]
|
D | audio_board.py | 120 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)
|
D | audio_widget_link.py | 135 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)
|
D | audio_test_utils.py | 39 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)
|
D | audio_level.py | 88 source_level = _SOURCE_LEVEL_TABLE[self._source.port_id] 89 sink_level = _SINK_LEVEL_TABLE[self._sink.port_id]
|
D | usb_controller.py | 42 def set_capture_configs(self, port_id, capture_data_foramt): argument
|
D | audio_widget.py | 47 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/ |
D | ib_srp.c | 167 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/ |
D | scsi_bsg_fc.h | 86 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/ |
D | nametable.c | 29 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/ |
D | print-stp.c | 37 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/ |
D | audio_AudioBasicBluetoothPlaybackRecord.py | 304 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/ |
D | testlib.c | 51 XvPortID *port_id, in GetPort() argument 94 *port_id = adaptor_info[i].base_id + l; in GetPort()
|
D | testlib.h | 59 XvPortID *port_id,
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 372 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/ |
D | audio_AudioBasicBluetoothRecord.py | 131 source_id=source.port_id, recorder_id=recorder.port_id, is_hsp=True)
|
/external/libnl/include/linux-private/linux/ |
D | if_bridge.h | 77 __u16 port_id; member
|
/external/iproute2/include/linux/ |
D | if_bridge.h | 79 __u16 port_id; member
|
/external/autotest/server/site_tests/audio_AudioVolume/ |
D | audio_AudioVolume.py | 96 audio_test_utils.check_output_port(audio_facade, source.port_id)
|
/external/kernel-headers/original/uapi/linux/ |
D | if_bridge.h | 79 __u16 port_id; member
|
/external/autotest/server/site_tests/audio_AudioArtifacts/ |
D | audio_AudioArtifacts.py | 113 audio_test_utils.check_output_port(audio_facade, source.port_id)
|
/external/autotest/server/site_tests/audio_AudioARCPlayback/ |
D | audio_AudioARCPlayback.py | 100 audio_test_utils.check_output_port(audio_facade, source.port_id)
|
/external/autotest/server/site_tests/audio_AudioARCRecord/ |
D | audio_AudioARCRecord.py | 103 audio_test_utils.check_input_port(audio_facade, recorder.port_id)
|