Home
last modified time | relevance | path

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

12

/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/ndk/sources/android/libportable/arch-x86/
Dioctl.c26 static inline int x86_change_request(int request) in x86_change_request() argument
28 if (request == FIOQSIZE_PORTABLE) in x86_change_request()
31 return request; in x86_change_request()
35 int WRAP(ioctl)(int fd, int request, ...) in WRAP()
40 va_start(ap, request); in WRAP()
44 return __ioctl(fd, x86_change_request(request), arg); in WRAP()
/development/samples/USB/AdbTest/src/com/android/adb/
DAdbMessage.java108 UsbRequest request = device.getOutRequest(); in write() local
109 request.setClientData(this); in write()
110 if (request.queue(mMessageBuffer, 24)) { in write()
113 request = device.getOutRequest(); in write()
114 request.setClientData(this); in write()
115 if (request.queue(mDataBuffer, length)) { in write()
118 device.releaseOutRequest(request); in write()
124 device.releaseOutRequest(request); in write()
130 public boolean readCommand(UsbRequest request) { in readCommand() argument
131 request.setClientData(this); in readCommand()
[all …]
DAdbDevice.java83 UsbRequest request = new UsbRequest(); in getOutRequest() local
84 request.initialize(mDeviceConnection, mEndpointOut); in getOutRequest()
85 return request; in getOutRequest()
93 public void releaseOutRequest(UsbRequest request) { in releaseOutRequest() argument
95 mOutRequestPool.add(request); in releaseOutRequest()
103 UsbRequest request = new UsbRequest(); in getInRequest() local
104 request.initialize(mDeviceConnection, mEndpointIn); in getInRequest()
105 return request; in getInRequest()
209 UsbRequest request = mDeviceConnection.requestWait(); in run() local
210 if (request == null) { in run()
[all …]
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py83 data = ContactForm(data=self.request.POST)
102 id = int(self.request.get('id'))
108 id = int(self.request.get('id'))
110 data = ContactForm(data=self.request.POST, instance=contact)
125 id = int(self.request.get('id'))
142 id = int(self.request.get('id'))
153 id = int(self.request.get('id'))
156 avatar = self.request.get("avatar")
170 id = int(self.request.get('id'))
176 self.redirect(self.request.host_url + '/static/img/default_avatar.gif')
Dweb_services.py67 self.username = self.request.get('username')
68 self.password = self.request.get('password')
95 self.username = self.request.get('username')
96 self.authtoken = self.request.get('authtoken')
150 client_buffer = self.request.get('contacts')
156 client_state = self.request.get('syncstate')
169 base_url = self.request.host_url
221 base_url = self.request.host_url
/development/ndk/sources/android/libportable/arch-mips/
Dioctl.c28 static inline int mips_change_request(int request) in mips_change_request() argument
30 switch(request) { in mips_change_request()
213 return request; in mips_change_request()
217 int WRAP(ioctl)(int fd, int request, ...) in WRAP()
222 va_start(ap, request); in WRAP()
226 return __ioctl(fd, mips_change_request(request), arg); in WRAP()
/development/samples/TtsEngine/src/com/example/android/ttsengine/
DRobotSpeakTtsService.java156 protected synchronized void onSynthesizeText(SynthesisRequest request, in onSynthesizeText() argument
160 int load = onLoadLanguage(request.getLanguage(), request.getCountry(), in onSynthesizeText()
161 request.getVariant()); in onSynthesizeText()
181 final String text = request.getText().toLowerCase(); in onSynthesizeText()
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
DMissileLauncherActivity.java218 UsbRequest request = new UsbRequest(); in run() local
219 request.initialize(mConnection, mEndpointIntr); in run()
223 request.queue(buffer, 1); in run()
227 if (mConnection.requestWait() == request) { in run()
/development/ndk/platforms/android-L/include/sys/
Dptrace.h41 extern long ptrace(int request, pid_t pid, void *addr, void *data);
/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/samples/wearable/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/
DDeleteQuestionService.java78 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent() local
79 Wearable.DataApi.putDataItem(mGoogleApiClient, request).await(); in onHandleIntent()
DUpdateQuestionService.java89 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in onHandleIntent() local
90 Wearable.DataApi.putDataItem(mGoogleApiClient, request).await(); in onHandleIntent()
/development/ndk/platforms/android-L/include/linux/
Dbsg.h35 __u64 request; member
/development/samples/wearable/DataLayer/Application/src/main/java/com/example/android/wearable/datalayer/
DMainActivity.java379 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in run() local
381 LOGD(TAG, "Generating DataItem: " + request); in run()
385 Wearable.DataApi.putDataItem(mGoogleApiClient, request) in run()
439 PutDataRequest request = dataMap.asPutDataRequest(); in sendPhoto() local
440 Wearable.DataApi.putDataItem(mGoogleApiClient, request) in sendPhoto()
/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/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
DCameraOps.java152 public void setRepeatingRequest(final CaptureRequest request, in setRepeatingRequest() argument
158 mCameraSession.setRepeatingRequest(request, listener, handler); in setRepeatingRequest()
/development/samples/wearable/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
DPhoneActivity.java104 PutDataRequest request = putDataMapRequest.asPutDataRequest(); in buildWearableOnlyNotification() local
105 Wearable.DataApi.putDataItem(mGoogleApiClient, request) in buildWearableOnlyNotification()
/development/samples/ToyVpn/src/com/example/android/toyvpn/
DToyVpnClient.java56 protected void onActivityResult(int request, int result, Intent data) { in onActivityResult() argument
/development/samples/wearable/Quiz/Application/src/main/java/com/example/android/wearable/quiz/
DMainActivity.java244 PutDataMapRequest request = PutDataMapRequest.create("/question/" + questionIndex); in toPutDataRequest() local
245 DataMap dataMap = request.getDataMap(); in toPutDataRequest()
250 return request.asPutDataRequest(); in toPutDataRequest()
487 PutDataMapRequest request = PutDataMapRequest.createFromDataMapItem( in onResult() local
489 DataMap dataMap = request.getDataMap(); in onResult()
494 Wearable.DataApi.putDataItem(mGoogleApiClient, request.asPutDataRequest()); in onResult()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java300 public void onCaptureProgressed(CameraCaptureSession session, CaptureRequest request,
306 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request,
686 public void onCaptureCompleted(CameraCaptureSession session, CaptureRequest request, in captureStillPicture()

12