Searched refs:HTTP_NOT_MODIFIED (Results 1 – 15 of 15) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheTest.java | 973 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 975 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 992 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding() 1022 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled() 1267 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition() 1277 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, response.code()); in assertClientSuppliedCondition() 1303 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat() 1319 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult() 1326 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, response.code()); in clientSuppliedConditionWithoutCachedResult() 1365 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess() [all …]
|
D | CallTest.java | 1170 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit() 1228 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit_Async()
|
D | URLConnectionTest.java | 3130 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) 3135 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 805 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 806 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 823 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding() 850 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHitIsNotDoublePooled() 1026 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition() 1033 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 1077 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat() 1092 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult() 1097 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1164 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess() [all …]
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | NetworkUtility.java | 70 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse() 79 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse()
|
D | BasicNetwork.java | 108 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in performRequest()
|
D | BasicAsyncNetwork.java | 77 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in onRequestSucceeded()
|
D | HurlStack.java | 144 && responseCode != HttpURLConnection.HTTP_NOT_MODIFIED; in hasResponseBody()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 927 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 929 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertNonIdentityEncodingCached() 946 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED) in notModifiedSpecifiesEncoding() 1156 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in assertClientSuppliedCondition() 1163 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in assertClientSuppliedCondition() 1189 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in retainServedDateFormat() 1205 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in clientSuppliedConditionWithoutCachedResult() 1210 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection.getResponseCode()); in clientSuppliedConditionWithoutCachedResult() 1246 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in connectionIsReturnedToPoolAfterConditionalSuccess() 1478 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in cachePlusCookies() [all …]
|
/external/volley/src/test/java/com/android/volley/toolbox/ |
D | BasicAsyncNetworkTest.java | 137 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified() 173 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified_legacyCache() 419 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModifiedShortCircuit()
|
D | BasicNetworkTest.java | 103 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified() 137 HttpResponse fakeResponse = new HttpResponse(HttpURLConnection.HTTP_NOT_MODIFIED, headers); in notModified_legacyCache()
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/ |
D | HttpEngine.java | 63 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED; 508 && responseCode != HTTP_NOT_MODIFIED) { in hasBody() 838 if (network.code() == HTTP_NOT_MODIFIED) { in validate()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 62 import static java.net.HttpURLConnection.HTTP_NOT_MODIFIED; 497 && responseCode != HTTP_NOT_MODIFIED) { in hasBody() 825 if (network.code() == HTTP_NOT_MODIFIED) { in validate()
|
/external/libcups/cups/ |
D | http.h | 306 # define HTTP_NOT_MODIFIED HTTP_STATUS_NOT_MODIFIED macro
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 344 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()
|