OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:buildResponse
(Results
1 - 9
of
9
) sorted by null
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
ThreadingTest.java
49
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
DownloadProviderFunctionalTest.java
50
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
67
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
79
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
80
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
AbstractDownloadProviderFunctionalTest.java
222
MockResponse
buildResponse
(int status, String body) {
228
MockResponse
buildResponse
(int status, byte[] body) {
235
return
buildResponse
(status, "");
PublicApiFunctionalTest.java
79
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
180
MockResponse response =
buildResponse
(status, FILE_CONTENT.substring(start, end))
196
return
buildResponse
(HTTP_OK, STRING_1K)
244
enqueueResponse(
buildResponse
(HTTP_OK, "small contents"));
245
enqueueResponse(
buildResponse
(HTTP_OK, "large contents large contents"));
304
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
347
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
348
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
447
enqueueResponse(
buildResponse
(HTTP_OK, FILE_CONTENT));
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapTestUtils.java
75
public static final ImapResponse
buildResponse
(String tag, boolean isContinuationRequest,
ImapResponseParserTest.java
21
import static com.android.email.mail.store.imap.ImapTestUtils.
buildResponse
;
86
assertElement(
buildResponse
(null, false,
96
assertElement(
buildResponse
("100", false,
102
assertElement(
buildResponse
(null, true,
107
assertElement(
buildResponse
(null, false,
118
assertElement(
buildResponse
("101", false,
124
assertElement(
buildResponse
("102", false,
130
assertElement(
buildResponse
(null, false,
136
assertElement(
buildResponse
("103", false,
141
assertElement(
buildResponse
(null, false
[
all
...]
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java
87
enqueueResponse(
buildResponse
(HTTP_OK, blobData));
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));
271
final MockResponse resp =
buildResponse
(HTTP_REDIRECT);
284
enqueueResponse(
buildResponse
(HTTP_PARTIAL_CONTENT));
295
final MockResponse resp =
buildResponse
(HTTP_REDIRECT);
329
enqueueResponse(
buildResponse
(HTTP_OK, blobData));
361
enqueueResponse(
buildResponse
(HTTP_OK, blobData));
391
final MockResponse resp =
buildResponse
(HTTP_OK, blobData)
[
all
...]
DownloadManagerBaseTest.java
253
protected MockResponse
buildResponse
(int status) {
266
protected MockResponse
buildResponse
(int status, byte[] body) {
267
return
buildResponse
(status).setBody(body);
277
protected MockResponse
buildResponse
(int status, File bodyFile)
280
return
buildResponse
(status).setBody(body);
[
all
...]
Completed in 238 milliseconds