/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A 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()
|
/aosp12/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/ |
H A D | KeyRevocationListTest.java | 36 import java.net.URL; 77 URL mockUrl = new URL( in testFromUrl() 84 protected URLConnection openConnection(URL url) { in testFromUrl() 88 URL mockBadUrl = new URL( in testFromUrl() 95 protected URLConnection openConnection(URL url) throws IOException { in testFromUrl()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A 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 …]
|
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | WebAsset.java | 24 import java.net.URL; 46 private final URL mUrl; 48 private WebAsset(URL url) { in WebAsset() 51 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, ""); in WebAsset() 129 URL url; in create() 131 url = new URL(asset.optString(StatementUtils.WEB_ASSET_FIELD_SITE)); in create()
|
/aosp12/frameworks/base/core/java/android/provider/ |
H A D | Browser.java | 76 BookmarkColumns.URL, // 1 245 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks() 257 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls() 261 sb.append(" OR " + BookmarkColumns.URL + " = "); in addOrUrlEquals() 278 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike() 285 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike() 435 public static final String URL = "url"; field in Browser.BookmarkColumns 499 public static final String URL = "url"; field in Browser.SearchColumns
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/ |
H A D | DSULoader.java | 43 import java.net.URL; 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() 351 URL url = null; in onCreate() [all …]
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
H A 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()
|
H A 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()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
H A 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()
|
/aosp12/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
H A D | TestUtils.java | 22 import java.net.URL; 54 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails() 67 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
|
/aosp12/packages/apps/Test/connectivity/UID/src/com/android/tests/connectivity/uid/ |
H A 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()
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
H A 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()
|
/aosp12/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapRequestKeyImpl.java | 24 import java.net.URL; 28 public final URL mUrl; 34 URL url = null; in BitmapRequestKeyImpl() 36 url = new URL(uriString); in BitmapRequestKeyImpl()
|
/aosp12/packages/modules/NetworkStack/common/captiveportal/src/android/net/captiveportal/ |
H A 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()
|
/aosp12/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
H A 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()
|
/aosp12/packages/modules/GeoTZ/ |
H A 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}"
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/ |
H A D | ManagedDeviceActionDisabledByAdminControllerTest.java | 24 import static com.android.settingslib.enterprise.ActionDisabledByAdminControllerTestUtils.URL; 78 URL, in setupLearnMoreButton_validUrl_foregroundUser_launchesHelpPage() 91 URL, in setupLearnMoreButton_validUrl_browserInPreferredUser_notForeground_showsAdminPolicies() 104 URL, in setupLearnMoreButton_validUrl_browserInCurrentUser_launchesHelpPage() 117 URL, in setupLearnMoreButton_validUrl_browserNotOnAnyUser_showsAdminPolicies()
|
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | BatteryStatsManagerTest.java | 56 import java.net.URL; 138 final URL url = new URL(TEST_URL); in verifyGetCellBatteryStats() 162 final URL url = new URL(TEST_URL); in verifyGetWifiBatteryStats() 197 private void generateNetworkTraffic(Network network, URL url) throws IOException { in generateNetworkTraffic()
|
/aosp12/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
H A D | WiFiLoadTest.java | 26 import java.net.URL; 47 URL url = new URL(DOWNLOAD_TEST_URL); in test()
|
/aosp12/frameworks/base/tools/preload-check/device/src/com/android/preload/check/ |
H A D | Util.java | 27 import java.net.URL; 56 List<URL> urls = (List<URL>) getResources.invoke(null, name); in getBootDexFiles() 60 for (URL url : urls) { in getBootDexFiles()
|
/aosp12/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
H A D | NetworkMonitor.java | 187 import java.net.URL; 2084 URL[] makeCaptivePortalFallbackUrls() { in makeCaptivePortalFallbackUrls() 2097 return new URL[0]; in makeCaptivePortalFallbackUrls() 2274 private URL nextFallbackUrl() { in nextFallbackUrl() 2316 URL pacUrl = null; in isCaptivePortal() 2692 protected final URL mUrl; 2731 final URL url = new URL(mCaptivePortalApiUrl.toString()); in sendCapportApiProbe() 2834 @NonNull URL[] httpsUrls, @NonNull URL[] httpUrls) { in sendMultiParallelHttpAndHttpsProbes() 2961 ValidationProperties properties, ProxyInfo proxy, URL httpsUrl, URL httpUrl) { in sendHttpAndHttpsParallelWithFallbackProbes() 3038 private URL makeURL(String url) { in makeURL() [all …]
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A 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()
|
H A 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 …]
|
/aosp12/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
H A 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()
|
/aosp12/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/ |
H A D | FileDownloader.java | 26 import java.net.URL; 59 URL url = new URL(mUrl); in download()
|