Home
last modified time | relevance | path

Searched refs:pipe_info (Results 1 – 3 of 3) sorted by relevance

/development/host/windows/usb/winusb/
Dadb_winusb_interface.cpp104 WINUSB_PIPE_INFORMATION pipe_info; in CreateHandle() local
106 &pipe_info)) { in CreateHandle()
110 if (UsbdPipeTypeBulk == pipe_info.PipeType) { in CreateHandle()
112 if (0 != (pipe_info.PipeId & USB_ENDPOINT_DIRECTION_MASK)) { in CreateHandle()
116 read_endpoint_id_ = pipe_info.PipeId; in CreateHandle()
121 write_endpoint_id_ = pipe_info.PipeId; in CreateHandle()
258 WINUSB_PIPE_INFORMATION pipe_info; in GetEndpointInformation() local
260 &pipe_info)) { in GetEndpointInformation()
265 info->max_packet_size = pipe_info.MaximumPacketSize; in GetEndpointInformation()
267 info->endpoint_address = pipe_info.PipeId; in GetEndpointInformation()
[all …]
/development/host/windows/usb/adb_winapi_test/
Dadb_winapi_test.cpp276 void DumpEndpointInformation(const AdbEndpointInformation* pipe_info) { in DumpEndpointInformation() argument
277 printf("\n max_packet_size = %u", pipe_info->max_packet_size); in DumpEndpointInformation()
278 printf("\n max_transfer_size = %u", pipe_info->max_transfer_size); in DumpEndpointInformation()
279 printf("\n endpoint_type = %u", pipe_info->endpoint_type); in DumpEndpointInformation()
281 switch (pipe_info->endpoint_type) { in DumpEndpointInformation()
293 printf("\n endpoint_address = %02X", pipe_info->endpoint_address); in DumpEndpointInformation()
294 printf("\n polling_interval = %u", pipe_info->polling_interval); in DumpEndpointInformation()
295 printf("\n setting_index = %u", pipe_info->setting_index); in DumpEndpointInformation()
381 AdbEndpointInformation pipe_info; in TestInterfaceHandle() local
383 if (AdbGetEndpointInformation(interface_handle, pipe, &pipe_info)) { in TestInterfaceHandle()
[all …]
/development/host/windows/usb/api/
Dadb_legacy_interface.cpp79 AdbEndpointInformation pipe_info; in CreateHandle() local
80 if (!GetEndpointInformation(endpoint, &pipe_info)) { in CreateHandle()
84 if (AdbEndpointTypeBulk == pipe_info.endpoint_type) { in CreateHandle()
86 if (0 != (pipe_info.endpoint_address & USB_ENDPOINT_DIRECTION_MASK)) { in CreateHandle()
90 read_endpoint_id_ = pipe_info.endpoint_address; in CreateHandle()
95 write_endpoint_id_ = pipe_info.endpoint_address; in CreateHandle()