Home
last modified time | relevance | path

Searched refs:getHost (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/net/
DWebAddressTest.java29 assertEquals("google.com.", webAddress.getHost()); in testHostWithTrailingDot()
37 assertEquals("www.myspace.com", webAddress.getHost()); in testPathWithoutLeadingSlash()
DUriTest.java81 assertNull(u.getHost()); in testBuildUponOpaqueStringUri()
168 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
173 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
182 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
186 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
290 assertEquals("google.com.", uri.getHost()); in testHostWithTrailingDot()
387 assertNull(uri.getHost()); in testOpaqueUri()
/frameworks/base/core/java/android/net/
DProxyProperties.java76 mHost = source.getHost(); in ProxyProperties()
96 public String getHost() { in getHost() method in ProxyProperties
131 String urlDomain = u.getHost(); in isExcluded()
198 if (mHost != null && p.getHost() != null && mHost.equals(p.getHost()) == false) { in equals()
DPacProxySelector.java70 urlString = uri.getHost(); in select()
73 response = mProxyService.resolvePacFile(uri.getHost(), urlString); in select()
DProxy.java104 host = uri.getHost(); in getProxy()
135 public static final String getHost(Context ctx) { in getHost() method in Proxy
320 host = p.getHost(); in setHttpProxySystemProperty()
DWebAddress.java151 public String getHost() { in getHost() method in WebAddress
DUri.java245 public abstract String getHost(); in getHost() method in Uri
926 public String getHost() { in getHost() method in Uri.OpaqueUri
1070 public String getHost() { in getHost() method in Uri.AbstractHierarchicalUri
/frameworks/base/core/java/android/net/http/
DRequestQueue.java184 return mIdleCache.cacheConnection(connection.getHost(), connection); in recycleConnection()
267 String host = Proxy.getHost(mContext); in setProxyConfig()
330 HttpHost httpHost = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); in queueRequest()
378 HttpHost host = new HttpHost(uri.getHost(), uri.getPort(), uri.getScheme()); in queueSynchronousRequest()
DConnection.java115 HttpHost getHost() { in getHost() method in Connection
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java129 mProfile.mDomain = mUri.getHost(); in Builder()
287 mProfile.mProxyAddress = uri.getHost(); in build()
/frameworks/base/tests/CoreTests/android/core/
DProxyTest.java38 String proxyHost = Proxy.getHost(mContext); in setUp()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java81 public InetAddress getHost() { in getHost() method in NsdServiceInfo
/frameworks/base/core/java/android/webkit/
DURLUtil.java79 if (webAddress.getHost().indexOf('.') == -1) { in guessUrl()
81 webAddress.setHost("www." + webAddress.getHost() + ".com"); in guessUrl()
DJsDialogHelper.java168 alertUrl.getProtocol() + "://" + alertUrl.getHost()); in getJsDialogTitle()
/frameworks/base/services/java/com/android/server/location/
DGpsXtraDownloader.java82 String proxyHost = Proxy.getHost(mContext); in downloadXtraData()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java97 host = url.getHost(); in run()
/frameworks/volley/src/com/android/volley/
DRequest.java129 mDefaultTrafficStatsTag = TextUtils.isEmpty(url) ? 0: Uri.parse(url).getHost().hashCode(); in Request()
/frameworks/base/services/java/com/android/server/firewall/
DStringFilter.java321 return data.getHost();
/frameworks/base/core/java/android/content/
DIntentFilter.java676 public String getHost() { in getHost() method in IntentFilter.AuthorityEntry
695 String host = data.getHost(); in match()
1324 serializer.attribute(null, HOST_STR, ae.getHost()); in writeToXml()
/frameworks/base/services/java/com/android/server/
DConnectivityService.java3455 if (proxyProperties != null && (!TextUtils.isEmpty(proxyProperties.getHost()) || in setGlobalProxy()
3463 host = mGlobalProxy.getHost(); in setGlobalProxy()
3527 if (proxy != null && TextUtils.isEmpty(proxy.getHost()) in handleApplyDefaultProxy()
4246 String orgUriHost = mOrgUri.getHost(); in verify()
4407 addresses = InetAddress.getAllByName(orgUri.getHost()); in isMobileOk()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java361 filter.addDataAuthority(a.getHost(), in onIntentSelected()
/frameworks/base/services/java/com/android/server/pm/
DSettings.java1987 if (auth.getHost() != null) { in applyDefaultPreferredActivityLPw()
1988 builder.authority(auth.getHost()); in applyDefaultPreferredActivityLPw()
2001 if (auth.getHost() != null) { in applyDefaultPreferredActivityLPw()
2002 builder.authority(auth.getHost()); in applyDefaultPreferredActivityLPw()
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd.jd315 InetAddress host = mService.getHost();
/frameworks/base/docs/html/guide/webapps/
Dwebview.jd266 if (Uri.parse(url).getHost().equals("www.example.com")) {
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfigStore.java870 out.writeUTF(proxyProperties.getHost()); in onWriteCalled()

12