/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | VenueUrlElementTest.java | 31 import java.net.URL; 72 private byte[] getTestData(Map<Integer, URL> urls) throws IOException { in getTestData() 75 for (Map.Entry<Integer, URL> entry : urls.entrySet()) { in getTestData() 106 Map<Integer, URL> urlList = new HashMap<>(); in parseTruncatedBuffer() 176 Map<Integer, URL> urlList = new HashMap<>(); in parseBufferWithNegativeVenueNumberAndUrlData() 184 private URL createUrlFromString(String stringUrl) { in createUrlFromString() 185 URL url; in createUrlFromString() 187 url = new URL(stringUrl); in createUrlFromString() 201 Map<Integer, URL> urlList = new HashMap<>(); in parseBufferWithValidVenueUrls() 218 Map<Integer, URL> urlList = new HashMap<>(); in parseBufferWithValidVenueUrlsAndCapsUrls() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | VenueUrlElement.java | 26 import java.net.URL; 46 private final Map<Integer, URL> mVenueUrls; 50 public VenueUrlElement(Map<Integer, URL> venueUrls) { in VenueUrlElement() 65 Map<Integer, URL> venueUrls = new HashMap<>(); in parse() 75 URL url; in parse() 77 url = new URL(parsedUrl); in parse() 95 public Map<Integer, URL> getVenueUrls() { in getVenueUrls()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DSULoader.java | 43 import java.net.URL; 86 private static String readAll(URL url) throws IOException { in readAll() 122 private URL mDsuList; 124 Fetcher(URL dsuList) { in Fetcher() 128 private void fetch(URL url) in fetch() 144 fetch(new URL(include.getString(i))); in fetch() 214 URL mTosUrl = null; 215 URL mUri; 222 mUri = new URL(jsn.getString(URI)); in DSUPackage() 237 mTosUrl = new URL(jsn.getString(TOS)); in DSUPackage() [all …]
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 187 import java.net.URL; 433 private final URL[] mCaptivePortalFallbackUrls; 435 private final URL[] mCaptivePortalHttpUrls; 437 private final URL[] mCaptivePortalHttpsUrls; 1682 final URL url = makeURL(mEvaluatingBandwidthUrl); in run() 1943 private URL getTestUrl(@NonNull String key) { in getTestUrl() 2084 URL[] makeCaptivePortalFallbackUrls() { in makeCaptivePortalFallbackUrls() 2088 final URL[] settingProviderUrls = in makeCaptivePortalFallbackUrls() 2097 return new URL[0]; in makeCaptivePortalFallbackUrls() 2122 private URL[] makeCaptivePortalHttpsUrls() { 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/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsTransport.java | 26 import java.net.URL; 33 private URL mUrl; 36 private HttpsTransport(@NonNull Network network, @NonNull URL url) { in HttpsTransport() 49 public static HttpsTransport createInstance(@NonNull Network network, @NonNull URL url) { in createInstance()
|
D | RedirectListener.java | 29 import java.net.URL; 49 private final URL mServerUrl; 78 mServerUrl = new URL("http", getHostname(), port, mPath); in RedirectListener() 172 public URL getServerUrl() { in getServerUrl()
|
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | ServerInterface.java | 29 import java.net.URL; 60 URL url = new URL(SettingsManager.getUrl(context) + CERTIFICATE_SIGNING_URL in requestSignedCertificates() 113 URL url = new URL(SettingsManager.getUrl(context) + GEEK_URL); in fetchGeek()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | OsuServerConnectionTest.java | 61 import java.net.URL; 94 private URL mServerUrl; 121 mServerUrl = new URL(TEST_VALID_URL); in setUp() 124 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp() 267 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed() 375 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessageWithException() 404 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessage() 448 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse() 496 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithoutError() 546 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyCleanup() [all …]
|
D | AnqpCacheTest.java | 40 import java.net.URL; 134 private URL createUrlFromString(String stringUrl) { in createUrlFromString() 135 URL url; in createUrlFromString() 137 url = new URL(stringUrl); in createUrlFromString() 168 Map<Integer, URL> urlList = new HashMap<>(); in addThenUpdateAndGetEntry()
|
D | ANQPDataTest.java | 42 import java.net.URL; 101 private URL createUrlFromString(String stringUrl) { in createUrlFromString() 102 URL url; in createUrlFromString() 104 url = new URL(stringUrl); in createUrlFromString() 133 Map<Integer, URL> urlList = new HashMap<>(); in createWithElementsAndUpdate()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsTransportTest.java | 35 import java.net.URL; 45 private URL mUrl; 57 mUrl = new URL(TEST_URL); in setUp() 58 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
|
D | HttpsServiceConnectionTest.java | 40 import java.net.URL; 57 private URL mUrl; 69 mUrl = new URL(TEST_URL); in setUp() 72 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
|
/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/GeoTZ/ |
D | download-tzbb-files.sh | 58 URL=${SERVER_BASE_URL}/${FILE_NAME} 60 echo Downloading ${FILE_NAME} from ${URL}... 61 ${CURL_CMD} ${URL} --output ${LOCAL_FILE_NAME} 70 value: "${FILE_NAME} downloaded from ${URL} on ${DOWNLOAD_DATE}, SHA1=${SHA}"
|
/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()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 44 import java.net.URL; 76 private URL mUrl; 177 public boolean connect(@NonNull URL url, @NonNull Network network) { in connect() 289 private void performTlsConnection(URL url, Network network) { in performTlsConnection() 476 URL serverUrl = new URL(certUrl); in getCert() 568 private HttpsServiceConnection getServiceConnection(@NonNull URL url, in getServiceConnection()
|
/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/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | BatteryStatsManagerTest.java | 54 import java.net.URL; 113 final URL url = new URL(TEST_URL); in testReportNetworkInterfaceForTransports() 172 private void generateNetworkTraffic(Network network, URL url) throws IOException { in generateNetworkTraffic()
|
/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/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/modules/CaptivePortalLogin/src/com/android/captiveportallogin/ |
D | CaptivePortalLoginActivity.java | 92 import java.net.URL; 119 private URL mUrl; 430 private URL getUrl() { in getUrl() 443 private static URL makeURL(String url) { in makeURL() 445 return new URL(url); in makeURL() 452 private static String host(URL url) { in host() 459 private static String sanitizeURL(URL url) { in sanitizeURL() 594 final URL url = makeURL(urlString); in onPageStarted() 667 final URL errorUrl = makeURL(strErrorUrl); in onReceivedSslError() 953 private String getHeaderSubtitle(URL url) { in getHeaderSubtitle()
|
/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()
|