OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bodyProvider
(Results
1 - 4
of
4
) sorted by null
/frameworks/base/core/java/android/net/http/
Request.java
105
* @param
bodyProvider
InputStream providing HTTP body, null if none
106
* @param bodyLength length of body, must be 0 if
bodyProvider
is null
112
InputStream
bodyProvider
, int bodyLength,
119
mBodyProvider =
bodyProvider
;
122
if (
bodyProvider
== null && !"POST".equalsIgnoreCase(method)) {
130
if (
bodyProvider
!= null) {
131
setBodyProvider(
bodyProvider
, bodyLength);
494
private void setBodyProvider(InputStream
bodyProvider
, int bodyLength) {
495
if (!
bodyProvider
.markSupported()) {
497
"
bodyProvider
must support mark()")
[
all
...]
RequestQueue.java
293
* @param
bodyProvider
InputStream providing HTTP body, null if none
294
* @param bodyLength length of body, must be 0 if
bodyProvider
is null
299
InputStream
bodyProvider
, int bodyLength) {
302
bodyProvider
, bodyLength);
313
* @param
bodyProvider
InputStream providing HTTP body, null if none
314
* @param bodyLength length of body, must be 0 if
bodyProvider
is null
319
InputStream
bodyProvider
, int bodyLength) {
333
req = new Request(method, httpHost, mProxyHost, uri.getPath(),
bodyProvider
,
344
this, url, uri, method, headers,
bodyProvider
, bodyLength,
372
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 336 milliseconds