Home
last modified time | relevance | path

Searched refs:URL (Results 1 – 25 of 69) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DNetworkUriImageRequest.java32 import java.net.URL;
59 final URL url = new URL(mDescriptor.uri.toString()); in isGif()
90 final URL url = new URL(mDescriptor.uri.toString()); in loadBitmapInternal()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java36 import java.net.URL;
62 URL url = reWriteUrl(context, urlString); in sendRequestAsByteArray()
124 URL url = reWriteUrl(context, urlString); in sendRequestAsInputStream()
230 private static URL reWriteUrl(Context context, String url) { in reWriteUrl()
254 URL urlObject = null; in reWriteUrl()
256 urlObject = new URL(newUrl); in reWriteUrl()
DDownloadMapImageTask.java27 import java.net.URL;
51 URL mapUrl = new URL(LocationUrlBuilder.getStaticMapUrl(ui.getContext(), locations[0])); in doInBackground()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java39 import java.net.URL;
202 final URL url = new URL(sourceUri.toString()); in persistContentToScratchSpace()
259 final URL url = new URL(sourceUri.toString()); in persistContent()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java47 import java.net.URL;
127 final URL url = new URL(urlString); in execute()
233 private void maybeWaitForIpv4(final String requestId, final URL url) { in maybeWaitForIpv4()
429 final URL url = new URL(urlString); in redactUrlForNonVerbose()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java29 import java.net.URL;
470 public static File toFile(URL url) { in toFile()
506 public static File[] toFiles(URL[] urls) { in toFiles()
512 URL url = urls[i]; in toFiles()
533 public static URL[] toURLs(File[] files) throws IOException { in toURLs()
534 URL[] urls = new URL[files.length]; in toURLs()
955 public static void copyURLToFile(URL source, File destination) throws IOException { in copyURLToFile()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadUtils.java29 import java.net.URL;
34 public static boolean requestDownload(JobContext jc, URL url, File file) { in requestDownload()
66 public static boolean download(JobContext jc, URL url, OutputStream output) { in download()
DDownloadCache.java37 import java.net.URL;
114 public Entry download(JobContext jc, URL url) { in download()
320 URL url = new URL(mUrl); in run()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java36 private static final String URL = "URL"; field in WebDialogFragment
52 args.putString(URL, url); in newInstance()
78 String url = getArguments().getString(URL); in onCreateView()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java31 import java.net.URL;
179 URL url = startWebServer(); in doInBackground()
189 private URL startWebServer() throws Exception { in startWebServer()
207 private void makeHttpsRequest(URL url) throws Exception { in makeHttpsRequest()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilder.java26 import java.net.URL;
75 private URL mUrl;
93 mUrl = new URL(url); in setUrl()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
DClassScanner.java22 import java.net.URL;
43 final Enumeration<URL> resources = Thread.currentThread().getContextClassLoader() in getClassesForPackage()
48 URL url = resources.nextElement(); in getClassesForPackage()
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java30 import java.net.URL;
168 final URL url = new URL(urlString); in redactUrlForNonVerbose()
DMmsHttpClient.java42 import java.net.URL;
125 final URL url = new URL(urlString); in execute()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java19 import java.net.URL;
76 final URL url = (URL) invocation.getArguments()[0]; in getActiveNetwork()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java27 import java.net.URL;
129 URL u = new URL(mRewriter.rewrite(url)); in createConnection()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DWifiDownloadReceiver.java15 import java.net.URL;
106 URL url = new URL(sUrl[0]); in doInBackground()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java114 map.put(PartnerBookmarksContract.Bookmarks.URL, in map.put() argument
115 PartnerBookmarksContract.Bookmarks.URL); in map.put()
171 PartnerBookmarksContract.Bookmarks.URL + in createTable()
266 PartnerBookmarksContract.Bookmarks.URL); in addDefaultBookmarks()
/packages/apps/TV/src/com/android/tv/util/
DNetworkUtils.java26 import java.net.URL;
48 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DBitmapWorkerTask.java40 import java.net.URL;
217 URL url = new URL(options.getResourceUri().toString()); in getBitmapFromHttp()
DDrawableLoader.java39 import java.net.URL;
267 URL url = new URL(options.getResourceUri().toString()); in getBitmapFromHttp()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiStatusTest.java44 import java.net.URL;
362 URL url = new URL("https://www.google.com"); in httpClientTest()
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/
DVpnTests.java39 import java.net.URL;
240 URL url = new URL(EXTERNAL_SERVER); in getIpAddress()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DJarUtils.java23 import java.net.URL;
38 final URL resUrl = mainClass.getResource(mainClassPath); in getJarFile()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java86 import java.net.URL;
409 URL url; in executeDownload()
412 url = new URL(mInfoDelta.mUri); in executeDownload()
478 url = new URL(url, location); in executeDownload()

123