/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/ |
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()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
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()
|
/frameworks/base/core/java/android/provider/ |
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
|
D | BrowserContract.java | 169 public static final String URL = "url"; field 242 public static final String URL = "url"; field 637 public static final String URL = "url_key"; field in BrowserContract.Images
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
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()
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
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()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | WiFiLoadTest.java | 26 import java.net.URL; 47 URL url = new URL(DOWNLOAD_TEST_URL); in test()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/ |
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()
|
D | ActionDisabledLearnMoreButtonLauncherTest.java | 23 import static com.android.settingslib.enterprise.ActionDisabledByAdminControllerTestUtils.URL; 185 /* context= */ null, URL, CONTEXT_USER)); in testSetupLearnMoreButtonToLaunchHelpPage_nullContext() 197 mLauncher.setupLearnMoreButtonToLaunchHelpPage(mContext, URL, CONTEXT_USER); in testSetupLearnMoreButtonToLaunchHelpPage() 203 .isEqualTo(Uri.parse(URL)); in testSetupLearnMoreButtonToLaunchHelpPage()
|
/frameworks/base/tools/preload-check/device/src/com/android/preload/check/ |
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()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 38 import java.net.URL; 58 private URL mURL = null; 112 mURL = new URL(uri); in connect() 202 private static final boolean isLocalHost(URL url) { in isLocalHost() 232 URL url = mURL; in seekTo() 311 url = new URL(mURL /* TRICKY: don't use url! */, location); in seekTo()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/network/retriever/ |
D | StatementRetriever.kt | 30 import java.net.URL 81 URL(asset.scheme, asset.domain, asset.port, WELL_KNOWN_STATEMENT_PATH).toExternalForm() in computeAssociationJsonUrl() 97 URL(urlString) in retrieve()
|
D | UrlFetcher.kt | 27 import java.net.URL 38 url: URL, in fetch()
|
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 42 import java.net.URL; 67 private static final String URL = field in NetworkActivity 150 new DownloadXmlTask().execute(URL); in loadPage() 266 URL url = new URL(urlString); in downloadUrl()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/ |
D | StatementUtils.kt | 23 import java.net.URL 156 return Result.Success(WEB_ASSET_FORMAT.format(URL(scheme, host, "").toString())) in createWebAssetString() 161 WEB_ASSET_FORMAT.format(URL("https", host.removePrefix("*."), "").toString())
|
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/ |
D | FakeURLStreamHandler.java | 28 import java.net.URL; 54 public URLConnection openConnection(URL u) { in openConnection() 86 public FakeHttpsURLConnection(URL url, FakeResponse response) { in FakeHttpsURLConnection()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | BandwidthTestUtil.java | 41 import java.net.URL; 96 URL url = new URL(targetUrl); in DownloadFromUrl()
|
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
D | PacService.java | 31 import java.net.URL; 69 new URL(url); in resolvePacFile()
|
/frameworks/ex/common/tools/ |
D | make-iana-tld-pattern.py | 6 URL='http://data.iana.org/TLD/tlds-alpha-by-domain.txt' variable 138 output = prefix.format(gen_date = date.today(), url=URL) 157 f = urlopen(URL)
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/http/ |
D | HttpClientTest.java | 48 import java.net.URL; 65 URL.setURLStreamHandlerFactory(sFakeURLStreamHandler); in setupURLStreamHandlerFactory() 148 URL url = new URL(TEST_URL); in request_contentTypeXml_returnsXmlBody_useSpecificNetwork()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 37 import java.net.URL; 98 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/") in testUrlConnection() 122 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/") in testUrlConnectionv6()
|
/frameworks/base/core/java/android/webkit/ |
D | JsDialogHelper.java | 32 import java.net.URL; 167 URL alertUrl = new URL(mUrl); in getJsDialogTitle()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/http/ |
D | HttpClient.java | 48 import java.net.URL; 90 URL url = new URL(request.url()); in createConnection()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | InstallationAsyncTask.java | 37 import java.net.URL; 286 mStream = new URL(mUrl).openStream(); in verifyAndPrepare() 289 mZipFile = new ZipFile(new File(new URL(mUrl).toURI())); in verifyAndPrepare() 291 mStream = new URL(mUrl).openStream(); in verifyAndPrepare() 302 mKeyRevocationList = KeyRevocationList.fromUrl(new URL(listUrl)); in verifyAndPrepare()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 60 import java.net.URL; 76 private URL mUrl; 204 private URL getUrlForCaptivePortal() { in getUrlForCaptivePortal() 222 return new URL(url); in getUrlForCaptivePortal() 244 new URL(mCm.getCaptivePortalServerUrl())); in testForCaptivePortal()
|