/libcore/luni/src/test/java/libcore/java/net/ |
OldJarURLConnectionTest.java | 27 import java.net.URL; 46 private URL createContent(String jarFile, String inFile) 54 return new URL("jar:file:" + file.getPath() + "!/" + inFile); 58 URL u = createContent("lf.jar", "swt.dll"); 63 URL invURL = createContent("InvalidJar.jar", "Test.class"); 75 URL u = createContent("TestCodeSigners.jar", "Test.class"); 88 URL invURL = createContent("InvalidJar.jar", "Test.class"); 100 URL u = createContent("lf.jar", "swt.dll"); 108 URL invURL = createContent("InvalidJar.jar", "Test.class"); 120 URL u = createContent("lf.jar", "plus.bmp") 132 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 160 URL url = createContent("lf.jar", "missing"); local 229 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 261 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 299 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local 312 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
PopularUrlsTest.java | 147 public boolean onJsAlert(WebView view, String url, String message, 149 String logMsg = String.format("JS Alert '%s' received from %s", message, url); 160 public boolean onJsConfirm(WebView view, String url, String message, 163 message, url); 174 public boolean onJsPrompt(WebView view, String url, String message, 177 "Giving default value '%s'", message, url, defaultValue); 193 String message = String.format("Error '%s' (%d) loading url: %s", 221 public void onPageFinished(WebView view, String url) { 270 private String url; field in class:PopularUrlsTest.RunStatus 327 output.write(url + newLine) 427 String url = webView.getUrl(); local [all...] |
/external/chromium/net/proxy/ |
mock_proxy_resolver.h | 25 const GURL& url, 29 url_(url), 35 const GURL& url() const { return url_; } function in class:net::MockAsyncProxyResolverBase::Request 96 virtual int GetProxyForURL(const GURL& url, 101 scoped_refptr<Request> request = new Request(this, url, results, callback);
|
/external/webkit/WebCore/loader/ |
HistoryController.cpp | 233 const KURL& currentURL = m_frame->loader()->documentLoader()->url(); 234 if (!equalIgnoringFragmentIdentifier(currentURL, item->url())) 287 LOG(History, "WebCoreHistory: Updating History for Standard Load in frame %s", m_frame->loader()->documentLoader()->url().string().ascii().data()); 308 m_currentItem->setURL(frameLoader->documentLoader()->url()); 316 if (!frameLoader->documentLoader()->didCreateGlobalHistoryEntry() && frameLoader->documentLoader()->unreachableURL().isEmpty() && !frameLoader->url().isEmpty()) 347 m_currentItem->setURL(m_frame->loader()->documentLoader()->url()); 360 if (!m_frame->loader()->documentLoader()->didCreateGlobalHistoryEntry() && m_frame->loader()->documentLoader()->unreachableURL().isEmpty() && !m_frame->loader()->url().isEmpty()) 373 // webcore has closed the URL and saved away the form state. 401 // Note previousItem must be set before we close the URL, which will 412 if (m_frame->loader()->url().isEmpty() 455 KURL url; local [all...] |
/external/webkit/WebCore/platform/gtk/ |
ClipboardGtk.cpp | 133 void ClipboardGtk::declareAndWriteDragImage(Element* element, const KURL& url, const String& label, Frame*) 149 writeURL(url, label, 0); 152 void ClipboardGtk::writeURL(const KURL& url, const String& label, Frame*) 162 gtk_clipboard_set_text(textClipboard, url.string().utf8().data(), -1); 163 gtk_clipboard_set_text(urlClipboard, url.string().utf8().data(), -1);
|
/external/webkit/WebCore/xml/ |
XSLTProcessorQt.cpp | 109 QUrl url = baseURI.resolved(relative); local 111 if (!m_document->frame() || !m_document->securityOrigin()->canRequest(url)) 113 return url; 124 node->document()->url().string(), 125 node->document()->url()); // FIXME: Should we use baseURL here?
|
/external/webkit/WebKit/chromium/src/ |
SharedWorkerRepository.cpp | 66 SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, const KURL& url, const String& name, PassOwnPtr<MessagePortChannel> port, PassOwnPtr<WebSharedWorker> webWorker) 68 , m_url(url) 185 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel> port, const KURL& url, const String& name, ExceptionCode& ec) 196 webWorker = webFrame->client()->createSharedWorker(webFrame, url, name, getId(document)); 199 // Existing worker does not match this url, so return an error back to the caller. 209 SharedWorkerScriptLoader* loader = new SharedWorkerScriptLoader(worker, url, name, port.release(), webWorker.release());
|
StorageAreaProxy.cpp | 78 m_storageArea->setItem(key, value, frame->document()->url(), quotaException, oldValue); 89 m_storageArea->removeItem(key, frame->document()->url(), oldValue); 98 m_storageArea->clear(frame->document()->url(), clearedSomething); 127 frames[i]->document()->enqueueStorageEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), frames[i]->domWindow()->sessionStorage())); 140 frames[i]->document()->enqueueStorageEvent(StorageEvent::create(eventNames().storageEvent, key, oldValue, newValue, sourceFrame->document()->url(), frames[i]->domWindow()->localStorage()));
|
WebDragData.cpp | 67 WebURL WebDragData::url() const function in class:WebKit::WebDragData 70 return m_private->url; 73 void WebDragData::setURL(const WebURL& url) 76 m_private->url = url;
|
/external/webkit/WebKit/qt/Api/ |
qwebview.h | 44 Q_PROPERTY(QUrl url READ url WRITE setUrl) 61 void load(const QUrl& url); 72 void setUrl(const QUrl &url); 73 QUrl url() const;
|
/external/webkit/WebKit/win/ |
WebHistory.h | 67 /* [in] */ BSTR url, 72 /* [in] */ BSTR url, 96 /* [in] */ BSTR url, 144 HRESULT loadHistoryGutsFromURL(CFURLRef url, CFMutableArrayRef discardedItems, IWebError** error); 145 HRESULT saveHistoryGuts(CFURLRef url, IWebError** error);
|
/external/webkit/WebKitTools/DumpRenderTree/win/ |
PolicyDelegate.cpp | 100 BSTR url; local 101 request->URL(&url); 102 wstring wurl = urlSuitableForTestResult(wstring(url, SysStringLen(url))); 149 SysFreeString(url);
|
/external/webkit/WebKitTools/DumpRenderTree/wx/ |
LayoutTestControllerWx.cpp | 45 void LayoutTestController::addDisallowedURL(JSStringRef url) 87 JSStringRef LayoutTestController::pathToLocalResource(JSContextRef context, JSStringRef url) 90 return JSStringRetain(url); // Do nothing on Unix. 93 void LayoutTestController::queueLoad(JSStringRef url, JSStringRef target) 96 WorkQueue::shared()->queue(new LoadItem(url, target));
|
/frameworks/base/core/java/android/webkit/ |
JWebCoreJavaBridge.java | 161 * Store a cookie string associated with a url. 162 * @param url The url to be used as a key for the cookie. 165 private void setCookies(String url, String value) { 186 CookieManager.getInstance().setCookie(url, value); 190 * Retrieve the cookie string for the given url. 191 * @param url The resource's url. 192 * @return A String representing the cookies for the given resource url. 194 private String cookies(String url) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/ |
StkCmdMessage.java | 41 public String url; field in class:StkCmdMessage.BrowserSettings 75 mBrowserSettings.url = ((LaunchBrowserParams) cmdParams).url; 99 mBrowserSettings.url = in.readString(); 120 dest.writeString(mBrowserSettings.url);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
ContentHandlerFactoryTest.java | 18 import java.net.URL; 58 URL url = new URL("http://" + local 63 URLConnection con = url.openConnection(); 98 URL url; local 100 url = new URL("http://" + 102 assertNotNull(ch.getContent(url.openConnection())) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
CombinedBookmarkHistoryActivity.java | 67 public void onReceivedIcon(String url, Bitmap icon) { 68 mUrlsToIcons.put(url, icon); 70 listener.onReceivedIcon(url, icon); 79 public Bitmap getFavicon(String url) { 80 return (Bitmap) mUrlsToIcons.get(url);
|
BrowserActivity.java | 126 import java.net.URL; 483 // If the WebView has the same original url and is on that 504 // with a matching url. 512 // if FLAG_ACTIVITY_BROUGHT_TO_FRONT flag is on, the url 514 // MAX_TABS. Then the url will be opened in the current 564 String url = null; 572 if (data != null) url = data.toString(); 576 url = intent.getStringExtra(SearchManager.QUERY); 578 return handleWebSearchRequest(url, intent.getBundleExtra(SearchManager.APP_DATA), 583 * Launches the default web search activity with the query parameters if the given url strin 619 String url = ""; local 1064 String url = c.getString(urlIndex); local 1169 String url = (getTopWindow() == null) ? null : getTopWindow().getUrl(); local 2389 final String url = view.getUrl(); local 3037 String url = null; local 3565 String url = current.getUrl(); local [all...] |
/external/webkit/WebCore/inspector/front-end/ |
ScriptsPanel.js | 319 scriptForURL: function(url) 321 return this._scriptsForURLsInFilesSelect[url]; 329 if (breakpoint.url) { 330 if (!(breakpoint.url in this._breakpointsURLMap)) 331 this._breakpointsURLMap[breakpoint.url] = []; 332 this._breakpointsURLMap[breakpoint.url].unshift(breakpoint); 334 if (breakpoint.url in WebInspector.resourceURLMap) { 335 var resource = WebInspector.resourceURLMap[breakpoint.url]; 354 if (breakpoint.url && breakpoint.url in this._breakpointsURLMap) 630 var url = scriptOrResource.url || scriptOrResource.sourceURL; variable [all...] |
/external/chromium/net/base/ |
cookie_monster.h | 76 virtual bool SetCookieWithOptions(const GURL& url, 79 virtual std::string GetCookiesWithOptions(const GURL& url, 81 virtual void DeleteCookie(const GURL& url, const std::string& cookie_name); 86 bool SetCookieWithCreationTimeAndOptions(const GURL& url, 90 bool SetCookieWithCreationTime(const GURL& url, 93 return SetCookieWithCreationTimeAndOptions(url, cookie_line, creation_time, 102 // using given url scheme and host / domain. This does not mark the cookies 104 CookieList GetAllCookiesForURL(const GURL& url); 155 void FindCookiesForHostAndDomain(const GURL& url, 160 const GURL& url, [all...] |
mime_sniffer.cc | 21 // * Safari 3: Render as text (Note: Safari will Render as HTML if the URL 48 // URL has an GIF extension) 59 // Download as GIF if the URL has an GIF extension) 61 // URL has an GIF extension) 71 // Download as GIF if the URL has an GIF extension) 73 // URL has an GIF extension) 447 static bool SniffCRX(const char* content, size_t content_size, const GURL& url, 466 if (url.path().rfind(kCRXExtension, std::string::npos, kExtensionLength) == 467 url.path().size() - kExtensionLength) { 484 bool ShouldSniffMimeType(const GURL& url, const std::string& mime_type) [all...] |
/external/oauth/core/src/main/java/net/oauth/client/ |
OAuthClient.java | 23 import java.net.URL; 57 * HttpResponseMessage.LOCATION = the redirect URL. Such a redirect can't be 90 * the URL (determined by the service provider) for getting a 107 * the URL (determined by the service provider) for getting a 126 * the URL (determined by the service provider) for getting a 172 * URL (determined by the service provider) for getting an access 210 * the given url isn't valid syntactically 215 String url, Collection<? extends Map.Entry> parameters) 220 OAuthMessage request = accessor.newRequestMessage(httpMethod, url, 245 * the given url isn't valid syntacticall 271 String url = request.URL; local [all...] |
/libcore/luni/src/main/java/java/net/ |
URLConnection.java | 34 * A connection to a URL for reading or writing. For HTTP connections, see 39 * URL url = new URL("ftp://mirror.csclub.uwaterloo.ca/index.html"); 40 * URLConnection urlConnection = url.openConnection(); 69 * usernames and passwords in the URL: {@code 79 * Use {@link URL#setURLStreamHandlerFactory} to register handlers for other 85 * The URL which represents the remote target of this {@code URLConnection}. 87 protected URL url; field in class:URLConnection [all...] |
/packages/apps/Browser/src/com/android/browser/widget/ |
BookmarkWidgetService.java | 116 // Map of urls to ids for when a url is complete. 249 // Set the title of the bookmark. Use the url as a backup. 278 BookmarkColumns._ID, BookmarkColumns.TITLE, BookmarkColumns.URL }; 287 RenderResult(int id, String title, String url) { 290 mUrl = url; 309 String url = c.getString(2); local 314 // Map the url to its db id for lookup when complete. 315 mUrlsToIds.put(url, id); 324 RenderResult res = new RenderResult(id, title, url); 327 // Add the url to our list to render [all...] |
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 131 String url = HELP_URL.replace("%y", locale.getLanguage().toLowerCase()); local 132 url = url.replace("%z", (useCountry ? "_"+locale.getCountry().toLowerCase() : "")); 134 url = url.replace("%x", USB_HELP_MODIFIER); 136 url = url.replace("%x", WIFI_HELP_MODIFIER); 140 url = url.replace("%x", ""); 143 mView.loadUrl(url); [all...] |