/cts/apps/cts-usb-accessory/ |
cts-usb-accessory.c | 35 int *endpoints = (int *)arg; local 42 ret = usb_device_bulk_transfer(sDevice, endpoints[0], buffer, sizeof(buffer), 1000); 55 usb_device_bulk_transfer(sDevice, endpoints[1], message, strlen(message), 1000); 122 fprintf(stderr, "Endpoints not found\n"); 131 int endpoints[2]; local 133 endpoints[0] = ep1->bEndpointAddress; 134 endpoints[1] = ep2->bEndpointAddress; 136 endpoints[0] = ep2->bEndpointAddress; 137 endpoints[1] = ep1->bEndpointAddress; 139 pthread_create(&th, NULL, message_thread, (void *)endpoints); [all...] |
/development/samples/USB/AdbTest/ |
README.txt | 11 - Asynchronous IO on bulk endpoints
|
_index.html | 12 <li>Asynchronous IO on bulk endpoints</li>
|
/frameworks/base/core/java/android/hardware/usb/ |
UsbInterface.java | 49 Parcelable[] endpoints) { 54 mEndpoints = endpoints; 98 * @return the number of endpoints 127 Parcelable[] endpoints = in.readParcelableArray(UsbEndpoint.class.getClassLoader()); 128 return new UsbInterface(id, Class, subClass, protocol, endpoints);
|
UsbEndpoint.java | 25 * Endpoints are the channels for sending and receiving data over USB. 26 * Typically bulk endpoints are used for sending non-trivial amounts of data. 27 * Interrupt endpoints are used for sending small amounts of data, typically events, 31 * Isochronous endpoints are currently unsupported.
|
UsbRequest.java | 27 * UsbRequests can be used to transfer data on bulk and interrupt endpoints. 28 * Requests on bulk endpoints can be sent synchronously via {@link UsbDeviceConnection#bulkTransfer} 30 * Requests on interrupt endpoints are only send and received asynchronously. 124 * For OUT endpoints, the given buffer data will be sent on the endpoint. 125 * For IN endpoints, the endpoint will attempt to read the given number of bytes
|
/external/llvm/lib/IR/ |
Metadata.cpp | 425 static bool tryMergeRange(SmallVectorImpl<Value *> &EndPoints, ConstantInt *Low, 428 unsigned Size = EndPoints.size(); 429 APInt LB = cast<ConstantInt>(EndPoints[Size - 2])->getValue(); 430 APInt LE = cast<ConstantInt>(EndPoints[Size - 1])->getValue(); 435 EndPoints[Size - 2] = ConstantInt::get(Ty, Union.getLower()); 436 EndPoints[Size - 1] = ConstantInt::get(Ty, Union.getUpper()); 442 static void addRange(SmallVectorImpl<Value *> &EndPoints, ConstantInt *Low, 444 if (!EndPoints.empty()) 445 if (tryMergeRange(EndPoints, Low, High)) 448 EndPoints.push_back(Low) [all...] |
/external/chromium/net/spdy/ |
spdy_settings_storage.h | 17 // endpoints for the SPDY SETTINGS frame.
|
/external/chromium_org/third_party/skia/include/effects/ |
SkDiscretePathEffect.h | 19 /** Break the path into segments of segLength length, and randomly move the endpoints
|
/external/skia/include/effects/ |
SkDiscretePathEffect.h | 19 /** Break the path into segments of segLength length, and randomly move the endpoints
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
PODInterval.h | 36 // Plain Old Datatype (POD) as its endpoints and a piece of user 38 // if two intervals have identical endpoints but different user data, 81 // Constructor from endpoints. This constructor only works when the 92 // Constructor from two endpoints plus explicit user data. 120 // comparison is performed on the low endpoints of the intervals.
|
/docs/source.android.com/src/accessories/ |
aoa.jd | 44 bulk transfer endpoints with its own communication protocol. There is no need to start the device 48 ADB (Android Debug Bridge) protocol, which exposes a second interface with two bulk endpoints for 49 ADB. You can use these endpoints for debugging the accessory application if you are simulating 129 device's interface and endpoint descriptors to obtain the bulk endpoints to communicate with the 131 endpoints for input and output communication. A device with product ID of <code>0x2D01</code> has two 132 interfaces with two bulk endpoints each for input and output communication. The first interface 134 on an interface, all you need to do is find the first bulk input and output endpoints, set the 136 communicate using the endpoints.</p>
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/tcp/ |
SelectorKernel.java | 65 private Map<Long,NioEndpoint> endpoints = new ConcurrentHashMap<Long,NioEndpoint>(); field in class:SelectorKernel 128 // Hand it to all of the endpoints that match our routing 129 for( NioEndpoint p : endpoints.values() ) { 152 endpoints.put( p.getId(), p ); 162 endpoints.remove( p.getId() ); 163 log.log( Level.FINE, "Endpoints size:{0}", endpoints.size() ); 180 * Called by the endpoints when they need to be closed. 190 * Used internally by the endpoints to wakeup the selector 289 // the endpoints. This could potentially be mor [all...] |
/external/chromium_org/net/websockets/ |
websocket_errors.h | 43 // agreement of the endpoints.
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbHostManager.java | 100 and number of endpoints for each interface */ 129 Parcelable[] endpoints = new UsbEndpoint[numEndpoints]; local 135 endpoints[endp] = new UsbEndpoint(address, attributes, 144 interfaceSubclass, interfaceProtocol, endpoints);
|
/external/guava/guava/src/com/google/common/collect/ |
ContiguousSet.java | 92 * Returns a range, closed on both ends, whose endpoints are the minimum and maximum values 103 * <p>Note that this method will return ranges with unbounded endpoints if {@link BoundType#OPEN}
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
Kernel.java | 67 * Dispatches the data to all endpoints managed by the 70 * before delivering it to endpoints. This allows the caller to reuse
|
/external/replicaisland/src/com/replica/replicaisland/ |
SolidSurfaceComponent.java | 86 final FixedSizeArray<Vector2> endPoints = mEndPoints; 108 end.set(endPoints.get(x));
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 121 endpoints a & b, 132 endpoints p1, p2
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/udp/ |
UdpKernel.java | 120 * Dispatches the data to all endpoints managed by the 136 // Hand it to all of the endpoints that match our routing 161 * Called by the endpoints when they need to be closed. 170 log.log( Level.FINE, "Socket endpoints size:{0}", socketEndpoints.size() );
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
UsbAccessoryBulkTransport.java | 29 * Sends or receives messages using bulk endpoints associated with a {@link UsbDevice}
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
package.html | 9 endpoints for the stream:</p>
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
openbsd_usb.c | 44 int endpoints[USB_MAX_ENDPOINTS]; member in struct:handle_priv 354 hpriv->endpoints[i] = -1; 366 if (hpriv->endpoints[i] >= 0) 367 close(hpriv->endpoints[i]); 683 if (hpriv->endpoints[endpt] < 0) { 694 hpriv->endpoints[endpt] = fd; 697 return (hpriv->endpoints[endpt]);
|
/system/core/fastboot/ |
usb_osx.c | 138 * associated with the endpoints in the interface descriptor 145 * storage endpoints" is bad. However, the only way to find 162 // Get the number of endpoints associated with this interface. 166 ERR("Unable to get number of endpoints: (%08x)\n", kr); 182 // Iterate over the endpoints for this interface and see if there 225 * Clear both the endpoints, because it has been observed
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_lround.c | 43 * If type has more precision than dtype, the endpoints dtype_(min|max) are
|