Home
last modified time | relevance | path

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

/external/python/google-api-python-client/tests/
Dtest_mocks.py49 requestBuilder = RequestMockBuilder({})
50 plus = build('plus', 'v1', http=self.http, requestBuilder=requestBuilder)
55 requestBuilder = RequestMockBuilder({
58 plus = build('plus', 'v1', http=self.http, requestBuilder=requestBuilder)
64 requestBuilder = RequestMockBuilder({}, check_unexpected=True)
66 plus = build('plus', 'v1', http=self.http, requestBuilder=requestBuilder)
75 requestBuilder = RequestMockBuilder({
78 zoo = build('zoo', 'v1', http=self.zoo_http, requestBuilder=requestBuilder)
87 requestBuilder = RequestMockBuilder({
90 zoo = build('zoo', 'v1', http=self.zoo_http, requestBuilder=requestBuilder)
[all …]
/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/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/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.py176 requestBuilder=HttpRequest, argument
226 developerKey=developerKey, model=model, requestBuilder=requestBuilder,
302 requestBuilder=HttpRequest, argument
383 developerKey=developerKey, requestBuilder=requestBuilder,
998 def __init__(self, http, baseUrl, model, requestBuilder, developerKey, argument
1023 self._requestBuilder = requestBuilder
1121 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/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/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/glide/library/src/main/java/com/bumptech/glide/
DRequestManager.java92 <T> void apply(GenericRequestBuilder<T, ?, ?, ?> requestBuilder); in apply() 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()