HomeSort by relevance Sort by last modified time
    Searched refs:NETWORK (Results 1 - 20 of 20) sorted by null

  /external/okhttp/src/main/java/com/squareup/okhttp/
ResponseSource.java 26 * network. The cache result will be used if it is still valid; otherwise
27 * the network's response will be used.
31 /** The response was returned from the network. */
32 NETWORK;
35 return this == CONDITIONAL_CACHE || this == NETWORK;
  /libcore/luni/src/main/java/java/net/
ResponseSource.java 33 * the cache is valid and the network response otherwise.
38 * Return the response from the network.
40 NETWORK;
43 return this == CONDITIONAL_CACHE || this == NETWORK;
  /external/chromium/chrome/common/
translate_errors.h 15 NETWORK, // No connectivity.
  /frameworks/base/core/java/android/webkit/
DebugFlags.java 38 public static final boolean NETWORK = false;
  /frameworks/base/packages/FusedLocation/src/com/android/location/fused/
FusionEngine.java 44 private static final String NETWORK = LocationManager.NETWORK_PROVIDER;
76 mStats.put(NETWORK, new ProviderStats());
77 mStats.get(NETWORK).available = mLocationManager.isProviderEnabled(NETWORK);
157 disableProvider(NETWORK);
191 enableProvider(NETWORK, networkInterval);
193 disableProvider(NETWORK);
265 } else if (NETWORK.equals(location.getProvider())) {
300 s.append(" ").append(mStats.get(NETWORK)).append('\n');
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoConstants.java 37 public static final String NETWORK = "network";
DeviceInfoInstrument.java 102 // network
103 String network = tm.getNetworkOperatorName(); local
104 addResult(NETWORK, network.trim());
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
ResponseHeaders.java 95 * actually means "do not use the network". It is set by a client who only
326 // Always go to network for uncacheable response codes (RFC 2616, 13.4),
378 return ResponseSource.NETWORK;
382 return ResponseSource.NETWORK;
422 return request.hasConditions() ? ResponseSource.CONDITIONAL_CACHE : ResponseSource.NETWORK;
427 * network response should be used.
434 // The HTTP spec says that if the network's response is older than our
447 * Combines this cached header with a network header as defined by RFC 2616,
450 public ResponseHeaders combine(ResponseHeaders network) throws IOException {
460 if (!isEndToEnd(fieldName) || network.headers.get(fieldName) == null)
    [all...]
HttpEngine.java 69 * network, or by both in the event of a conditional GET.
120 /** Null until a response is received from the network or the cache. */
183 // The raw response source may require the network, but the request
184 // headers may forbid network use. In that case, dispose of the network
207 * request headers forbids network use.
210 responseSource = ResponseSource.NETWORK;
239 } else if (responseSource == ResponseSource.NETWORK) {
HttpResponseCache.java 257 case NETWORK:
  /libcore/luni/src/main/java/libcore/net/http/
ResponseHeaders.java 95 * actually means "do not use the network". It is set by a client who only
330 * Always go to network for uncacheable response codes (RFC 2616, 13.4),
392 return ResponseSource.NETWORK;
396 return ResponseSource.NETWORK;
439 : ResponseSource.NETWORK;
444 * network response should be used.
452 * The HTTP spec says that if the network's response is older than our
466 * Combines this cached header with a network header as defined by RFC 2616,
469 public ResponseHeaders combine(ResponseHeaders network) {
479 if (!isEndToEnd(fieldName) || network.headers.get(fieldName) == null)
    [all...]
HttpEngine.java 64 * network, or by both in the event of a conditional GET.
158 /** Null until a response is received from the network or the cache */
224 * The raw response source may require the network, but the request
225 * headers may forbid network use. In that case, dispose of the network
249 * request headers forbids network use.
252 responseSource = ResponseSource.NETWORK;
281 } else if (responseSource == ResponseSource.NETWORK) {
669 * Returns the headers to send on a network request.
HttpResponseCache.java 241 case NETWORK:
  /external/chromium/chrome/browser/translate/
translate_infobar_delegate.cc 207 case TranslateErrors::NETWORK:
translate_manager.cc 340 TranslateErrors::NETWORK, tab,
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 

Completed in 313 milliseconds