/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/chromium/net/spdy/ |
spdy_settings_storage.h | 17 // endpoints for the SPDY SETTINGS frame.
|
/external/skia/include/effects/ |
SkDiscretePathEffect.h | 19 /** Break the path into segments of segLength length, and randomly move the endpoints
|
/external/llvm/lib/IR/ |
Metadata.cpp | 461 static bool tryMergeRange(SmallVector<Value*, 4> &EndPoints, ConstantInt *Low, 464 unsigned Size = EndPoints.size(); 465 APInt LB = cast<ConstantInt>(EndPoints[Size - 2])->getValue(); 466 APInt LE = cast<ConstantInt>(EndPoints[Size - 1])->getValue(); 471 EndPoints[Size - 2] = ConstantInt::get(Ty, Union.getLower()); 472 EndPoints[Size - 1] = ConstantInt::get(Ty, Union.getUpper()); 478 static void addRange(SmallVector<Value*, 4> &EndPoints, ConstantInt *Low, 480 if (!EndPoints.empty()) 481 if (tryMergeRange(EndPoints, Low, High)) 484 EndPoints.push_back(Low) [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
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/skia/legacy/include/effects/ |
SkDiscretePathEffect.h | 21 /** Break the path into segments of segLength length, and randomly move 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 | 106 endpoints a & b, 117 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/opt/net/voip/src/java/android/net/rtp/ |
package.html | 9 endpoints for the stream:</p>
|
/external/libusb_aah/libusb/os/ |
openbsd_usb.c | 44 int endpoints[USB_MAX_ENDPOINTS]; member in struct:handle_priv 347 hpriv->endpoints[i] = -1; 359 if (hpriv->endpoints[i] >= 0) 360 close(hpriv->endpoints[i]); 676 if (hpriv->endpoints[endpt] < 0) { 687 hpriv->endpoints[endpt] = fd; 690 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
|
/external/llvm/lib/MC/ |
MCModule.cpp | 17 assert(Begin < End && "Creating MCAtom with endpoints reversed?");
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/usb/ |
gadgetfs.h | 21 * may activate endpoints as it handles SET_CONFIGURATION setup events,
|