HomeSort by relevance Sort by last modified time
    Searched defs:getPreferredHttpHost (Results 1 - 2 of 2) sorted by null

  /frameworks/base/tests/CoreTests/android/core/
ProxyTest.java 54 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, null));
55 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, ""));
56 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:"));
57 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad"));
58 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad:\\"));
59 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "bad://#"));
60 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "://#"));
67 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "http://"));
68 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "http://example.com"));
69 assertEquals(mHttpHost, Proxy.getPreferredHttpHost(mContext, "http://example.com/"))
    [all...]
  /frameworks/base/core/java/android/net/
Proxy.java 206 public static final HttpHost getPreferredHttpHost(Context context,
291 return getPreferredHttpHost(mContext, target.getHostName());
297 HttpHost proxy = getPreferredHttpHost(mContext, target.getHostName());

Completed in 37 milliseconds