Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java57 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsByteArray() argument
59 Objects.requireNonNull(urlString); in sendRequestAsByteArray()
61 URL url = reWriteUrl(context, urlString); in sendRequestAsByteArray()
119 Context context, String urlString, String requestMethod, List<Pair<String, String>> headers) in sendRequestAsInputStream() argument
121 Objects.requireNonNull(urlString); in sendRequestAsInputStream()
123 URL url = reWriteUrl(context, urlString); in sendRequestAsInputStream()
174 private static String obfuscateUrl(String urlString) { in obfuscateUrl() argument
175 final Uri uri = Uri.parse(urlString); in obfuscateUrl()
195 public static String getRequestAsString(Context context, String urlString) in getRequestAsString() argument
197 return getRequestAsString(context, urlString, "GET" /* Default to get. */, null); in getRequestAsString()
[all …]
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java119 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
122 LogUtil.d(requestId, "HTTP: " + method + " " + redactUrlForNonVerbose(urlString) in execute()
133 final URL url = new URL(urlString); in execute()
231 final String redactedUrl = redactUrlForNonVerbose(urlString); in execute()
235 final String redactedUrl = redactUrlForNonVerbose(urlString); in execute()
431 public static String redactUrlForNonVerbose(String urlString) { in redactUrlForNonVerbose() argument
434 return urlString; in redactUrlForNonVerbose()
436 if (TextUtils.isEmpty(urlString)) { in redactUrlForNonVerbose()
437 return urlString; in redactUrlForNonVerbose()
442 final URL url = new URL(urlString); in redactUrlForNonVerbose()
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java157 static String redactUrlForNonVerbose(String urlString) { in redactUrlForNonVerbose() argument
160 return urlString; in redactUrlForNonVerbose()
162 if (TextUtils.isEmpty(urlString)) { in redactUrlForNonVerbose()
163 return urlString; in redactUrlForNonVerbose()
168 final URL url = new URL(urlString); in redactUrlForNonVerbose()
177 .append("[").append(urlString.length()).append("]"); in redactUrlForNonVerbose()
DMmsHttpClient.java112 public byte[] execute(String urlString, byte[] pdu, String method, boolean isProxySet, in execute() argument
115 Log.d(MmsService.TAG, "HTTP: " + method + " " + Utils.redactUrlForNonVerbose(urlString) in execute()
125 final URL url = new URL(urlString); in execute()
207 final String redactedUrl = Utils.redactUrlForNonVerbose(urlString); in execute()
211 final String redactedUrl = Utils.redactUrlForNonVerbose(urlString); in execute()
/packages/apps/Messaging/src/com/android/messaging/util/
DYouTubeUtil.java36 public static String getYoutubePreviewImageLink(String urlString) { in getYoutubePreviewImageLink() argument
44 if (!urlString.startsWith("http")) { in getYoutubePreviewImageLink()
46 urlString = "http://" + urlString; in getYoutubePreviewImageLink()
48 final Uri uri = Uri.parse(urlString); in getYoutubePreviewImageLink()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunChannelScan.java62 String urlString = "http://" + mTunerHal.getIpAddress() + "/" + LINEUP_FILENAME; in scan() local
63 if (DEBUG) Log.d(TAG, "Reading " + urlString); in scan()
68 url = new URL(urlString); in scan()
77 Log.e(TAG, "Connection failed: " + urlString, e); in scan()
/packages/apps/Contacts/src/com/android/contacts/preference/
DAboutPreferenceFragment.java97 private void startActivityForUrl(String urlString) { in startActivityForUrl() argument
100 intent.setData(Uri.parse(urlString)); in startActivityForUrl()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java565 public void onPageStarted(WebView view, String urlString, Bitmap favicon) { in onPageStarted() argument
566 if (urlString.contains(mBrowserBailOutToken)) { in onPageStarted()
577 final URL url = makeURL(urlString); in onPageStarted()
581 if (!urlString.startsWith(INTERNAL_ASSETS)) { in onPageStarted()
582 String subtitle = (url != null) ? getHeaderSubtitle(url) : urlString; in onPageStarted()