Home
last modified time | relevance | path

Searched refs:requestBuilder (Results 1 – 18 of 18) sorted by relevance

/external/python/google-api-python-client/tests/
Dtest_mocks.py50 requestBuilder = RequestMockBuilder({})
51 plus = build("plus", "v1", http=self.http, requestBuilder=requestBuilder)
56 requestBuilder = RequestMockBuilder(
59 plus = build("plus", "v1", http=self.http, requestBuilder=requestBuilder)
65 requestBuilder = RequestMockBuilder({}, check_unexpected=True)
67 plus = build("plus", "v1", http=self.http, requestBuilder=requestBuilder)
76 requestBuilder = RequestMockBuilder(
79 zoo = build("zoo", "v1", http=self.zoo_http, requestBuilder=requestBuilder)
88 requestBuilder = RequestMockBuilder(
91 zoo = build("zoo", "v1", http=self.zoo_http, requestBuilder=requestBuilder)
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DCall.java255 Request.Builder requestBuilder = request.newBuilder(); in getResponse() local
259 requestBuilder.header("Content-Type", contentType.toString()); in getResponse()
264 requestBuilder.header("Content-Length", Long.toString(contentLength)); in getResponse()
265 requestBuilder.removeHeader("Transfer-Encoding"); in getResponse()
267 requestBuilder.header("Transfer-Encoding", "chunked"); in getResponse()
268 requestBuilder.removeHeader("Content-Length"); in getResponse()
271 request = requestBuilder.build(); in getResponse()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DCall.java257 Request.Builder requestBuilder = request.newBuilder(); in getResponse() local
261 requestBuilder.header("Content-Type", contentType.toString()); in getResponse()
266 requestBuilder.header("Content-Length", Long.toString(contentLength)); in getResponse()
267 requestBuilder.removeHeader("Transfer-Encoding"); in getResponse()
269 requestBuilder.header("Transfer-Encoding", "chunked"); in getResponse()
270 requestBuilder.removeHeader("Content-Length"); in getResponse()
273 request = requestBuilder.build(); in getResponse()
/external/downloader/src/main/java/com/google/android/downloader/
DCronetUrlEngine.java87 urlRequest = builder.requestBuilder.build(); in CronetUrlRequest()
108 private final org.chromium.net.UrlRequest.Builder requestBuilder; field in CronetUrlEngine.CronetUrlRequestBuilder
112 org.chromium.net.UrlRequest.Builder requestBuilder, in CronetUrlRequestBuilder() argument
114 this.requestBuilder = requestBuilder; in CronetUrlRequestBuilder()
120 requestBuilder.addHeader(key, value); in addHeader()
DOkHttp3UrlEngine.java111 Request.Builder requestBuilder = new Request.Builder(); in send() local
114 requestBuilder.url(url); in send()
121 requestBuilder.header(key, value); in send()
126 Call call = client.newCall(requestBuilder.build()); in send()
DOkHttp2UrlEngine.java111 Request.Builder requestBuilder = new Request.Builder(); in send() local
114 requestBuilder.url(url); in send()
121 requestBuilder.header(key, value); in send()
126 Call call = client.newCall(requestBuilder.build()); in send()
/external/exoplayer/tree/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java686 UrlRequest.Builder requestBuilder = in buildRequestBuilder() local
702 requestBuilder.addHeader(key, value); in buildRequestBuilder()
718 requestBuilder.addHeader("Range", rangeValue.toString()); in buildRequestBuilder()
727 requestBuilder.setHttpMethod(dataSpec.getHttpMethodString()); in buildRequestBuilder()
729 requestBuilder.setUploadDataProvider( in buildRequestBuilder()
732 return requestBuilder; in buildRequestBuilder()
850 private static void attachCookies(UrlRequest.Builder requestBuilder, String cookies) { in attachCookies() argument
854 requestBuilder.addHeader(COOKIE, cookies); in attachCookies()
938 UrlRequest.Builder requestBuilder; in onRedirectReceived() local
940 requestBuilder = buildRequestBuilder(redirectUrlDataSpec); in onRedirectReceived()
[all …]
/external/autotest/frontend/client/src/autotest/common/
DXhrJsonRpcProxy.java21 protected RequestBuilder requestBuilder; field in XhrJsonRpcProxy
24 requestBuilder = new RequestBuilder(RequestBuilder.POST, url); in XhrJsonRpcProxy()
30 requestBuilder.sendRequest(request.toString(), new RpcHandler(callback)); in sendRequest()
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py175 requestBuilder=HttpRequest, argument
229 requestBuilder=requestBuilder,
305 requestBuilder=HttpRequest, argument
395 requestBuilder=requestBuilder,
1036 requestBuilder, argument
1065 self._requestBuilder = requestBuilder
1174 requestBuilder=self._requestBuilder,
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifFrameManager.java33 private final GenericRequestBuilder<GifDecoder, GifDecoder, Bitmap, Bitmap> requestBuilder; field in GifFrameManager
61 requestBuilder = Glide.with(context) in GifFrameManager()
94 requestBuilder in getNextFrame()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DConcurrencyTest.java113 StreamingOutputCallRequest.Builder requestBuilder = StreamingOutputCallRequest.newBuilder() in run() local
116 requestBuilder.addResponseParameters(ResponseParameters.newBuilder() in run()
120 StreamingOutputCallRequest request = requestBuilder.build(); in run()
DHttp2OkHttpTest.java117 Messages.StreamingOutputCallRequest.Builder requestBuilder = in receivedDataForFinishedStream() local
121 requestBuilder.addResponseParameters(responseParameters); in receivedDataForFinishedStream()
127 Messages.StreamingOutputCallRequest request = requestBuilder.build(); in receivedDataForFinishedStream()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpEngine.java948 Request.Builder requestBuilder = userRequest.newBuilder(); in followUpRequest()
951 requestBuilder.method("GET", null); in followUpRequest()
953 requestBuilder.method(method, null); in followUpRequest()
955 requestBuilder.removeHeader("Transfer-Encoding"); in followUpRequest()
956 requestBuilder.removeHeader("Content-Length"); in followUpRequest()
957 requestBuilder.removeHeader("Content-Type"); in followUpRequest()
964 requestBuilder.removeHeader("Authorization"); in followUpRequest()
967 return requestBuilder.url(url).build(); in followUpRequest()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DHttpEngine.java935 Request.Builder requestBuilder = userRequest.newBuilder(); in followUpRequest()
938 requestBuilder.method("GET", null); in followUpRequest()
940 requestBuilder.method(method, null); in followUpRequest()
942 requestBuilder.removeHeader("Transfer-Encoding"); in followUpRequest()
943 requestBuilder.removeHeader("Content-Length"); in followUpRequest()
944 requestBuilder.removeHeader("Content-Type"); in followUpRequest()
951 requestBuilder.removeHeader("Authorization"); in followUpRequest()
954 return requestBuilder.url(url).build(); in followUpRequest()
/external/python/google-api-python-client/docs/
Dthread_safety.md16 service = build('api_name', 'api_version', requestBuilder=build_request)
/external/glide/library/src/main/java/com/bumptech/glide/
DRequestManager.java92 <T> void apply(GenericRequestBuilder<T, ?, ?, ?> requestBuilder); in apply() argument
/external/volley/src/main/java/com/android/volley/cronet/
DCronetHttpStack.java548 public void onRequestPrepared(Request<?> request, UrlRequest.Builder requestBuilder) {} in onRequestPrepared() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCallTest.java144 Request.Builder requestBuilder = new Request.Builder(); in invalidScheme() local
146 requestBuilder.url("ftp://hostname/path"); in invalidScheme()
154 Request.Builder requestBuilder = new Request.Builder(); in invalidPort() local
156 requestBuilder.url("http://localhost:65536/"); in invalidPort()