HomeSort by relevance Sort by last modified time
    Searched refs:bodyProvider (Results 1 - 4 of 4) sorted by null

  /frameworks/base/core/java/android/net/http/
Request.java 102 * @param bodyProvider InputStream providing HTTP body, null if none
103 * @param bodyLength length of body, must be 0 if bodyProvider is null
109 InputStream bodyProvider, int bodyLength,
116 mBodyProvider = bodyProvider;
119 if (bodyProvider == null && !"POST".equalsIgnoreCase(method)) {
127 if (bodyProvider != null) {
128 setBodyProvider(bodyProvider, bodyLength);
491 private void setBodyProvider(InputStream bodyProvider, int bodyLength) {
492 if (!bodyProvider.markSupported()) {
494 "bodyProvider must support mark()")
    [all...]
RequestQueue.java 289 * @param bodyProvider InputStream providing HTTP body, null if none
290 * @param bodyLength length of body, must be 0 if bodyProvider is null
295 InputStream bodyProvider, int bodyLength) {
298 bodyProvider, bodyLength);
309 * @param bodyProvider InputStream providing HTTP body, null if none
310 * @param bodyLength length of body, must be 0 if bodyProvider is null
315 InputStream bodyProvider, int bodyLength) {
329 req = new Request(method, httpHost, mProxyHost, uri.getPath(), bodyProvider,
340 this, url, uri, method, headers, bodyProvider, bodyLength,
368 EventHandler eventHandler, InputStream bodyProvider,
    [all...]
RequestHandle.java 64 InputStream bodyProvider, int bodyLength, Request request) {
70 mBodyProvider = bodyProvider;
88 InputStream bodyProvider, int bodyLength, Request request,
90 this(requestQueue, url, uri, method, headers, bodyProvider, bodyLength,
  /frameworks/base/tests/CoreTests/android/core/
RequestAPITest.java 470 InputStream bodyProvider = new ByteArrayInputStream(mBody.getBytes());
473 "http://localhost:8080/test1", "POST", null, testEventHandler, bodyProvider, bodyLength);

Completed in 257 milliseconds