Home
last modified time | relevance | path

Searched refs:request (Results 1 – 25 of 41) sorted by relevance

12

/development/host/windows/usb/legacy/driver/
Dandroid_usb_pipe_file_object.cpp75 void AndroidUsbPipeFileObject::OnEvtIoRead(WDFREQUEST request, in OnEvtIoRead() argument
82 WdfRequestComplete(request, STATUS_ACCESS_DENIED); in OnEvtIoRead()
88 WdfRequestCompleteWithInformation(request, STATUS_SUCCESS, 0); in OnEvtIoRead()
94 NTSTATUS status = WdfRequestRetrieveOutputWdmMdl(request, &request_mdl); in OnEvtIoRead()
97 CommonBulkReadWrite(request, in OnEvtIoRead()
104 WdfRequestComplete(request, status); in OnEvtIoRead()
108 void AndroidUsbPipeFileObject::OnEvtIoWrite(WDFREQUEST request, in OnEvtIoWrite() argument
114 WdfRequestComplete(request, STATUS_ACCESS_DENIED); in OnEvtIoWrite()
120 WdfRequestCompleteWithInformation(request, STATUS_SUCCESS, 0); in OnEvtIoWrite()
126 NTSTATUS status = WdfRequestRetrieveInputWdmMdl(request, &request_mdl); in OnEvtIoWrite()
[all …]
Dandroid_usb_file_object.cpp63 void AndroidUsbFileObject::OnEvtIoRead(WDFREQUEST request, in OnEvtIoRead() argument
66 ASSERT(WdfRequestGetFileObject(request) == wdf_file()); in OnEvtIoRead()
69 WdfRequestCompleteWithInformation(request, STATUS_SUCCESS, 0); in OnEvtIoRead()
73 WdfRequestComplete(request, STATUS_INVALID_DEVICE_REQUEST); in OnEvtIoRead()
76 void AndroidUsbFileObject::OnEvtIoWrite(WDFREQUEST request, in OnEvtIoWrite() argument
79 ASSERT(WdfRequestGetFileObject(request) == wdf_file()); in OnEvtIoWrite()
82 WdfRequestCompleteWithInformation(request, STATUS_SUCCESS, 0); in OnEvtIoWrite()
86 WdfRequestComplete(request, STATUS_INVALID_DEVICE_REQUEST); in OnEvtIoWrite()
89 void AndroidUsbFileObject::OnEvtIoDeviceControl(WDFREQUEST request, in OnEvtIoDeviceControl() argument
94 ASSERT(WdfRequestGetFileObject(request) == wdf_file()); in OnEvtIoDeviceControl()
[all …]
Dandroid_usb_device_file_object.cpp44 void AndroidUsbDeviceFileObject::OnEvtIoDeviceControl(WDFREQUEST request, in OnEvtIoDeviceControl() argument
52 device_object()->OnGetUsbDeviceDescriptorCtl(request, output_buf_len); in OnEvtIoDeviceControl()
56 device_object()->OnGetUsbConfigDescriptorCtl(request, output_buf_len); in OnEvtIoDeviceControl()
60 device_object()->OnGetUsbInterfaceDescriptorCtl(request, output_buf_len); in OnEvtIoDeviceControl()
64 device_object()->OnGetEndpointInformationCtl(request, in OnEvtIoDeviceControl()
70 device_object()->OnGetSerialNumberCtl(request, output_buf_len); in OnEvtIoDeviceControl()
74 AndroidUsbFileObject::OnEvtIoDeviceControl(request, in OnEvtIoDeviceControl()
Dandroid_usb_device_object.cpp324 void AndroidUsbDeviceObject::OnEvtDeviceFileCreate(WDFREQUEST request,
329 WdfRequestComplete(request, STATUS_INVALID_DEVICE_STATE);
336 WdfRequestComplete(request, STATUS_OBJECT_NAME_INVALID);
351 WdfRequestComplete(request, STATUS_OBJECT_NAME_INVALID);
357 WdfRequestComplete(request, STATUS_OBJECT_NAME_NOT_FOUND);
369 WdfRequestComplete(request, STATUS_OBJECT_NAME_NOT_FOUND);
388 WdfRequestComplete(request, STATUS_INSUFFICIENT_RESOURCES);
396 WdfRequestComplete(request, status); in EvtDevicePrepareHardwareEntry()
405 WdfRequestComplete(request, status);
410 WdfRequestComplete(request, STATUS_SUCCESS); in EvtDeviceReleaseHardwareEntry()
[all …]
Dandroid_usb_pipe_file_object.h67 virtual void OnEvtIoRead(WDFREQUEST request, size_t length);
78 virtual void OnEvtIoWrite(WDFREQUEST request, size_t length);
97 virtual void OnEvtIoDeviceControl(WDFREQUEST request,
109 virtual void OnCtlGetEndpointInformation(WDFREQUEST request,
120 virtual void OnCtlBulkRead(WDFREQUEST request,
132 virtual void OnCtlBulkWrite(WDFREQUEST request,
170 virtual NTSTATUS CommonBulkReadWrite(WDFREQUEST request,
189 virtual void OnCommonReadWriteCompletion(WDFREQUEST request,
226 static void CommonReadWriteCompletionEntry(WDFREQUEST request,
Dandroid_usb_device_object.h125 void OnEvtDeviceFileCreate(WDFREQUEST request, WDFFILEOBJECT wdf_fo);
189 WDFREQUEST request,
207 void OnEvtIoRead(WDFREQUEST request, size_t length);
217 void OnEvtIoWrite(WDFREQUEST request, size_t length);
232 void OnEvtIoDeviceControl(WDFREQUEST request,
248 WDFREQUEST request,
262 WDFREQUEST request,
281 WDFREQUEST request,
300 void OnGetUsbDeviceDescriptorCtl(WDFREQUEST request, size_t output_buf_len);
309 void OnGetUsbConfigDescriptorCtl(WDFREQUEST request, size_t output_buf_len);
[all …]
Dandroid_usb_inl.h63 __forceinline void* OutAddress(WDFREQUEST request, NTSTATUS* status) { in OutAddress() argument
64 ASSERT(NULL != request); in OutAddress()
66 NTSTATUS stat = WdfRequestRetrieveOutputMemory(request, &wdf_mem); in OutAddress()
78 __forceinline void* InAddress(WDFREQUEST request, NTSTATUS* status) { in InAddress() argument
79 ASSERT(NULL != request); in InAddress()
81 NTSTATUS stat = WdfRequestRetrieveInputMemory(request, &wdf_mem); in InAddress()
Dandroid_usb_file_object.h82 virtual void OnEvtIoRead(WDFREQUEST request, size_t length);
93 virtual void OnEvtIoWrite(WDFREQUEST request, size_t length);
109 virtual void OnEvtIoDeviceControl(WDFREQUEST request,
180 WDFREQUEST request) { in GetAndroidUsbFileObjectForRequest() argument
181 return GetAndroidUsbFileObjectFromHandle(WdfRequestGetFileObject(request)); in GetAndroidUsbFileObjectForRequest()
Dandroid_usb_device_file_object.h67 virtual void OnEvtIoDeviceControl(WDFREQUEST request,
/development/ndk/platforms/android-3/include/linux/
Delevator.h15 typedef int (elevator_merge_fn) (request_queue_t *, struct request **,
18 typedef void (elevator_merge_req_fn) (request_queue_t *, struct request *, struct request *);
20 typedef void (elevator_merged_fn) (request_queue_t *, struct request *);
24 typedef void (elevator_add_req_fn) (request_queue_t *, struct request *);
26 typedef struct request *(elevator_request_list_fn) (request_queue_t *, struct request *);
27 typedef void (elevator_completed_req_fn) (request_queue_t *, struct request *);
30 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t);
31 typedef void (elevator_put_req_fn) (request_queue_t *, struct request *);
32 typedef void (elevator_activate_req_fn) (request_queue_t *, struct request *);
33 typedef void (elevator_deactivate_req_fn) (request_queue_t *, struct request *);
Dblkdev.h106 struct request;
107 typedef void (rq_end_io_fn)(struct request *, int);
119 struct request { struct
249 typedef int (merge_request_fn) (request_queue_t *, struct request *,
251 typedef int (merge_requests_fn) (request_queue_t *, struct request *,
252 struct request *);
255 typedef int (prep_rq_fn) (request_queue_t *, struct request *);
262 typedef void (prepare_flush_fn) (request_queue_t *, struct request *);
263 typedef void (softirq_done_fn)(struct request *);
271 struct request **tag_index;
[all …]
/development/simulator/wrapsim/
DDevConsoleTty.c17 static int ioctlConsoleTty(FakeDev* dev, int fd, int request, void* argp) in ioctlConsoleTty() argument
19 wsLog("%s: ioctl(0x%x, %p)\n", dev->debugName, request, argp); in ioctlConsoleTty()
20 switch (request) { in ioctlConsoleTty()
DDevPower.c132 static int ioctlPower(FakeDev* dev, int fd, int request, void* argp) in ioctlPower() argument
134 if (request == FIONREAD) { in ioctlPower()
139 wsLog("%s: ioctl(0x%08x, %p) ??\n", dev->debugName, request, argp); in ioctlPower()
DDevFb.c201 static int ioctlFb(FakeDev* dev, int fd, int request, void* argp) in ioctlFb() argument
205 wsLog("%s: ioctl(0x%x, %p)\n", dev->debugName, request, argp); in ioctlFb()
207 switch (request) { in ioctlFb()
237 request, dev->debugName); in ioctlFb()
DIntercept.c716 int ioctl(int fd, int request, ...) in ioctl() argument
718 CALLTRACEV("%s(%d, %d, ...)\n", __FUNCTION__, fd, request); in ioctl()
725 va_start(args, request); in ioctl()
730 return dev->ioctl(dev, fd, request, argp); in ioctl()
732 CALLTRACE("ioctl(%d, 0x%x, %p)\n", fd, request, argp); in ioctl()
733 return _ws_ioctl(fd, request, argp); in ioctl()
DDevAudio.c79 static int ioctlAudio(FakeDev* dev, int fd, int request, void* argp) in ioctlAudio() argument
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py55 data = UserForm(data=self.request.POST)
78 id = int(self.request.get('user'))
92 id = int(self.request.get('_id'))
94 data = UserForm(data=self.request.POST, instance=user)
150 data = UserCredentialsForm(data=self.request.POST)
180 user = self.request.get('user')
193 data = UserFriendsForm(data=self.request.POST)
195 user = self.request.get('user')
228 user = self.request.get('user')
246 user = self.request.get('user')
[all …]
Dmain.py46 self.username = self.request.get('username')
47 self.password = self.request.get('password')
67 self.username = self.request.get('username')
68 self.password = self.request.get('password')
70 timestamp = self.request.get('timestamp')
107 self.username = self.request.get('username')
108 self.password = self.request.get('password')
/development/ndk/platforms/android-3/include/sys/
Dptrace.h41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java183 HttpGet request = new HttpGet(url); in getUrlContent() local
184 request.setHeader("User-Agent", sUserAgent); in getUrlContent()
187 HttpResponse response = client.execute(request); in getUrlContent()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java176 HttpGet request = new HttpGet(url); in getUrlContent() local
177 request.setHeader("User-Agent", sUserAgent); in getUrlContent()
180 HttpResponse response = client.execute(request); in getUrlContent()
/development/scripts/app_engine_server/gae_shell/
Dshell.py175 session_key = self.request.get('session')
206 statement = self.request.get('statement')
234 session = Session.get(self.request.get('session'))
/development/ndk/platforms/android-3/include/linux/mmc/
Dmmc.h19 struct request;
Dhost.h70 void (*request)(struct mmc_host *host, struct mmc_request *req); member
/development/pdk/docs/porting/
Dtelephony.jd153 … the table below to handle solicited commands. The RIL solicited command request types are defined…
157 …<td valign="top"><code> void (*RIL_RequestFunc) (int request, void *data, size_t datalen, RIL_Toke…
159 … solicited commands and must be able to handle the various RIL solicited request types defined in …
161 <li><code>request</code> is one of <code>RIL_REQUEST_*</code></li>
178 …<td valign="top"><p>This function is used to indicate that a pending request should be canceled. T…
179 …<p>On cancel, the callee should do its best to abandon the request and call <code>RIL_onRequestCom…
180 …ete</code> for this request with other results will be tolerated but ignored (that is, it is valid…

12