Home
last modified time | relevance | path

Searched refs:req (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/net/http/
DConnection.java159 Request req = null; in processRequests() local
191 req = mRequestFeeder.getRequest(mHost); in processRequests()
193 req = firstRequest; in processRequests()
196 if (req == null) { in processRequests()
200 req.setConnection(this); in processRequests()
203 if (req.mCancelled) { in processRequests()
206 + req); in processRequests()
207 req.complete(); in processRequests()
219 if (!openHttpConnection(req)) { in processRequests()
229 req.mEventHandler.certificate(mCertificate); in processRequests()
[all …]
DHttpsConnection.java164 AndroidHttpClientConnection openConnection(Request req) throws IOException { in openConnection() argument
212 for (Header h : req.mHttpRequest.getAllHeaders()) { in openConnection()
277 req.mEventHandler.status(version.getMajor(), in openConnection()
281 req.mEventHandler.headers(headers); in openConnection()
282 req.mEventHandler.endData(); in openConnection()
325 boolean canHandle = req.getEventHandler().handleSslErrorRequest(error); in openConnection()
DHttpConnection.java49 AndroidHttpClientConnection openConnection(Request req) throws IOException { in openConnection() argument
52 EventHandler eventHandler = req.getEventHandler(); in openConnection()
DRequestQueue.java329 Request req; in queueRequest() local
333 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider, in queueRequest()
336 queueRequest(req, false); in queueRequest()
345 req); in queueRequest()
380 Request req = new Request(method, host, mProxyHost, uri.getPath(), in queueSynchronousRequest() local
392 bodyLength, req, conn); in queueSynchronousRequest()
/frameworks/wilhelm/tests/sandbox/
Dsrcsink.c64 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in main() local
67 &audioSnk, 1, ids, req); in main()
74 &audioSnk, 1, ids, req); in main()
86 &audioSnk, 1, ids, req); in main()
98 &audioSnk, 1, ids, req); in main()
111 &audioSnk, 1, ids, req); in main()
116 &audioSnk, 1, ids, req); in main()
124 &audioSnk, 1, ids, req); in main()
129 &audioSnk, 1, ids, req); in main()
137 &audioSnk, 1, ids, req); in main()
[all …]
Durimime.c79 SLboolean req[1]; in main() local
81 req[0] = SL_BOOLEAN_TRUE; in main()
84 &audioSnk, numInterfaces, ids, req); in main()
90 &audioSnk, numInterfaces, ids, req); in main()
Dconfigbq.c130 SLboolean req[1]; in main() local
132 req[0] = SL_BOOLEAN_TRUE; in main()
135 &audioSnk, numInterfaces, ids, req); in main()
Doutputmix.c130 SLboolean req[10] = {SL_BOOLEAN_TRUE, SL_BOOLEAN_FALSE /*SL_BOOLEAN_TRUE*/, SL_BOOLEAN_TRUE, in main() local
133 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 10, ids, req); in main()
Dmonkey.c118 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in actionCreate() local
120 &audioSnk, 1, ids, req); in actionCreate()
Dplaybq.cpp303 SLboolean req[1] = {SL_BOOLEAN_TRUE}; in main() local
305 ids, req); in main()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceRequest.java223 WifiP2pServiceRequest req = (WifiP2pServiceRequest)o; in equals() local
229 if ((req.mProtocolType != mProtocolType) || in equals()
230 (req.mLength != mLength)) { in equals()
234 if (req.mQuery == null && mQuery == null) { in equals()
236 } else if (req.mQuery != null) { in equals()
237 return req.mQuery.equals(mQuery); in equals()
DWifiP2pServiceResponse.java312 WifiP2pServiceResponse req = (WifiP2pServiceResponse)o; in equals() local
314 return (req.mServiceType == mServiceType) && in equals()
315 (req.mStatus == mStatus) && in equals()
316 equals(req.mDevice.deviceAddress, mDevice.deviceAddress) && in equals()
317 Arrays.equals(req.mData, mData); in equals()
/frameworks/av/services/audioflinger/
DAudioWatchdog.cpp99 struct timespec req; in threadLoop() local
100 req.tv_sec = 0; in threadLoop()
101 req.tv_nsec = mPeriodNs; in threadLoop()
102 rc = nanosleep(&req, NULL); in threadLoop()
DStateQueue.cpp96 static const struct timespec req = {0, PUSH_BLOCK_ACK_NS}; in push() local
133 nanosleep(&req, NULL); in push()
173 nanosleep(&req, NULL); in push()
/frameworks/av/media/mtp/
DMtpDevice.cpp611 struct usb_request* req = mRequestIn1; in readObject() local
618 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining); in readObject()
619 if (mData.readDataAsync(req)) { in readObject()
624 req = NULL; in readObject()
632 if (req) in readObject()
641 if (req) { in readObject()
647 writeBuffer = req->buffer; in readObject()
650 req = (req == mRequestIn1 ? mRequestIn2 : mRequestIn1); in readObject()
712 struct usb_request* req = mRequestIn1; in readObject() local
719 req->buffer_length = (remaining > sizeof(buffer1) ? sizeof(buffer1) : remaining); in readObject()
[all …]
DMtpDataPacket.cpp419 int MtpDataPacket::readDataAsync(struct usb_request *req) { in readDataAsync() argument
420 if (usb_request_queue(req)) { in readDataAsync()
429 struct usb_request *req = usb_request_wait(device); in readDataWait() local
430 return (req ? req->actual_length : -1); in readDataWait()
DMtpDataPacket.h108 int readDataAsync(struct usb_request *req);
/frameworks/base/services/java/com/android/server/location/
DGpsXtraDownloader.java115 HttpUriRequest req = new HttpGet(url); in doDownload() local
119 ConnRouteParams.setDefaultProxy(req.getParams(), proxy); in doDownload()
122 req.addHeader( in doDownload()
126 req.addHeader( in doDownload()
130 HttpResponse response = client.execute(req); in doDownload()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java93 ArgumentCaptor<SynthesisRequest> req = LittleMock.createCaptor(); in testSetLanguage_availableLanguage() local
94 LittleMock.verify(delegate, LittleMock.times(1)).onSynthesizeText(req.capture(), in testSetLanguage_availableLanguage()
97 assertEquals("eng", req.getValue().getLanguage()); in testSetLanguage_availableLanguage()
98 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
99 assertEquals("", req.getValue().getVariant()); in testSetLanguage_availableLanguage()
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java829 private static void checkServiceRequest(WifiP2pServiceRequest req) { in checkServiceRequest() argument
830 if (req == null) throw new IllegalArgumentException("service request is null"); in checkServiceRequest()
1173 WifiP2pServiceRequest req, ActionListener listener) { in addServiceRequest() argument
1175 checkServiceRequest(req); in addServiceRequest()
1177 c.putListener(listener), req); in addServiceRequest()
1192 public void removeServiceRequest(Channel c, WifiP2pServiceRequest req, in removeServiceRequest() argument
1195 checkServiceRequest(req); in removeServiceRequest()
1197 c.putListener(listener), req); in removeServiceRequest()
DWifiP2pService.java2691 WifiP2pServiceRequest req; in updateSupplicantServiceRequest() local
2693 req = c.mReqList.valueAt(i); in updateSupplicantServiceRequest()
2694 if (req != null) { in updateSupplicantServiceRequest()
2695 sb.append(req.getSupplicantQuery()); in updateSupplicantServiceRequest()
2724 private boolean addServiceRequest(Messenger m, WifiP2pServiceRequest req) { in addServiceRequest() argument
2734 req.setTransactionId(mServiceTransactionId); in addServiceRequest()
2735 clientInfo.mReqList.put(mServiceTransactionId, req); in addServiceRequest()
2744 private void removeServiceRequest(Messenger m, WifiP2pServiceRequest req) { in removeServiceRequest() argument
2754 if (req.equals(clientInfo.mReqList.valueAt(i))) { in removeServiceRequest()
2863 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse() local
[all …]
/frameworks/base/tools/aapt/
DCommand.cpp653 int req = getIntegerAttribute(tree, REQUIRED_ATTR, NULL, 1); in doDump() local
654 if (!req) { in doDump()
1043 int req = getIntegerAttribute(tree, in doDump() local
1051 reqCameraAutofocusFeature = reqCameraAutofocusFeature || req; in doDump()
1053 } else if (req && (name == "android.hardware.camera.flash")) { in doDump()
1061 reqNetworkLocFeature = reqNetworkLocFeature || req; in doDump()
1064 reqGpsFeature = reqGpsFeature || req; in doDump()
1072 reqDistinctMultitouchFeature = reqDistinctMultitouchFeature || req; in doDump()
1079 } else if (req && (name == "android.hardware.telephony.gsm" || in doDump()
1090 req ? "" : "-not-required", name.string()); in doDump()
[all …]
/frameworks/native/cmds/atrace/
Datrace.cpp252 bool req = category.sysfiles[i].required == REQ; in isCategorySupported() local
254 if (req) { in isCategorySupported()
277 bool req = category.sysfiles[i].required == REQ; in isCategorySupportedForRoot() local
279 if (req) { in isCategorySupportedForRoot()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp186 const struct timespec req = {0, ns}; in write() local
187 nanosleep(&req, NULL); in write()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java2263 ExtractedTextRequest req = new ExtractedTextRequest(); in startExtractingText() local
2264 req.token = mExtractedToken; in startExtractingText()
2265 req.flags = InputConnection.GET_TEXT_WITH_STYLES; in startExtractingText()
2266 req.hintMaxLines = 10; in startExtractingText()
2267 req.hintMaxChars = 10000; in startExtractingText()
2270 : ic.getExtractedText(req, InputConnection.GET_EXTRACTED_TEXT_MONITOR); in startExtractingText()

12