Home
last modified time | relevance | path

Searched refs:URL (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java36 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/
DWebAsset.java24 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/
DTs43AuthenticationLibrary.java41 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/
DBrowser.java76 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/
DTestUtils.java24 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/
DBitmapRequestKeyImpl.java24 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/
DSlicePurchaseActivityTest.java56 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/
DOdsaResponse.java26 import java.net.URL;
39 public abstract URL generalErrorUrl(); in generalErrorUrl()
75 public abstract Builder setGeneralErrorUrl(@NonNull URL url); in setGeneralErrorUrl()
DCheckEligibilityOperation.java35 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/
DWiFiLoadTest.java26 import java.net.URL;
47 URL url = new URL(DOWNLOAD_TEST_URL); in test()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/
DTs43Authentication.java41 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/
DUtil.java27 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/
DMediaHTTPConnection.java38 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/
DEqualsHashCodePerfTest.java32 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/
DStatementRetriever.kt30 import java.net.URL
81 URL(asset.scheme, asset.domain, asset.port, WELL_KNOWN_STATEMENT_PATH).toExternalForm() in computeAssociationJsonUrl()
97 URL(urlString) in retrieve()
DUrlFetcher.kt27 import java.net.URL
38 url: URL, in fetch()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java42 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/
DStatementUtils.kt23 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/
DRenderTestBase.java22 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/
DActionDisabledLearnMoreButtonLauncherTest.java23 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/
DBandwidthTestUtil.java41 import java.net.URL;
96 URL url = new URL(targetUrl); in DownloadFromUrl()
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py6 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/
DFakeURLStreamHandler.java30 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/
DBandwidthEnforcementTestService.java39 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/
DPacService.java32 import java.net.URL;
98 new URL(url); in resolvePacFile()

1234