Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/net/
DPacProxySelector.java75 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
79 urlString = uri.getHost(); in select()
81 urlString = uri.getHost(); in select()
84 response = mProxyService.resolvePacFile(uri.getHost(), urlString); in select()
DProxyInfo.java154 mHost = source.getHost(); in ProxyInfo()
187 public String getHost() { in getHost() method in ProxyInfo
286 if (mHost != null && p.getHost() != null && mHost.equals(p.getHost()) == false) { in equals()
DProxy.java133 public static final String getHost(Context ctx) { in getHost() method in Proxy
243 host = p.getHost(); in setHttpProxySystemProperty()
DWebAddress.java160 public String getHost() { in getHost() method in WebAddress
DUri.java248 public abstract String getHost(); in getHost() method in Uri
389 ssp = "//" + ((getHost() != null) ? getHost() : "") in toSafeString()
934 public String getHost() { in getHost() method in Uri.OpaqueUri
1078 public String getHost() { in getHost() method in Uri.AbstractHierarchicalUri
/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.java83 assertNull(u.getHost()); in testBuildUponOpaqueStringUri()
170 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
175 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
184 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
188 assertEquals("localhost", uri.getHost()); in testAuthorityParsing()
292 assertEquals("google.com.", uri.getHost()); in testHostWithTrailingDot()
389 assertNull(uri.getHost()); in testOpaqueUri()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, ""); in WebAsset()
57 return mUrl.getHost(); in getDomain()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUSocketFactory.java110 if (OSUManager.R2_MOCK && url.getHost().endsWith(".wi-fi.org")) { in OSUSocketFactory()
115 InetAddress[] remotes = mNetwork.getAllByName(url.getHost()); in OSUSocketFactory()
116 android.util.Log.d(OSUManager.TAG, "'" + url.getHost() + "' resolves to " + in OSUSocketFactory()
169 String fqdn = url.getHost(); in getOSUCertificate()
/frameworks/base/core/java/android/webkit/
DClientCertRequest.java58 public abstract String getHost(); in getHost() method in ClientCertRequest
DURLUtil.java80 if (webAddress.getHost().indexOf('.') == -1) { in guessUrl()
82 webAddress.setHost("www." + webAddress.getHost() + ".com"); in guessUrl()
DJsDialogHelper.java170 alertUrl.getProtocol() + "://" + alertUrl.getHost()); in getJsDialogTitle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DMultiUserSwitch.java68 setUserSwitcherController(qsPanel.getHost().getUserSwitcherController()); in setQsPanel()
137 mQsPanel.getHost().startActivityDismissingKeyguard(intent); in onClick()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java152 String host = url.getHost(); in isLocalHost()
240 boolean sameHost = mURL.getHost().equals(url.getHost()); in seekTo()
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/
DMDNSFilterPlugin.java162 boolean added = mPrinters.add(serviceInfo.getHost().getHostAddress()); in onServiceFound()
188 .remove(serviceInfo.getHost().getHostAddress()); in onServiceLost()
/frameworks/base/tests/CoreTests/android/core/
DNsdServiceInfoTest.java144 assertEquality(original.getHost(), result.getHost()); in checkParcelable()
/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/packages/Osu/src/com/android/hotspot2/utils/
DHTTPRequest.java42 mHeaderFields.put(HostHeader, url.getHost() + ':' + url.getPort()); in HTTPRequest()
44 mHeaderFields.put(HostHeader, url.getHost()); in HTTPRequest()
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
DESTHandler.java116 URL caURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(), in execute()
198 URL csrURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(), in execute()
212 URL enrollURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(), in execute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSAnimator.java147 if (mQsPanel.getHost() == null) return; in updateAnimators()
148 Collection<QSTile<?>> tiles = mQsPanel.getHost().getTiles(); in updateAnimators()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java649 hostToResolve = pacUrl.getHost(); in isCaptivePortal()
651 hostToResolve = proxyInfo.getHost(); in isCaptivePortal()
653 hostToResolve = httpUrl.getHost(); in isCaptivePortal()
/frameworks/base/core/java/android/content/pm/
DEphemeralResolveInfo.java157 final String host = uri.getHost().toLowerCase(Locale.ENGLISH); in generateDigest()
/frameworks/base/core/java/android/content/
DIntentFilter.java865 public String getHost() { in getHost() method in IntentFilter.AuthorityEntry
907 String host = data.getHost(); in match()
1581 serializer.attribute(null, HOST_STR, ae.getHost()); in writeToXml()
1945 result.add(entry.getHost()); in getHostsList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceManager.java269 mServices.getHost().removeTile(component);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DIntentTile.java108 getHost().startActivityDismissingKeyguard(pi); in sendIntent()

123