/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/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/ |
D | Ts43AuthenticationLibrary.java | 41 import java.net.URL; 129 private final URL mEntitlementServerAddress; 137 int slotIndex, URL entitlementServerAddress, @Nullable String entitlementVersion, in EapAkaAuthenticationRequest() 155 private final URL mEntitlementServerAddress; 159 private final AuthenticationOutcomeReceiver<URL, AuthenticationException> mCallback; 162 int slotIndex, URL entitlementServerAddress, @Nullable String entitlementVersion, in OidcAuthenticationServerRequest() 164 AuthenticationOutcomeReceiver<URL, AuthenticationException> callback) { in OidcAuthenticationServerRequest() argument 177 private final URL mEntitlementServerAddress; 179 private final URL mAesUrl; 184 private OidcAuthenticationRequest(URL entitlementServerAddress, in OidcAuthenticationRequest() [all …]
|
/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
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 24 import java.net.URL; 56 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails() 69 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
|
/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/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | SlicePurchaseActivityTest.java | 56 private static final String URL = "file:///android_asset/slice_purchase_test.html"; field in SlicePurchaseActivityTest 88 doReturn(URL).when(mPersistableBundle).getString( in setUp() 165 SlicePurchaseActivity.startWebView(mWebView, URL, 0 /* CONTENTS_TYPE_UNSPECIFIED */, null); in testStartWebView() 166 verify(mWebView).loadUrl(eq(URL)); in testStartWebView() 171 SlicePurchaseActivity.startWebView(mWebView, URL, 1 /* CONTENTS_TYPE_JSON */, userData); in testStartWebView() 172 verify(mWebView).postUrl(eq(URL), eq(userDataBytes)); in testStartWebView() 177 SlicePurchaseActivity.startWebView(mWebView, URL, 1 /* CONTENTS_TYPE_JSON */, userData); in testStartWebView() 178 verify(mWebView, times(2)).postUrl(eq(URL), eq(userDataBytes)); in testStartWebView()
|
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/odsa/ |
D | OdsaResponse.java | 26 import java.net.URL; 39 public abstract URL generalErrorUrl(); in generalErrorUrl() 75 public abstract Builder setGeneralErrorUrl(@NonNull URL url); in setGeneralErrorUrl()
|
D | CheckEligibilityOperation.java | 35 import java.net.URL; 269 public abstract URL notEnabledUrl(); in notEnabledUrl() 328 public abstract Builder setNotEnabledUrl(@NonNull URL url); in setNotEnabledUrl()
|
/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/libs/service_entitlement/java/com/android/libraries/entitlement/ |
D | Ts43Authentication.java | 41 import java.net.URL; 104 private final URL mEntitlementServerAddress; 129 public Ts43Authentication(@NonNull Context context, @NonNull URL entitlementServerAddress, in Ts43Authentication() 280 public URL getOidcAuthServer(@NonNull Context context, int slotIndex, in getOidcAuthServer() 281 @NonNull URL entitlementServerAddress, @Nullable String entitlementVersion, in getOidcAuthServer() 301 public Ts43AuthToken getAuthToken(@NonNull URL aesUrl) in getAuthToken()
|
/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/apct-tests/perftests/core/src/android/libcore/regression/ |
D | EqualsHashCodePerfTest.java | 32 import java.net.URL; 49 URL() { in URL() enumConstant 52 return new URL(text); in URL()
|
/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 157 return Result.Success(WEB_ASSET_FORMAT.format(URL(scheme, host, "").toString())) in createWebAssetString() 162 WEB_ASSET_FORMAT.format(URL("https", host.removePrefix("*."), "").toString())
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/android/ |
D | RenderTestBase.java | 22 import java.net.URL; 70 URL location = RenderTestBase.class.getProtectionDomain().getCodeSource().getLocation(); in getBaseResourceDir()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/enterprise/ |
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/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/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/utils/com/android/libraries/entitlement/testing/ |
D | FakeURLStreamHandler.java | 30 import java.net.URL; 56 public URLConnection openConnection(URL u) { in openConnection() 88 public FakeHttpsURLConnection(URL url, FakeResponse response) { in FakeHttpsURLConnection()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 39 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/packages/services/PacProcessor/src/com/android/pacprocessor/ |
D | PacService.java | 32 import java.net.URL; 98 new URL(url); in resolvePacFile()
|