/packages/services/Car/tests/robotests/src/com/android/car/ |
D | CarServiceRobolectricTestRunner.java | 29 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/ |
D | CarUiRobolectricTestRunner.java | 30 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/ |
D | NetworkMonitor.java | 190 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/ |
D | CaptivePortalProbeSpec.java | 31 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/ |
D | NetworkUriImageRequest.java | 32 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/ |
D | ConnectivityTestActivity.java | 35 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/ |
D | HttpFetcher.java | 35 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/ |
D | CaptivePortalLoginActivity.java | 89 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/ |
D | UriUtil.java | 40 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/ |
D | MmsHttpClient.java | 48 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/ |
D | DownloadUtils.java | 29 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()
|
D | DownloadCache.java | 37 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/ |
D | WebDialogFragment.java | 34 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/ |
D | HttpUrlConnectionBuilder.java | 26 import java.net.URL; 75 private URL mUrl; 93 mUrl = new URL(url); in setUrl()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | Utils.java | 30 import java.net.URL; 168 final URL url = new URL(urlString); in redactUrlForNonVerbose()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainTestActivity.java | 31 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/ |
D | JavaNetHttpHelper.java | 27 import java.net.URL; 129 URL u = new URL(mRewriter.rewrite(url)); in createConnection()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | FakeSystemFacade.java | 25 import java.net.URL; 85 final URL url = (URL) invocation.getArguments()[0]; in getNetwork()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/ |
D | Http.java | 31 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/ |
D | WifiDownloadReceiver.java | 15 import java.net.URL; 106 URL url = new URL(sUrl[0]); in doInBackground()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunTunerHal.java | 30 import java.net.URL; 127 URL url; in connectAndOpenInputStream() 129 url = new URL(mHttpConnectionAddress); in connectAndOpenInputStream()
|
D | HdHomeRunChannelScan.java | 30 import java.net.URL; 64 URL url; in scan() 68 url = new URL(urlString); in scan()
|
/packages/modules/Cronet/api/ |
D | lint-baseline.txt | 7 …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/ |
D | NetworkUtils.java | 25 import java.net.URL; 43 connection = (HttpURLConnection) new URL(GENERATE_204).openConnection(); in isNetworkAvailable()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCertActivity.java | 55 import java.net.URL; 105 URL url = new URL(mURL); in getCertificateList()
|