/frameworks/base/core/java/android/content/ |
IContentProvider.java | 36 public Cursor query(Uri url, String[] projection, String selection, 38 public String getType(Uri url) throws RemoteException; 39 public Uri insert(Uri url, ContentValues initialValues) 41 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; 42 public int delete(Uri url, String selection, String[] selectionArgs) 44 public int update(Uri url, ContentValues values, String selection, 46 public ParcelFileDescriptor openFile(Uri url, String mode) 48 public AssetFileDescriptor openAssetFile(Uri url, String mode) 55 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException; 56 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 46 public boolean shouldOverrideUrlLoading(WebView view, String url) { 47 return mWrappedClient.shouldOverrideUrlLoading(view, url); 52 public void onPageStarted(WebView view, String url, Bitmap favicon) { 53 mWrappedClient.onPageStarted(view, url, favicon); 58 public void onPageFinished(WebView view, String url) { 59 mWrappedClient.onPageFinished(view, url); 64 public void onLoadResource(WebView view, String url) { 65 mWrappedClient.onLoadResource(view, url); 92 public void doUpdateVisitedHistory(WebView view, String url, 94 mWrappedClient.doUpdateVisitedHistory(view, url, isReload) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_util.cc | 30 const GURL& url, 35 context_getter->GetURLRequestContext()->cookie_store()->GetCookies(url); 40 const GURL& url, 46 GetCookieMonster()->GetAllCookiesForURL(url); 51 const GURL& url, 58 SetCookie(url, value); 63 const GURL& url, 73 url, cookie.Name(), cookie.Value(), original_domain, 80 const GURL& url, 85 DeleteCookie(url, name) 189 std::string url; local 234 std::string url, name; local 265 std::string url; local [all...] |
/frameworks/base/core/java/android/webkit/ |
WebIconDatabase.java | 67 IconResult(String url, Bitmap icon, IconListener l) { 68 mUrl = url; 110 String url = msg.getData().getString("url"); 111 requestIconAndSendResult(url, l); 158 new String[] { Browser.BookmarkColumns.URL }, 162 String url = c.getString(0); local 163 requestIconAndSendResult(url, listener); 173 private void requestIconAndSendResult(String url, IconListener listener) { 174 Bitmap icon = nativeIconForPageUrl(url); [all...] |
FrameLoader.java | 106 String url = mListener.url(); local 108 // Process intercepted requests first as they could be any url. 118 } else if (URLUtil.isNetworkUrl(url)){ 125 // Make sure the host part of the url is correctly 140 } else if (handleLocalFile(url, mListener, mSettings)) { 144 Log.v(LOGTAG, "FrameLoader.executeLoad: url protocol not supported:" 145 + mListener.url()); 154 private static boolean handleLocalFile(String url, LoadListener loadListener, 158 // Attempt to decode the percent-encoded url before passing to th [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockContentProvider.java | 61 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { 62 return MockContentProvider.this.bulkInsert(url, initialValues); 66 public int delete(Uri url, String selection, String[] selectionArgs) 68 return MockContentProvider.this.delete(url, selection, selectionArgs); 72 public String getType(Uri url) throws RemoteException { 73 return MockContentProvider.this.getType(url); 77 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { 78 return MockContentProvider.this.insert(url, initialValues); 82 public AssetFileDescriptor openAssetFile(Uri url, String mode) throws RemoteException, 84 return MockContentProvider.this.openAssetFile(url, mode) [all...] |
/external/chromium/chrome/browser/renderer_host/ |
offline_resource_handler.cc | 98 const GURL& url, 100 if (ShouldShowOfflinePage(url)) { 102 deferred_url_ = url; 104 << ", url=" << url; local 113 url, appcache_completion_callback_); 118 return next_handler_->OnWillStart(request_id, url, defer); 162 bool OfflineResourceHandler::IsRemote(const GURL& url) const { 163 return url.SchemeIs(chrome::kFtpScheme) || 164 url.SchemeIs(chrome::kHttpScheme) | 178 const GURL url = deferred_url_; local [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url.cc | 32 // Known parameters found in the URL. 78 TemplateURLRef::TemplateURLRef(const std::string& url, 81 : url_(url), 89 void TemplateURLRef::Set(const std::string& url, 92 url_ = url; 103 std::string* url, 109 if ((*url)[end - 1] == kOptional) { 113 std::string parameter(url->substr(start + 1, length)); 114 std::string full_parameter(url->substr(start, end - start + 1)); 116 url->erase(start, end - start + 1) 340 std::string url = parsed_url_; local [all...] |
/external/chromium/chrome/browser/webdata/ |
web_apps_table_unittest.cc | 47 GURL url("http://google.com/"); 50 EXPECT_FALSE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 53 EXPECT_TRUE(db.GetWebAppsTable()->SetWebAppHasAllImages(url, true)); 54 EXPECT_TRUE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 57 EXPECT_TRUE(db.GetWebAppsTable()->RemoveWebApp(url)); 58 EXPECT_FALSE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 65 GURL url("http://google.com/"); 69 ASSERT_TRUE(db.GetWebAppsTable()->GetWebAppImages(url, &images)); 77 ASSERT_TRUE(db.GetWebAppsTable()->SetWebAppImage(url, image)); 80 ASSERT_TRUE(db.GetWebAppsTable()->GetWebAppImages(url, &images)) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
imageinfo.js | 17 function readFileData(url, callback) { 19 url, 27 files[url] = tags; 156 ImageInfo.loadInfo = function(url, cb) { 157 if (!files[url]) { 158 readFileData(url, cb); 164 ImageInfo.getAllFields = function(url) { 165 if (!files[url]) return null; 168 for (var a in files[url]) { 169 if (files[url].hasOwnProperty(a) [all...] |
/external/chromium/chrome/common/net/ |
url_fetcher_unittest.cc | 78 virtual void CreateFetcher(const GURL& url); 82 const GURL& url, 123 void URLFetcherTest::CreateFetcher(const GURL& url) { 124 fetcher_ = new URLFetcher(url, URLFetcher::GET, this); 131 const GURL& url, 154 virtual void CreateFetcher(const GURL& url); 158 const GURL& url, 170 const GURL& url, 180 virtual void CreateFetcher(const GURL& url); 183 const GURL& url, [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
CachedResourceLoader.h | 62 CachedImage* requestImage(const String& url); 63 CachedCSSStyleSheet* requestCSSStyleSheet(const String& url, const String& charset, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved); 64 CachedCSSStyleSheet* requestUserCSSStyleSheet(const String& url, const String& charset); 65 CachedScript* requestScript(const String& url, const String& charset); 66 CachedFont* requestFont(const String& url); 69 CachedXSLStyleSheet* requestXSLStyleSheet(const String& url); 72 CachedResource* requestLinkResource(const String &url, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved); 75 // Logs an access denied message to the console for the specified URL. 76 void printAccessDeniedMessage(const KURL& url) const; 78 CachedResource* cachedResource(const String& url) const [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
HistoryDelegate.mm | 42 NSURL *url = [navigationData url] ? [NSURL URLWithString:[navigationData url]] : nil; 47 printf("WebView navigated to url \"%s\" with title \"%s\" with HTTP equivalent method \"%s\". The navigation was %s and was %s%s.\n", 48 url ? [[url _drt_descriptionSuitableForTestResult] UTF8String] : "<none>", 70 - (void)webView:(WebView *)webView updateHistoryTitle:(NSString *)title forURL:(NSString *)url 72 printf("WebView updated the title for history URL \"%s\" to \"%s\".\n", [[[NSURL URLWithString:url]_drt_descriptionSuitableForTestResult] UTF8String], [title UTF8String]);
|
/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/webkit/Source/WebCore/loader/ |
NavigationScheduler.cpp | 97 ScheduledURLNavigation(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool duringLoad, bool isLocationChange) 100 , m_url(url) 128 String url() const { return m_url; } function in class:WebCore::ScheduledURLNavigation 140 ScheduledRedirect(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, bool lockHistory, bool lockBackForwardList) 141 : ScheduledURLNavigation(delay, securityOrigin, url, String(), lockHistory, lockBackForwardList, false, false) 151 ScheduledLocationChange(PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool duringLoad) 152 : ScheduledURLNavigation(0.0, securityOrigin, url, referrer, lockHistory, lockBackForwardList, duringLoad, true) { } 157 ScheduledRefresh(PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer) 158 : ScheduledURLNavigation(0.0, securityOrigin, url, referrer, true, true, false, true) 165 frame->loader()->changeLocation(securityOrigin(), KURL(ParsedURLString, url()), referrer(), lockHistory(), lockBackForwardList(), true) 361 const KURL& url = m_frame->document()->url(); local [all...] |
/external/webkit/Source/WebCore/platform/network/ |
DataURL.cpp | 43 ASSERT(handle->firstRequest().url().protocolIs("data")); 44 String url = handle->firstRequest().url().string(); local 46 int index = url.find(','); 52 String mediaType = url.substring(5, index - 5); 53 String data = url.substring(index + 1); 68 response.setURL(handle->firstRequest().url());
|
/external/chromium/chrome/browser/history/ |
thumbnail_database_unittest.cc | 121 GURL url("http://google.com"); 122 FaviconID id = db.AddFavicon(url, FAVICON); 131 EXPECT_EQ(url, url_out); 147 GURL url("http://google.com"); 148 FaviconID id = db.AddFavicon(url, TOUCH_ICON); 153 EXPECT_NE(0, db.AddIconMapping(url, id)); 155 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); 157 EXPECT_EQ(url, icon_mapping.front().page_url); 169 GURL url("http://google.com"); 170 FaviconID id = db.AddFavicon(url, TOUCH_ICON) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Bookmarks.java | 61 * @param url URL of the website to be bookmarked. 69 /* package */ static void addBookmark(Context context, boolean showToast, String url, 76 values.put(BrowserContract.Bookmarks.URL, url); 92 * Remove a bookmark from the database. If the url is a visited site, it 99 * @param url URL of the website to be removed. 102 ContentResolver cr, String url, String title) { 108 BrowserContract.Bookmarks.URL + " = ? AND " [all...] |
/external/chromium/chrome/browser/extensions/ |
app_process_apitest.cc | 21 // Simulates a page calling window.open on an URL, and waits for the navigation. 24 const GURL& url, 27 opener_host, L"", L"window.open('" + UTF8ToWide(url.spec()) + L"');")); 37 newtab->controller().GetLastCommittedEntry()->url() != url) 39 EXPECT_EQ(url, newtab->controller().GetLastCommittedEntry()->url()); 46 // Simulates a page navigating itself to an URL, and waits for the navigation. 47 static void NavigateTabHelper(TabContents* contents, const GURL& url) { 54 L"window.location = '" + UTF8ToWide(url.spec()) + L"';" [all...] |
extension_webnavigation_unittest.cc | 56 const GURL url("http://www.google.com/"); 58 navigation_state.TrackFrame(frame_id, url, true, false, contents()); 70 navigation_state.TrackFrame(frame_id, url, true, false, contents()); 80 const GURL url("http://www.google.com/"); 82 navigation_state.TrackFrame(frame_id1, url, true, false, contents()); 83 navigation_state.TrackFrame(frame_id2, url, false, false, contents()); 98 navigation_state.TrackFrame(frame_id2, url, false, false, contents()); 107 const GURL url("unsafe://www.google.com/"); 109 navigation_state.TrackFrame(frame_id, url, true, false, contents());
|
/external/chromium/chrome/browser/chromeos/login/ |
account_screen.cc | 79 void AccountScreen::set_new_account_page_url(const GURL& url) { 80 new_account_page_url_.reset(new GURL(url)); 98 GURL url(*new_account_page_url_); 101 SiteInstance::CreateSiteInstanceForURL(profile, url)); 103 view()->LoadURL(url); 113 std::string url = source->GetURL().spec(); local 114 if (url == kCreateAccountDoneUrl) { 117 } else if (url == kCreateAccountBackUrl) { 156 void AccountScreen::OnPageLoadFailed(const std::string& url) {
|
/external/chromium/chrome/browser/net/ |
referrer.cc | 26 // If we visit the containing url, but don't end up needing a connection, then 31 // to the containing URL, and consider doing a preconnection), and then IFF we 55 void Referrer::SuggestHost(const GURL& url) { 64 if (!url.has_host()) // TODO(jar): Is this really needed???? 66 DCHECK(url == url.GetWithEmptyPath()); 67 SubresourceMap::iterator it = find(url); 77 (*this)[url].SubresourceIsNeeded(); 136 GURL url(url_spec); 142 SuggestHost(url); [all...] |
/external/chromium/chrome/browser/ |
desktop_notification_handler.cc | 43 GURL url = params.contents_url; local 45 !url.SchemeIs(chrome::kHttpScheme) && 46 !url.SchemeIs(chrome::kHttpsScheme) && 47 !url.SchemeIs(chrome::kExtensionScheme) && 48 !url.SchemeIs(chrome::kDataScheme)) {
|