/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
RecordingOkAuthenticator.java | 28 public final List<Proxy> proxies = new ArrayList<Proxy>(); field in class:RecordingOkAuthenticator 46 if (proxies.size() != 1) throw new IllegalStateException(); 47 return proxies.get(0); 54 proxies.add(proxy); 62 proxies.add(proxy);
|
/external/chromium-libpac/test/ |
proxy_resolver_v8_unittest.cc | 157 std::vector<std::string> proxies = string16ToProxyList(kResults); local 158 EXPECT_EQ(proxies.size(), 1U); 159 EXPECT_EQ("DIRECT",proxies[0]); 173 std::vector<std::string> proxies = string16ToProxyList(kResults); local 174 EXPECT_EQ(proxies.size(), 0U); 193 std::vector<std::string> proxies = string16ToProxyList(kResults); local 194 EXPECT_EQ(1U, proxies.size()); 195 EXPECT_EQ("http.query.com.path.query.com", proxies[0]); 205 std::vector<std::string> proxies = string16ToProxyList(kResults); local 206 EXPECT_EQ(1U, proxies.size()) 290 std::vector<std::string> proxies = string16ToProxyList(kResults); local 304 std::vector<std::string> proxies = string16ToProxyList(kResults); local 352 std::vector<std::string> proxies = string16ToProxyList(kResults); local 405 std::vector<std::string> proxies = string16ToProxyList(kResults); local 453 std::vector<std::string> proxies = string16ToProxyList(kResults); local 478 std::vector<std::string> proxies = string16ToProxyList(kResults); local 497 std::vector<std::string> proxies = string16ToProxyList(kResults); local 515 std::vector<std::string> proxies = string16ToProxyList(kResults); local 531 std::vector<std::string> proxies = string16ToProxyList(kResults); local [all...] |
/external/chromium_org/tools/chrome_proxy/integration_tests/ |
chrome_proxy_metrics.js | 11 var PROXY_VIEW_BAD_PROXIES_ID = 'proxy-view-bad-proxies-div'; 12 var PROXY_VIEW_BAD_PROXIES_TBODY = 'proxy-view-bad-proxies-tbody'; 34 // Returns an array of bad proxies. Each element is a bad proxy with 64 info.proxies = getEffectiveProxies(document); 65 info.enabled = (info.proxies.length > 1 && 66 info.proxies[info.proxies.length - 1] == 'direct://' && 67 info.proxies[info.proxies.length - 2] != 'direct://');
|
chrome_proxy_metrics.py | 174 """ Returns True if all configured proxies are bypassed.""" 185 proxies = [self.effective_proxies['proxy'], 187 proxies.sort() 191 if bad_proxies == proxies: 192 return True, proxies 206 # Check all expected proxies. 207 proxies = [p['proxy'] for p in badProxies] 209 proxies.sort() 210 if not expected_proxies == proxies: 212 'Bad proxies: got %s want %s' % [all...] |
/external/apache-http/src/org/apache/http/conn/routing/ |
HttpRoute.java | 91 * @param proxies the proxy chain to use, or 101 HttpHost target, HttpHost[] proxies, 108 if ((tunnelled == TunnelType.TUNNELLED) && (proxies == null)) { 121 this.proxyChain = proxies; 134 * @param proxies the proxy chain to use, or 141 public HttpRoute(HttpHost target, InetAddress local, HttpHost[] proxies, 143 this(local, target, toChain(proxies), secure, tunnelled, layered); 239 * @param proxies the proxy chain to duplicate, or <code>null</code> 243 private static HttpHost[] toChain(HttpHost[] proxies) { 244 if ((proxies == null) || (proxies.length < 1) [all...] |
RouteTracker.java | 75 /** Whether the the route is tunnelled end-to-end through proxies. */ 190 HttpHost[] proxies = new HttpHost[this.proxyChain.length+1]; local 192 proxies, 0, this.proxyChain.length); 193 proxies[proxies.length-1] = proxy; 195 this.proxyChain = proxies; 350 // comparison of actual proxies follows below 357 // chain length has been compared above, now check the proxies
|
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 208 List<Proxy> proxies = psel.select(targetURI); local 210 Proxy p = chooseProxy(proxies, target, request, context); 250 * Chooses a proxy from a list of available proxies. 252 * from the list. If there are only SOCKS proxies, 257 * @param proxies the list of proxies to choose from, 266 protected Proxy chooseProxy(List<Proxy> proxies, 271 if ((proxies == null) || proxies.isEmpty()) { 279 for (int i=0; (result == null) && (i < proxies.size()); i++) [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/regress/ |
regress-405844.js | 5 // Flags: --harmony-proxies
|
regress-lookup-transition.js | 5 // Flags: --harmony-proxies --expose-gc
|
/external/chromium_org/v8/test/mjsunit/runtime-gen/ |
loadfromsuper.js | 3 // Flags: --allow-natives-syntax --harmony --harmony-proxies
|
/external/chromium_org/chrome/browser/net/spdyproxy/ |
data_reduction_proxy_chrome_configurator.cc | 38 std::vector<std::string> proxies; local 43 proxies.push_back(trimmed_primary); 49 proxies.push_back(trimmed_fallback); 51 if (proxies.empty()) { 64 std::string server = "http=" + JoinString(proxies, ",") + ",direct://;"
|
/external/chromium_org/components/data_reduction_proxy/browser/ |
data_reduction_proxy_config_service.cc | 135 std::vector<std::string> proxies; local 140 proxies.push_back(trimmed_primary); 146 proxies.push_back(trimmed_fallback); 148 if (proxies.empty()) { 157 std::string server = "http=" + JoinString(proxies, ",") + ",direct://;"
|
data_reduction_proxy_settings_unittest.cc | 54 DataReductionProxyParams::DataReductionProxyList proxies = local 58 EXPECT_EQ(expected_proxy_size, proxies.size()); 65 EXPECT_EQ(expected_origin.host(), proxies[0].host()); 66 EXPECT_EQ(expected_origin.port() ,proxies[0].EffectiveIntPort()); 67 EXPECT_EQ(expected_fallback_origin.host(), proxies[1].host()); 68 EXPECT_EQ(expected_fallback_origin.port(), proxies[1].EffectiveIntPort());
|
/external/chromium_org/net/android/javatests/src/org/chromium/net/ |
AndroidProxySelectorTest.java | 45 // java.net.Proxy only knows about http and socks proxies. 61 static String toString(List<Proxy> proxies) { 63 for (Proxy proxy : proxies) { 73 List<Proxy> proxies = ProxySelector.getDefault().select(uri); local 74 assertEquals("Mapping", expected, toString(proxies));
|
/prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/ |
org.eclipse.core.net_1.2.200.v20130430-1352.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/ |
org.eclipse.core.net_1.2.200.v20130430-1352.jar | |
/external/chromium_org/net/proxy/ |
proxy_resolver_mac.cc | 47 // to a CFTypeRef. This stashes either |error| or |proxies| in that location. 48 void ResultCallback(void* client, CFArrayRef proxies, CFErrorRef error) { 49 DCHECK((proxies != NULL) == (error == NULL)); 58 *result_ptr = CFRetain(proxies);
|
proxy_config.cc | 17 // If |proxies| is non-empty, sets it in |dict| under the key |name|. 19 const ProxyList& proxies, 21 if (!proxies.IsEmpty()) 22 dict->Set(name, proxies.ToValue()); 102 // this is a regular proxy server configuration, i.e. proxies
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5BytestreamManager.java | 156 /* blacklist of errornous SOCKS5 proxies */
401 * Proxy could be found, if the user couldn't connect to any of the SOCKS5 Proxies
419 * Proxy could be found, if the user couldn't connect to any of the SOCKS5 Proxies
432 List<String> proxies = new ArrayList<String>();
local 433 // determine SOCKS5 proxies from XMPP-server
435 proxies.addAll(determineProxies());
443 List<StreamHost> streamHosts = determineStreamHostInfos(proxies);
446 throw discoveryException != null ? discoveryException : new XMPPException("no SOCKS5 proxies available");
531 * Returns a list of JIDs of SOCKS5 proxies by querying the XMPP server. The SOCKS5 proxies are 540 List<String> proxies = new ArrayList<String>(); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
RouteSelectorTest.java | 168 proxySelector.proxies = null; 204 proxySelector.proxies.add(proxyA); 205 proxySelector.proxies.add(proxyB); 240 proxySelector.proxies.add(NO_PROXY); 259 proxySelector.proxies.add(proxyA); 260 proxySelector.proxies.add(proxyB); 261 proxySelector.proxies.add(proxyA); 328 proxySelector.proxies.add(proxyA); 329 proxySelector.proxies.add(proxyB); 462 List<Proxy> proxies = new ArrayList<Proxy>() field in class:RouteSelectorTest.FakeProxySelector [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
proxies-with-unscopables.js | 5 // Flags: --harmony-proxies 8 // TODO(arv): Once proxies can intercept symbols, add more tests.
|
/external/chromium_org/chrome/browser/chromeos/ |
proxy_config_service_impl_unittest.cc | 356 // proxies respectively. Only valid and non-direct test inputs are used. 357 const size_t proxies[][3] = { local 379 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(proxies); ++i) { 380 const TestParams& managed_params = tests[proxies[i][0]]; 381 const TestParams& recommended_params = tests[proxies[i][1]]; 382 const TestParams& network_params = tests[proxies[i][2]];
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urllib.py | 72 def urlopen(url, data=None, proxies=None): 79 if proxies is not None: 80 opener = FancyURLopener(proxies=proxies) 129 def __init__(self, proxies=None, **x509): 130 if proxies is None: 131 proxies = getproxies() 132 assert hasattr(proxies, 'has_key'), "proxies must be a mapping" 133 self.proxies = proxie [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urllib.py | 72 def urlopen(url, data=None, proxies=None): 79 if proxies is not None: 80 opener = FancyURLopener(proxies=proxies) 129 def __init__(self, proxies=None, **x509): 130 if proxies is None: 131 proxies = getproxies() 132 assert hasattr(proxies, 'has_key'), "proxies must be a mapping" 133 self.proxies = proxie [all...] |
/external/chromium_org/content/renderer/ |
render_frame_proxy.cc | 83 RoutingIDProxyMap* proxies = g_routing_id_proxy_map.Pointer(); local 84 RoutingIDProxyMap::iterator it = proxies->find(routing_id); 85 return it == proxies->end() ? NULL : it->second;
|