Home
last modified time | relevance | path

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

1234

/packages/services/Car/tests/robotests/src/com/android/car/
DCarServiceRobolectricTestRunner.java29 import java.net.URL;
44 final URL appRoot = in getAppManifest()
45 new URL("file:packages/services/Car/tests/robotests"); in getAppManifest()
46 final URL manifestPath = new URL(appRoot, "AndroidManifest.xml"); in getAppManifest()
47 final URL resDir = new URL(appRoot, "res"); in getAppManifest()
48 final URL assetsDir = new URL(appRoot, "assets"); in getAppManifest()
65 return new ResourcePath(null, Fs.fromURL(new URL(spec)), null);
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/
DCarUiRobolectricTestRunner.java30 import java.net.URL;
64 return new ResourcePath(null, Fs.fromURL(new URL(filePath)), null); in createResourcePath()
93 final URL appRoot; in getAppManifest()
101 appRoot = new URL("file:packages/apps/Car/libs/car-ui-lib/"); in getAppManifest()
106 URL manifestPath = new URL(appRoot, "AndroidManifest.xml"); in getAppManifest()
107 URL resDir = new URL(appRoot, "tests/robotests/res"); in getAppManifest()
108 URL assetsDir = new URL(appRoot, config.assetDir()); in getAppManifest()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java190 import java.net.URL;
433 private final URL[] mCaptivePortalFallbackUrls;
435 private final URL[] mCaptivePortalHttpUrls;
437 private final URL[] mCaptivePortalHttpsUrls;
1646 final URL url = makeURL(mEvaluatingBandwidthUrl); in run()
2050 URL[] makeCaptivePortalFallbackUrls() { in makeCaptivePortalFallbackUrls()
2054 final URL[] settingProviderUrls = in makeCaptivePortalFallbackUrls()
2063 return new URL[0]; in makeCaptivePortalFallbackUrls()
2088 private URL[] makeCaptivePortalHttpsUrls() { in makeCaptivePortalHttpsUrls()
2091 final URL[] settingProviderUrls = in makeCaptivePortalHttpsUrls()
[all …]
/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/
DCaptivePortalProbeSpec.java31 import java.net.URL;
47 private final URL mUrl;
49 CaptivePortalProbeSpec(@NonNull String encodedSpec, @NonNull URL url) { in CaptivePortalProbeSpec()
81 return new RegexMatchProbeSpec(spec, new URL(splits[0]), statusRegex, locationRegex); in parseSpec()
154 public URL getUrl() { in getUrl()
171 RegexMatchProbeSpec(@NonNull String spec, @NonNull URL url, @Nullable Pattern statusRegex, in RegexMatchProbeSpec()
/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/Test/connectivity/UID/src/com/android/tests/connectivity/uid/
DConnectivityTestActivity.java35 import java.net.URL;
46 private static final String URL = "url"; field in ConnectivityTestActivity
86 URL targetURL = new URL("http://www.google.com/generate_204"); in httpRequest()
100 String url = extras.getString(URL); in downloadData()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java35 import java.net.URL;
61 URL url = reWriteUrl(context, urlString); in sendRequestAsByteArray()
123 URL url = reWriteUrl(context, urlString); in sendRequestAsInputStream()
227 private static URL reWriteUrl(Context context, String url) { in reWriteUrl()
251 URL urlObject = null; in reWriteUrl()
253 urlObject = new URL(newUrl); in reWriteUrl()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java89 import java.net.URL;
116 private URL mUrl;
413 private URL getUrl() { in getUrl()
426 private static URL makeURL(String url) { in makeURL()
428 return new URL(url); in makeURL()
435 private static String host(URL url) { in host()
442 private static String sanitizeURL(URL url) { in sanitizeURL()
577 final URL url = makeURL(urlString); in onPageStarted()
650 final URL errorUrl = makeURL(strErrorUrl); in onReceivedSslError()
922 private String getHeaderSubtitle(URL url) { in getHeaderSubtitle()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java40 import java.net.URL;
215 final URL url = new URL(sourceUri.toString()); in persistContentToScratchSpace()
272 final URL url = new URL(sourceUri.toString()); in persistContent()
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java48 import java.net.URL;
133 final URL url = new URL(urlString); in execute()
248 private void maybeWaitForIpv4(final String requestId, final URL url) { in maybeWaitForIpv4()
442 final URL url = new URL(urlString); in redactUrlForNonVerbose()
/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.java34 private static final String URL = "URL"; field in WebDialogFragment
51 args.putString(URL, url); in newInstance()
79 String url = getArguments().getString(URL); in onCreateView()
/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/Messaging/src/android/support/v7/mms/
DUtils.java30 import java.net.URL;
168 final URL url = new URL(urlString); in redactUrlForNonVerbose()
/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/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java27 import java.net.URL;
129 URL u = new URL(mRewriter.rewrite(url)); in createConnection()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java25 import java.net.URL;
85 final URL url = (URL) invocation.getArguments()[0]; in getNetwork()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java31 import java.net.URL;
84 final URL url = new URL(uri); in getOrPost()
120 private static byte[] getOrPost(URL url, Headers headers, byte[] data) throws IOException { in getOrPost()
/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/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunTunerHal.java30 import java.net.URL;
127 URL url; in connectAndOpenInputStream()
129 url = new URL(mHttpConnectionAddress); in connectAndOpenInputStream()
DHdHomeRunChannelScan.java30 import java.net.URL;
64 URL url; in scan()
68 url = new URL(urlString); in scan()
/packages/modules/Cronet/api/
Dlint-baseline.txt7 …Use android.net.Uri instead of java.net.URL (method org.chromium.net.CronetEngine.createURLStreamH…
8 AndroidUri: org.chromium.net.CronetEngine#openConnection(java.net.URL):
9 …Use android.net.Uri instead of java.net.URL (method org.chromium.net.CronetEngine.openConnection(j…
10 AndroidUri: org.chromium.net.CronetEngine#openConnection(java.net.URL) parameter #0:
11 … android.net.Uri instead of java.net.URL (parameter url in org.chromium.net.CronetEngine.openConne…
92 MissingNullability: org.chromium.net.CronetEngine#openConnection(java.net.URL):
94 MissingNullability: org.chromium.net.CronetEngine#openConnection(java.net.URL) parameter #0:
/packages/apps/TV/src/com/android/tv/util/
DNetworkUtils.java25 import java.net.URL;
43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCertActivity.java55 import java.net.URL;
105 URL url = new URL(mURL); in getCertificateList()

1234