Home
last modified time | relevance | path

Searched refs:urlString (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestBasic.java71 String urlString = url.toString(); in useSpans() local
72 int urlLength = urlString.length(); in useSpans()
75 int startSchemeIndex = urlString.startsWith("https") ? 5 : 0; in useSpans()
76 int startDomainIndex = urlString.indexOf(domainAndRegistry); in useSpans()
95 if (stopIndex < urlString.length()) { in useSpans()
/frameworks/base/core/java/android/net/
DPacProxySelector.java69 String urlString; in select() local
77 urlString = uri.toURL().toString(); in select()
79 urlString = uri.getHost(); in select()
81 urlString = uri.getHost(); in select()
84 response = mProxyService.resolvePacFile(uri.getHost(), urlString); in select()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java227 private String getHeaderSubtitle(String urlString) { in getHeaderSubtitle() argument
229 URL url = new URL(urlString); in getHeaderSubtitle()
232 Log.e(TAG, "Invalid URL " + urlString); in getHeaderSubtitle()
246 public void onPageStarted(WebView view, String urlString, Bitmap favicon) { in onPageStarted() argument
247 String subtitle = getHeaderSubtitle(urlString); in onPageStarted()
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java80 String urlString = splitLine[1]; in run() local
88 String[] hostPortSplit = urlString.split(":"); in run()
101 urlString = "Https://" + host + ":" + port; in run()
104 url = new URI(urlString); in run()
118 list = ProxySelector.getDefault().select(new URI(urlString)); in run()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java215 private String loadXmlFromNetwork(String urlString) throws XmlPullParserException, IOException { in loadXmlFromNetwork() argument
235 stream = downloadUrl(urlString); in loadXmlFromNetwork()
265 private InputStream downloadUrl(String urlString) throws IOException { in downloadUrl() argument
266 URL url = new URL(urlString); in downloadUrl()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DDirectStatementRetriever.java141 private Result retrieveStatementFromUrl(String urlString, int maxIncludeLevel, in retrieveStatementFromUrl() argument
151 URL url = new URL(urlString); in retrieveStatementFromUrl()
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/
DResponderLocationTest.java518 String urlString = ""; in testLcrCheckMapUriIsValid() local
520 urlString = responderLocation.getMapImageUri().toString(); in testLcrCheckMapUriIsValid()
526 assertEquals("https://map.com/mall.jpg", urlString); in testLcrCheckMapUriIsValid()
/frameworks/base/media/java/android/media/
DTimedText.java668 final String urlString = new String(url, 0, len); in readHyperText() local
673 HyperText hyperText = new HyperText(startChar, endChar, urlString, altString); in readHyperText()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderLocation.java386 String urlString = in.readString(); in ResponderLocation() local
387 if (TextUtils.isEmpty(urlString)) { in ResponderLocation()
390 mMapImageUri = Uri.parse(urlString); in ResponderLocation()