HomeSort by relevance Sort by last modified time
    Searched refs:NETWORK (Results 1 - 23 of 23) 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;
HttpResponseCache.java 73 * <li><strong>{@link #getNetworkCount() Network Count:}</strong> the
74 * number of those requests that required network use.
82 * valid. Such responses increment both the network count and hit count.
89 * <h3>Force a Network Response</h3>
381 case NETWORK:
  /external/chromium/chrome/common/
translate_errors.h 15 NETWORK, // No connectivity.
  /external/chromium_org/chrome/common/translate/
translate_errors.h 17 NETWORK, // No connectivity.
  /external/chromium_org/content/public/common/
speech_recognition_error_list.h 21 // There was a network error.
22 DEFINE_SPEECH_RECOGNITION_ERROR(NETWORK, 3)
  /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);
159 disableProvider(NETWORK);
193 enableProvider(NETWORK, networkInterval);
195 disableProvider(NETWORK);
267 } else if (NETWORK.equals(location.getProvider())) {
302 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 106 // network
107 String network = tm.getNetworkOperatorName(); local
108 addResult(NETWORK, network.trim());
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
ResponseHeaders.java 102 * actually means "do not use the network". It is set by a client who only
341 // Always go to network for uncacheable response codes (RFC 2616, 13.4),
393 return ResponseSource.NETWORK;
397 return ResponseSource.NETWORK;
438 return request.hasConditions() ? ResponseSource.CONDITIONAL_CACHE : ResponseSource.NETWORK;
443 * network response should be used.
450 // The HTTP spec says that if the network's response is older than our
463 * Combines this cached header with a network header as defined by RFC 2616,
466 public ResponseHeaders combine(ResponseHeaders network) throws IOException {
476 if (!isEndToEnd(fieldName) || network.headers.get(fieldName) == null)
    [all...]
HttpEngine.java 71 * network, or by both in the event of a conditional GET.
126 /** Null until a response is received from the network or the cache. */
191 // The raw response source may require the network, but the request
192 // headers may forbid network use. In that case, dispose of the network
215 * request headers forbids network use.
218 responseSource = ResponseSource.NETWORK;
246 } else if (responseSource == ResponseSource.NETWORK) {
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
SpeechRecognition.java 110 code = SpeechRecognitionError.NETWORK;
  /external/chromium_org/chrome/browser/translate/
translate_manager.cc 680 request.target_lang, TranslateErrors::NETWORK, profile->GetPrefs(),
687 error_details.error = TranslateErrors::NETWORK;
translate_infobar_delegate.cc 230 case TranslateErrors::NETWORK:
  /external/chromium/chrome/browser/translate/
translate_infobar_delegate.cc 207 case TranslateErrors::NETWORK:
translate_manager.cc 340 TranslateErrors::NETWORK, tab,
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java     [all...]
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 454 milliseconds