OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:enqueueResponse
(Results
1 - 8
of
8
) sorted by null
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
PublicApiFunctionalTest.java
107
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
144
enqueueResponse
(new MockStreamResponse().setResponseCode(HTTP_OK).setBody(body, length)
175
enqueueResponse
(buildEmptyResponse(HTTP_NOT_FOUND));
180
enqueueResponse
(buildEmptyResponse(1234)); // some invalid HTTP status
217
enqueueResponse
(buildPartialResponse(0, initialLength));
219
enqueueResponse
(buildPartialResponse(initialLength, FILE_CONTENT.length()));
249
enqueueResponse
(buildEmptyResponse(HTTP_OK));
250
enqueueResponse
(buildEmptyResponse(HTTP_NOT_FOUND));
290
enqueueResponse
(buildResponse(HTTP_OK, "small contents"));
291
enqueueResponse
(buildResponse(HTTP_OK, "large contents large contents"))
[
all
...]
ThreadingTest.java
53
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
67
enqueueResponse
(new MockResponse().setResponseCode(HTTP_OK).setBody(body)
DownloadProviderFunctionalTest.java
54
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
71
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
83
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
84
enqueueResponse
(buildResponse(HTTP_OK, FILE_CONTENT));
AbstractDownloadProviderFunctionalTest.java
220
void
enqueueResponse
(MockResponse resp) {
224
void
enqueueResponse
(MockStreamResponse resp) {
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerFunctionalTest.java
154
enqueueResponse
(buildResponse(HTTP_OK, blobData));
193
enqueueResponse
(buildResponse(HTTP_OK, blobData));
224
enqueueResponse
(buildResponse(HTTP_OK, blobData));
251
enqueueResponse
(buildResponse(HTTP_OK, blobData));
273
enqueueResponse
(resp);
284
enqueueResponse
(buildResponse(HTTP_PARTIAL_CONTENT));
297
enqueueResponse
(resp);
329
enqueueResponse
(buildResponse(HTTP_OK, blobData));
361
enqueueResponse
(buildResponse(HTTP_OK, blobData));
393
enqueueResponse
(resp)
[
all
...]
DownloadManagerStressTest.java
87
enqueueResponse
(buildResponse(HTTP_OK, blobData));
DownloadManagerBaseTest.java
284
protected void
enqueueResponse
(MockResponse resp) {
[
all
...]
/external/okhttp/src/test/java/com/squareup/okhttp/internal/mockspdyserver/
MockSpdyServer.java
144
dispatcher.
enqueueResponse
(response);
Completed in 110 milliseconds