HomeSort by relevance Sort by last modified time
    Searched full:endpoint (Results 1 - 25 of 512) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/hardware/usb/
UsbEndpoint.java 24 * A class representing an endpoint on a {@link UsbInterface}.
29 * The endpoint zero is a special endpoint for control messages sent from the host
52 * Returns the endpoint's address field.
53 * The address is a bitfield containing both the endpoint number
54 * as well as the data direction of the endpoint.
55 * the endpoint number and direction can also be accessed via
58 * @return the endpoint's address
65 * Extracts the endpoint's endpoint number from its addres
    [all...]
UsbRequest.java 32 * <p>Requests on endpoint zero are not supported by this class;
33 * use {@link UsbDeviceConnection#controlTransfer} for endpoint zero requests instead.
55 * Initializes the request so it can read or write data on the given endpoint.
56 * Whether the request allows reading or writing depends on the direction of the endpoint.
58 * @param endpoint the endpoint to be used for this request.
61 public boolean initialize(UsbDeviceConnection connection, UsbEndpoint endpoint) {
62 mEndpoint = endpoint;
63 return native_init(connection, endpoint.getAddress(), endpoint.getAttributes()
    [all...]
UsbDeviceConnection.java 104 * Performs a control transaction on endpoint zero for this device.
133 * Performs a control transaction on endpoint zero for this device.
160 * Performs a bulk transaction on the given endpoint.
161 * The direction of the transfer is determined by the direction of the endpoint.
168 * @param endpoint the endpoint for this transaction
175 public int bulkTransfer(UsbEndpoint endpoint,
177 return bulkTransfer(endpoint, buffer, 0, length, timeout);
181 * Performs a bulk transaction on the given endpoint.
182 * The direction of the transfer is determined by the direction of the endpoint
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/
Endpoint.java 38 * An abstract endpoint in a Kernel that can be used for
44 public interface Endpoint
47 * Returns an ID that is unique for this endpoint within its
53 * Returns the transport specific remote address of this endpoint
54 * as a string. This may or may not be unique per endpoint depending
60 * Returns the kernel to which this endpoint belongs.
65 * Returns true if this endpoint is currently connected.
71 * by this endpoint.
76 * Closes this endpoint without flushing any of its
82 * Closes this endpoint, optionally flushing any queue
    [all...]
EndpointEvent.java 48 private Endpoint endpoint; field in class:EndpointEvent
51 public EndpointEvent( Kernel source, Endpoint p, Type type )
54 this.endpoint = p;
58 public static EndpointEvent createAdd( Kernel source, Endpoint p )
63 public static EndpointEvent createRemove( Kernel source, Endpoint p )
73 public Endpoint getEndpoint()
75 return endpoint;
85 return "EndpointEvent[" + type + ", " + endpoint + "]";
  /external/guava/guava/src/com/google/common/collect/
Cut.java 38 final C endpoint; field in class:Cut
40 Cut(@Nullable C endpoint) {
41 this.endpoint = endpoint;
75 int result = Range.compareOrThrow(endpoint, that.endpoint);
84 C endpoint() { method in class:Cut
85 return endpoint;
119 @Override Comparable<?> endpoint() { method in class:Cut.BelowAll
185 @Override Comparable<?> endpoint() { method in class:Cut.AboveAll
    [all...]
Ranges.java 127 * upper}, where each endpoint may be either inclusive (closed) or exclusive
149 * endpoint}.
151 public static <C extends Comparable<?>> Range<C> lessThan(C endpoint) {
152 return create(Cut.<C>belowAll(), Cut.belowValue(endpoint));
157 * {@code endpoint}.
159 public static <C extends Comparable<?>> Range<C> atMost(C endpoint) {
160 return create(Cut.<C>belowAll(), Cut.aboveValue(endpoint));
164 * Returns a range with no lower bound up to the given endpoint, which may be
168 C endpoint, BoundType boundType) {
171 return lessThan(endpoint);
    [all...]
BoundType.java 21 * Indicates whether an endpoint of some range is contained in the range itself ("closed") or not
31 * The endpoint value <i>is not</i> considered part of the set ("exclusive").
36 * The endpoint value <i>is</i> considered part of the set ("inclusive").
  /development/host/windows/usb/api/
adb_legacy_interface.h 86 /** \brief Gets information about an endpoint on this interface.
88 @param[in] endpoint_index Zero-based endpoint index. There are two
92 @param[out] info Upon successful completion will have endpoint information.
99 /** \brief Opens an endpoint on this interface.
101 @param[in] endpoint_index Zero-based endpoint index. There are two
106 this parameter has no effect on the way endpoint is opened. It's
109 this parameter has no effect on the way endpoint is opened. It's
111 @return Handle to the opened endpoint object or NULL on failure.
124 /** \brief Opens an endpoint on this interface.
126 @param[in] endpoint_name Endpoint file name.
    [all...]
adb_api.h 35 /** \brief Enumerates ADB endpoint types.
40 /// Unknown (invalid, or not initialized) endpoint type.
43 /// Endpoint is device control pipe.
46 /// Endpoint is isochronous r/w pipe.
49 /// Endpoint is a bulk r/w pipe.
52 /// Endpoint is an interrupt r/w pipe.
56 /** \brief Endpoint desriptor.
61 /// Maximum packet size this endpoint is capable of.
67 /// ADB endpoint type.
70 /// Raw endpoint address on the device as described by its descriptor.
    [all...]
adb_legacy_interface.cpp 75 // ADB_QUERY_BULK_READ_ENDPOINT_INDEX into actual endpoint indexes and IDs.
76 for (UCHAR endpoint = 0; endpoint < usb_interface_descriptor_.bNumEndpoints;
77 endpoint++) {
78 // Get endpoint information
80 if (!GetEndpointInformation(endpoint, &pipe_info)) {
85 // This is a bulk endpoint. Cache its index and ID.
87 // Use this endpoint as default bulk read endpoint
89 def_read_endpoint_ = endpoint;
    [all...]
  /development/samples/USB/MissileLauncher/
README.txt 10 - Sending control requests on endpoint zero that contain data
12 - Receiving packets on an interrupt endpoint using a thread that calls
_index.html 8 <li>Sending control requests on endpoint zero that contain data</li>
9 <li>Receiving packets on an interrupt endpoint using a thread that calls
  /external/qemu/
charpipe.h 23 /* create a buffering character driver for a given endpoint. The result will buffer
24 * anything that is sent to it but cannot be sent to the endpoint immediately.
25 * On the other hand, if the endpoint calls can_read() or read(), these calls
28 extern CharDriverState* qemu_chr_open_buffer( CharDriverState* endpoint );
  /device/google/accessory/arduino/USB_Host_Shield/
ch9.h 38 #define EP_DESCR_LEN 7 //endpoint descriptor length
54 #define USB_FEATURE_ENDPOINT_HALT 0 // CLEAR/SET FEATURE - Endpoint Halt
67 #define USB_SETUP_RECIPIENT_ENDPOINT 0x02 // Device Request bmRequestType recipient - endpoint
76 #define USB_DESCRIPTOR_ENDPOINT 0x05 // bDescriptorType for an Endpoint Descriptor.
87 /* USB Endpoint Transfer Types */
88 #define USB_TRANSFER_TYPE_CONTROL 0x00 // Endpoint is a control endpoint.
89 #define USB_TRANSFER_TYPE_ISOCHRONOUS 0x01 // Endpoint is an isochronous endpoint.
90 #define USB_TRANSFER_TYPE_BULK 0x02 // Endpoint is a bulk endpoint.
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/usb/
gadgetfs.h 13 * on endpoint files found in one directory. They are configured by
22 * or earlier; writing endpoint descriptors to /dev/gadget/$ENDPOINT
62 /* endpoint ioctls */
68 * THIS returns how many bytes are "unclaimed" in the endpoint fifo
76 /* resets endpoint halt+toggle; used to implement set_interface.
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/usb/
gadgetfs.h 13 * on endpoint files found in one directory. They are configured by
22 * or earlier; writing endpoint descriptors to /dev/gadget/$ENDPOINT
62 /* endpoint ioctls */
68 * THIS returns how many bytes are "unclaimed" in the endpoint fifo
76 /* resets endpoint halt+toggle; used to implement set_interface.
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/usb/
gadgetfs.h 13 * on endpoint files found in one directory. They are configured by
22 * or earlier; writing endpoint descriptors to /dev/gadget/$ENDPOINT
62 /* endpoint ioctls */
68 * THIS returns how many bytes are "unclaimed" in the endpoint fifo
76 /* resets endpoint halt+toggle; used to implement set_interface.
  /external/libusb-compat/examples/
testlibusb.c 13 void print_endpoint(struct usb_endpoint_descriptor *endpoint)
15 printf(" bEndpointAddress: %02xh\n", endpoint->bEndpointAddress);
16 printf(" bmAttributes: %02xh\n", endpoint->bmAttributes);
17 printf(" wMaxPacketSize: %d\n", endpoint->wMaxPacketSize);
18 printf(" bInterval: %d\n", endpoint->bInterval);
19 printf(" bRefresh: %d\n", endpoint->bRefresh);
20 printf(" bSynchAddress: %d\n", endpoint->bSynchAddress);
36 print_endpoint(&interface->endpoint[i]);
  /development/host/windows/usb/winusb/
adb_winusb_interface.cpp 100 // ADB_QUERY_BULK_READ_ENDPOINT_INDEX into actual endpoint indexes and IDs.
101 for (UCHAR endpoint = 0; endpoint < usb_interface_descriptor_.bNumEndpoints;
102 endpoint++) {
103 // Get endpoint information
105 if (!WinUsb_QueryPipe(winusb_handle(), interface_number(), endpoint,
111 // This is a bulk endpoint. Cache its index and ID.
113 // Use this endpoint as default bulk read endpoint
115 def_read_endpoint_ = endpoint;
    [all...]
adb_winusb_interface.h 116 /** \brief Gets information about an endpoint on this interface.
118 @param[in] endpoint_index Zero-based endpoint index. There are two
122 @param[out] info Upon successful completion will have endpoint information.
129 /** \brief Opens an endpoint on this interface.
131 @param[in] endpoint_index Zero-based endpoint index. There are two
136 this parameter has no effect on the way endpoint is opened. It's
139 this parameter has no effect on the way endpoint is opened. It's
141 @return Handle to the opened endpoint object or NULL on failure.
154 /** \brief Opens an endpoint on this interface.
156 @param[in] endpoint_id Endpoint (pipe) address on the device.
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/
background_gradient_view.mm 52 NSPoint endPoint =
54 endPoint = [self convertPoint:endPoint fromView:nil];
57 toPoint:endPoint
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
README 6 Web Store Licensing API and Google's OpenID endpoint.
  /frameworks/opt/net/voip/src/java/android/net/rtp/
package.html 12 <li>{@link android.net.rtp.AudioStream} specifies a remote endpoint and consists of network mapping
15 <li>{@link android.net.rtp.AudioGroup} represents the local endpoint for one or more {@link
21 <p>The simplest usage involves a single remote endpoint and local endpoint. For more complex usages,
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/
UdpKernel.java 123 public void broadcast( Filter<? super Endpoint> filter, ByteBuffer data, boolean reliable,
147 protected Endpoint getEndpoint( SocketAddress address, boolean create )
169 log.log( Level.INFO, "Closing endpoint:{0}.", p );
187 // So the tricky part here is figuring out the endpoint and
192 Endpoint p = getEndpoint( packet.getSocketAddress(), true );
202 protected void enqueueWrite( Endpoint endpoint, DatagramPacket packet )
204 writer.execute( new MessageWriter(endpoint, packet) );
209 private Endpoint endpoint; field in class:UdpKernel.MessageWriter
    [all...]

Completed in 1470 milliseconds

1 2 3 4 5 6 7 8 91011>>