Home
last modified time | relevance | path

Searched refs:webAddress (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/
DWebAddressTest.java28 WebAddress webAddress = new WebAddress("http://google.com./b/c/g"); in testHostWithTrailingDot() local
29 assertEquals("google.com.", webAddress.getHost()); in testHostWithTrailingDot()
30 assertEquals("/b/c/g", webAddress.getPath()); in testHostWithTrailingDot()
36 WebAddress webAddress = new WebAddress("http://www.myspace.com?si=1"); in testPathWithoutLeadingSlash() local
37 assertEquals("www.myspace.com", webAddress.getHost()); in testPathWithoutLeadingSlash()
38 assertEquals("/?si=1", webAddress.getPath()); in testPathWithoutLeadingSlash()
/frameworks/base/core/java/android/webkit/
DURLUtil.java53 WebAddress webAddress; in guessUrl() local
72 webAddress = new WebAddress(inUrl); in guessUrl()
82 if (webAddress.getHost().indexOf('.') == -1) { in guessUrl()
84 webAddress.setHost("www." + webAddress.getHost() + ".com"); in guessUrl()
86 return webAddress.toString(); in guessUrl()