Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/net/
H A 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()
/aosp12/frameworks/base/core/java/android/webkit/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DDataAction.java168 final WebAddress webAddress = new WebAddress(url); in DataAction() local
169 mIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(webAddress.toString())); in DataAction()
H A DQuickContactActivity.java1475 final WebAddress webAddress = new WebAddress(website.buildDataStringForDisplay in dataItemToEntry() local
1477 intent = new Intent(Intent.ACTION_VIEW, Uri.parse(webAddress.toString())); in dataItemToEntry()