Home
last modified time | relevance | path

Searched refs:HTTP_NOT_MODIFIED (Results 1 – 23 of 23) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java973 .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 …]
DCallTest.java1194 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit()
1252 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCacheHit_Async()
DURLConnectionTest.java3152 .setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)
3157 assertEquals(HttpURLConnection.HTTP_NOT_MODIFIED, connection1.getResponseCode());
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java805 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/core/src/main/java/com/android/volley/toolbox/
DNetworkUtility.java70 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse()
79 HttpURLConnection.HTTP_NOT_MODIFIED, in getNotModifiedNetworkResponse()
DBasicNetwork.java109 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in performRequest()
DBasicAsyncNetwork.java83 if (statusCode == HttpURLConnection.HTTP_NOT_MODIFIED) { in onRequestSucceeded()
DHurlStack.java144 && responseCode != HttpURLConnection.HTTP_NOT_MODIFIED; in hasResponseBody()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java927 .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/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DHttpEngine.java63 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/
DHttpEngine.java62 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/volley/core/src/test/java/com/android/volley/toolbox/
DBasicAsyncNetworkTest.java137 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()
DBasicNetworkTest.java103 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/cronet/net/http/
Dhttp_cache_transaction.cc1573 DCHECK_NE(response_.headers->response_code(), net::HTTP_NOT_MODIFIED); in DoDoneHeadersAddToEntryComplete()
2060 if (new_response->headers->response_code() == net::HTTP_NOT_MODIFIED || in DoSuccessfulSendRequest()
2239 bool is_match = response_.headers->response_code() == net::HTTP_NOT_MODIFIED; in DoCacheWriteResponse()
3341 if (response_code == net::HTTP_NOT_MODIFIED) { in ValidatePartialResponse()
3369 if (response_code == net::HTTP_NOT_MODIFIED && in ValidatePartialResponse()
3389 (!truncated_ && response_code != net::HTTP_NOT_MODIFIED && in ValidatePartialResponse()
4091 headers.response_code() != net::HTTP_NOT_MODIFIED && in ShouldDisableCaching()
Dpartial_data.cc291 if (headers->response_code() == net::HTTP_NOT_MODIFIED) { in ResponseHeadersOK()
Dhttp_cache_writers.cc52 response_info->headers->response_code() != net::HTTP_NOT_MODIFIED)) { in IsValidResponseForWriter()
Dhttp_stream_parser.cc1076 case net::HTTP_NOT_MODIFIED: // Not Modified in CalculateResponseBodySize()
Dhttp_response_headers.cc268 DCHECK(new_headers.response_code() == net::HTTP_NOT_MODIFIED || in Update()
Dhttp_network_transaction.cc1275 response_code == HTTP_NOT_MODIFIED || request_->method == "HEAD" || in DoReadHeadersComplete()
/external/libcups/cups/
Dhttp.h306 # define HTTP_NOT_MODIFIED HTTP_STATUS_NOT_MODIFIED macro
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java344 server.enqueue(new MockResponse().setResponseCode(HttpURLConnection.HTTP_NOT_MODIFIED)); in conditionalCache()
/external/cronet/net/test/embedded_test_server/
Ddefault_handlers.cc508 http_response->set_code(HTTP_NOT_MODIFIED); in HandleAuthBasic()
/external/ow2-asm/tools/retrofitter/src/main/resources/
Djdk1.5.0.12.txt.gz