OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:setResponseCode
(Results
1 - 25
of
33
) sorted by null
1
2
/frameworks/av/media/mtp/
MtpResponsePacket.h
42
inline void
setResponseCode
(MtpResponseCode code)
/external/mockwebserver/src/main/java/com/google/mockwebserver/
QueueDispatcher.java
37
.
setResponseCode
(HttpURLConnection.HTTP_NOT_FOUND);
61
? new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_NOT_FOUND)
MockResponse.java
77
public MockResponse
setResponseCode
(int code) {
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
QueueDispatcher.java
35
return new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_NOT_FOUND);
59
? new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_NOT_FOUND)
MockResponse.java
68
public MockResponse
setResponseCode
(int code) {
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketCallTest.java
142
.
setResponseCode
(101)
152
.
setResponseCode
(101)
163
.
setResponseCode
(101)
173
.
setResponseCode
(101)
184
.
setResponseCode
(101)
194
.
setResponseCode
(101)
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
OkUrlFactoryTest.java
46
server.enqueue(new MockResponse().
setResponseCode
(407));
65
server.enqueue(new MockResponse().
setResponseCode
(404));
76
server.enqueue(new MockResponse().
setResponseCode
(304));
132
.
setResponseCode
(302)
UrlConnectionCacheTest.java
170
.
setResponseCode
(responseCode)
285
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
305
server.enqueue(new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
330
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
371
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
686
server.enqueue(new MockResponse().setBody("B").
setResponseCode
(500));
763
.
setResponseCode
(HttpURLConnection.HTTP_PARTIAL)
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CacheTest.java
161
.
setResponseCode
(responseCode)
286
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
312
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
345
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
391
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
435
.
setResponseCode
(responseCode)
453
.
setResponseCode
(responseCode)
794
.
setResponseCode
(500));
[
all
...]
URLConnectionTest.java
324
server.enqueue(new MockResponse().
setResponseCode
(404).setBody("A"));
[
all
...]
CallTest.java
164
server.enqueue(new MockResponse().
setResponseCode
(500));
313
server.enqueue(new MockResponse().
setResponseCode
(401));
340
server.enqueue(new MockResponse().
setResponseCode
(401));
355
server.enqueue(new MockResponse().
setResponseCode
(401));
[
all
...]
InterceptorTest.java
79
server.enqueue(new MockResponse().
setResponseCode
(500));
133
server.enqueue(new MockResponse().
setResponseCode
(500));
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
ThreadingTest.java
56
enqueueResponse(new MockResponse().
setResponseCode
(HTTP_OK).setBody(body)
AbstractDownloadProviderFunctionalTest.java
230
return new MockResponse().
setResponseCode
(status).setBody(body)
236
return new MockResponse().
setResponseCode
(status).setBody(body)
StorageTest.java
220
final MockResponse resp = new MockResponse().
setResponseCode
(200)
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
ResponseCacheTest.java
187
.
setResponseCode
(responseCode)
293
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
314
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
341
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
385
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_PERM)
426
.
setResponseCode
(responseCode)
444
.
setResponseCode
(responseCode)
781
.
setResponseCode
(500));
[
all
...]
/frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java
64
.
setResponseCode
(200)
114
.
setResponseCode
(200)
156
.
setResponseCode
(200)
/libcore/support/src/test/java/tests/http/
MockResponse.java
61
public MockResponse
setResponseCode
(int code) {
/libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java
323
server.enqueue(new MockResponse().
setResponseCode
(404).setBody("A"));
[
all
...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
HttpOverSpdyTest.java
216
server.enqueue(new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_UNAUTHORIZED)
234
server.enqueue(new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_MOVED_TEMP)
344
server.enqueue(new MockResponse().
setResponseCode
(HttpURLConnection.HTTP_NOT_MODIFIED));
CookiesTest.java
224
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_TEMP)
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/
OkApacheClientTest.java
57
server.enqueue(new MockResponse().
setResponseCode
(302).addHeader("Location", "/foo"));
67
server.enqueue(new MockResponse().
setResponseCode
(422));
/external/mockwebserver/src/test/java/com/google/mockwebserver/
MockWebServerTest.java
120
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_TEMP)
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java
[
all
...]
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java
99
.
setResponseCode
(HttpURLConnection.HTTP_MOVED_TEMP)
Completed in 782 milliseconds
1
2