HomeSort by relevance Sort by last modified time
    Searched refs:usb_request (Results 1 - 16 of 16) sorted by null

  /frameworks/av/media/mtp/
MtpRequestPacket.h 23 struct usb_request;
40 int write(struct usb_request *request);
MtpDataPacket.h 24 struct usb_request;
106 int read(struct usb_request *request);
107 int readData(struct usb_request *request, void* buffer, int length);
108 int readDataAsync(struct usb_request *req);
110 int readDataHeader(struct usb_request *ep);
112 int writeDataHeader(struct usb_request *ep, uint32_t length);
113 int write(struct usb_request *ep);
114 int write(struct usb_request *ep, void* buffer, uint32_t length);
MtpEventPacket.h 38 int read(struct usb_request *request);
MtpResponsePacket.h 38 int read(struct usb_request *request);
MtpDevice.h 28 struct usb_request;
41 struct usb_request* mRequestIn1;
42 struct usb_request* mRequestIn2;
43 struct usb_request* mRequestOut;
44 struct usb_request* mRequestIntr;
MtpPacket.h 22 struct usb_request;
60 int transfer(struct usb_request* request);
MtpRequestPacket.cpp 50 int MtpRequestPacket::write(struct usb_request *request)
MtpResponsePacket.cpp 47 int MtpResponsePacket::read(struct usb_request *request) {
MtpEventPacket.cpp 57 int MtpEventPacket::read(struct usb_request *request) {
MtpDataPacket.cpp 378 int MtpDataPacket::read(struct usb_request *request) {
404 int MtpDataPacket::readData(struct usb_request *request, void* buffer, int length) {
419 int MtpDataPacket::readDataAsync(struct usb_request *req) {
429 struct usb_request *req = usb_request_wait(device);
433 int MtpDataPacket::readDataHeader(struct usb_request *request) {
442 int MtpDataPacket::writeDataHeader(struct usb_request *request, uint32_t length) {
451 int MtpDataPacket::write(struct usb_request *request) {
467 int MtpDataPacket::write(struct usb_request *request, void* buffer, uint32_t length) {
MtpPacket.cpp 155 int MtpPacket::transfer(struct usb_request* request) {
MtpDevice.cpp 611 struct usb_request* req = mRequestIn1;
712 struct usb_request* req = mRequestIn1;
  /frameworks/base/core/jni/
android_hardware_UsbRequest.cpp 33 struct usb_request* get_request_from_object(JNIEnv* env, jobject java_request)
35 return (struct usb_request*)env->GetIntField(java_request, field_context);
62 struct usb_request* request = usb_request_new(device, &desc);
72 struct usb_request* request = get_request_from_object(env, thiz);
83 struct usb_request* request = get_request_from_object(env, thiz);
121 struct usb_request* request = get_request_from_object(env, thiz);
140 struct usb_request* request = get_request_from_object(env, thiz);
170 struct usb_request* request = get_request_from_object(env, thiz);
183 struct usb_request* request = get_request_from_object(env, thiz);
android_hardware_UsbDeviceConnection.cpp 201 struct usb_request* request = usb_request_wait(device);
  /system/core/include/usbhost/
usbhost.h 42 struct usb_request struct
211 /* Creates a new usb_request. */
212 struct usb_request *usb_request_new(struct usb_device *dev,
216 void usb_request_free(struct usb_request *req);
219 int usb_request_queue(struct usb_request *req);
222 * Returns a usb_request, or NULL for error.
224 struct usb_request *usb_request_wait(struct usb_device *dev);
227 int usb_request_cancel(struct usb_request *req);
  /system/core/libusbhost/
usbhost.c 605 struct usb_request *usb_request_new(struct usb_device *dev,
623 struct usb_request *req = calloc(1, sizeof(struct usb_request));
638 void usb_request_free(struct usb_request *req)
644 int usb_request_queue(struct usb_request *req)
664 struct usb_request *usb_request_wait(struct usb_device *dev)
667 struct usb_request *req = NULL;
681 req = (struct usb_request*)urb->usercontext;
689 int usb_request_cancel(struct usb_request *req)

Completed in 251 milliseconds