/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCookieManager.java | 30 public void setCookie(String url, String value) { 31 cookies.put(url, value); 35 public String getCookie(String url) { 36 return cookies.get(url);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBookmarksAdapterItem.java | 21 public String url; field in class:BrowserBookmarksAdapterItem
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
InlineAttachmentViewIntentBuilder.java | 34 * @param url The url of the image that was long-pressed. 38 * be a "View image" option for this url. 41 Context context, String url, ConversationMessage message);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
RecordingCallback.java | 19 import java.net.URL; 52 public synchronized RecordedResponse await(URL url) throws Exception { 57 if (recordedResponse.request.url().equals(url)) { 68 throw new AssertionError("Timed out waiting for response to " + url); 71 public synchronized void assertNoResponse(URL url) throws Exception { 73 if (recordedResponse.request.url().equals(url)) { [all...] |
/external/wpa_supplicant_8/src/ap/ |
wnm_ap.h | 19 struct sta_info *sta, const char *url, 23 const u8 *bss_term_dur, const char *url,
|
/frameworks/base/packages/services/PacProcessor/com/android/net/ |
IProxyService.aidl | 21 String resolvePacFile(String host, String url);
|
/frameworks/data-binding/developmentPlugins/bintrayPlugin/ |
build.gradle | 31 repository(url: "file://${config.extraPluginsRepoDir}")
|
/packages/screensavers/WebView/src/com/android/dreams/web/ |
SetURL.java | 37 String url = intent.getStringExtra(Intent.EXTRA_TEXT); local 39 if (url == null) { 42 set(url); 47 protected void set(String url) { 50 editor.putString("url", url); 54 Toast.makeText(this, "WebView dream URL set to: " + url, Toast.LENGTH_SHORT).show();
|
SetURLInteractive.java | 37 String url = intent.getStringExtra(Intent.EXTRA_TEXT); local 39 if (url == null) { 42 set(url); 47 protected void set(String url) { 50 editor.putString("url", url); 54 Toast.makeText(this, "WebView dream URL set to: " + url, Toast.LENGTH_SHORT).show();
|
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 21 import libcore.net.url.UrlUtils; 26 * can handle the communication with a URL object over a particular protocol 31 * Establishes a new connection to the resource specified by the URL {@code 36 * the URL to the resource where a connection has to be opened. 41 protected abstract URLConnection openConnection(URL u) throws IOException; 44 * Establishes a new connection to the resource specified by the URL {@code 49 * the URL to the resource where a connection has to be opened. 61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { 66 * Parses the clear text URL in {@code str} into a URL object. URL string [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestLog.java | 32 private static final String URL_ATTR = "url"; 77 /** Url pointing to the log file. */ 82 static TestLog fromDataName(String dataName, String url) { 88 if (url == null) { 92 return new TestLog(logType, url); 103 String url = parser.getAttributeValue(null, URL_ATTR); local 104 if (url == null) { 110 return new TestLog(logType, url); 116 /** Create a TestLog directly given a log type and url. */ 117 public static TestLog of(TestLogType logType, String url) { [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 44 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { 49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) 54 public String getType(Uri url) { 59 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) 65 String callingPackage, Uri url, String mode, ICancellationSignal signal, 80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, 86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, 105 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { 109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, String mimeType [all...] |
MockContentProvider.java | 63 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) 65 return MockContentProvider.this.bulkInsert(url, initialValues); 69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) 71 return MockContentProvider.this.delete(url, selection, selectionArgs); 75 public String getType(Uri url) throws RemoteException { 76 return MockContentProvider.this.getType(url); 80 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) 82 return MockContentProvider.this.insert(url, initialValues); 87 String callingPackage, Uri url, String mode, ICancellationSignal signal) 89 return MockContentProvider.this.openAssetFile(url, mode) [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 45 public boolean shouldOverrideUrlLoading(WebView view, String url) { 46 return mWrappedClient.shouldOverrideUrlLoading(view, url); 51 public void onPageStarted(WebView view, String url, Bitmap favicon) { 52 mWrappedClient.onPageStarted(view, url, favicon); 57 public void onPageFinished(WebView view, String url) { 58 mWrappedClient.onPageFinished(view, url); 63 public void onLoadResource(WebView view, String url) { 64 mWrappedClient.onLoadResource(view, url); 91 public void doUpdateVisitedHistory(WebView view, String url, 93 mWrappedClient.doUpdateVisitedHistory(view, url, isReload) [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Request.java | 24 import java.net.URL; 38 private volatile URL url; // Lazily initialized. field in class:Request 48 this.url = builder.url; 51 public URL url() { method in class:Request 53 URL result = url; 54 return result != null ? result : (url = new URL(urlString)) 126 private URL url; field in class:Request.Builder 146 public Builder url(String url) { method in class:Request.Builder 153 public Builder url(URL url) { method in class:Request.Builder [all...] |
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
Resource.java | 28 import java.net.URL; 55 * Change the default setting for url connection caches. 83 /** Construct a resource from a url. 84 * @param url A URL. 86 * @throws IOException Problem accessing URL 88 public static Resource newResource(URL url) 91 return newResource(url, __defaultUseCaches); 96 * Construct a resource from a url 154 URL url=null; local 200 URL url = Resource.toURL(file); local 218 URL url=null; local 283 URL url=Resource.class.getResource(name); local [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderClient.java | 115 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, 118 return query(url, projection, selection, selectionArgs, sortOrder, null); 122 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, 126 Preconditions.checkNotNull(url, "url"); 136 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs, 149 public @Nullable String getType(@NonNull Uri url) throws RemoteException { 150 Preconditions.checkNotNull(url, "url"); 154 return mContentProvider.getType(url); [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
AuthenticatorAdapter.java | 29 import java.net.URL; 40 URL url = request.url(); local 46 url.getHost(), getConnectToInetAddress(proxy, url), url.getPort(), url.getProtocol(), 47 challenge.getRealm(), challenge.getScheme(), url, RequestorType.SERVER); 62 URL url = request.url() local [all...] |
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 26 import java.net.URL; 40 * Fetches HTML from a requested URL, follows the links, and repeats. 44 private final Set<URL> fetchedUrls = Collections.synchronizedSet(new LinkedHashSet<URL>()); 45 private final LinkedBlockingQueue<URL> queue = new LinkedBlockingQueue<>(); 69 for (URL url; (url = queue.take()) != null; ) { 70 if (!fetchedUrls.add(url)) { 75 fetch(url); [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 84 public Cursor query(Uri url, String[] projectionIn, String selection, 89 int match = sURLMatcher.match(url); 97 qb.appendWhere(url.getPathSegments().get(1)); 100 throw new IllegalArgumentException("Unknown URL " + url); 110 ret.setNotificationUri(getContext().getContentResolver(), url); local 117 public String getType(Uri url) { 118 int match = sURLMatcher.match(url); 125 throw new IllegalArgumentException("Unknown URL"); 130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 113 public Cursor query(Uri url, String[] projectionIn, String selection, 119 public String getType(Uri url) { 120 int match = sURLMatcher.match(url); 127 throw new IllegalArgumentException("Unknown URL"); 132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { 133 int match = sURLMatcher.match(url); 136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); 137 return getBlobColumnAsFile(url, mode, sql); 142 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString()); 148 throw new FileNotFoundException("No files supported by provider at " + url); [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver4.java | 53 public boolean acceptsURL(String url) throws SQLException { 55 if (url == null) { 58 // Everything's fine if the quoted url starts with the base url for this 60 if (url.startsWith(baseURL)) { 74 public Connection connect(String url, Properties info) throws SQLException { 75 // Does the URL have the right form? 76 if (this.acceptsURL(url)) { 77 // The datasource name is the remainder of the url after the ":" 78 String datasource = url.substring(baseURL.length() + 1) [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
OkHttp.java | 23 import java.net.URL; 53 @Override public Runnable request(URL url) { 54 return new OkHttpRequest(url); 58 private final URL url; field in class:OkHttp.OkHttpRequest 60 public OkHttpRequest(URL url) { 61 this.url = url; [all...] |
UrlConnection.java | 22 import java.net.URL; 49 @Override public Runnable request(URL url) { 50 return new UrlConnectionRequest(url); 54 private final URL url; field in class:UrlConnection.UrlConnectionRequest 56 public UrlConnectionRequest(URL url) { 57 this.url = url; [all...] |