/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 77 Uri url = Uri.CREATOR.createFromParcel(data); local 111 IBulkCursor bulkCursor = bulkQuery(url, projection, selection, 132 Uri url = Uri.CREATOR.createFromParcel(data); local 133 String type = getType(url); 143 Uri url = Uri.CREATOR.createFromParcel(data); local 146 Uri out = insert(url, values); 155 Uri url = Uri.CREATOR.createFromParcel(data); local 158 int count = bulkInsert(url, values); 182 Uri url = Uri.CREATOR.createFromParcel(data); local 186 int count = delete(url, selection, selectionArgs) 196 Uri url = Uri.CREATOR.createFromParcel(data); local 211 Uri url = Uri.CREATOR.createFromParcel(data); local 230 Uri url = Uri.CREATOR.createFromParcel(data); local [all...] |
/frameworks/base/core/java/android/webkit/ |
Network.java | 146 * Request a url from either the network or the file system. 147 * @param url The url to load. 159 String url = loader.url(); local 161 // Not a valid url, return false because we won't service the request! 162 if (!URLUtil.isValidUrl(url)) { 168 if (URLUtil.isAssetUrl(url) || URLUtil.isResourceUrl(url) 169 || URLUtil.isFileUrl(url) || URLUtil.isDataUrl(url)) [all...] |
/libcore/luni/src/main/java/java/sql/ |
DriverManager.java | 134 * Attempts to establish a connection to the given database URL. 136 * @param url 137 * a URL string representing the database target to connect with. 138 * @return a {@code Connection} to the database identified by the URL. 142 * database identified by the URL. 144 public static Connection getConnection(String url) throws SQLException { 145 return getConnection(url, new Properties()); 149 * Attempts to establish a connection to the given database URL. 151 * @param url 152 * a URL string representing the database target to connect wit [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserProviderTests.java | 103 private void assertInsertQuery(String url, String title, String query) { 104 addBookmark(url, title); 105 assertQueryReturns(url, title, query); 108 private void assertQueryReturns(String url, String title, String query) { 121 assertEquals("Bad URL", url, data); 131 Cursor c = getContext().getContentResolver().query(suggestUri, null, "url LIKE ?", 137 private void addBookmark(String url, String title) { 138 Uri uri = insertBookmark(url, title); 144 private Uri insertBookmark(String url, String title) [all...] |
/external/webkit/WebCore/platform/network/win/ |
CookieJarCFNetWin.cpp | 67 void setCookies(Document* document, const KURL& url, const String& value) 77 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 95 String cookies(const Document* /*document*/, const KURL& url) 101 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 103 bool secure = url.protocolIs("https"); 109 String cookieRequestHeaderFieldValue(const Document* /*document*/, const KURL& url) 115 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 117 bool secure = url.protocolIs("https"); 131 bool getRawCookies(const Document*, const KURL& url, Vector<Cookie>& rawCookies) 138 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CacheManagerTest.java | 97 final String url = mWebServer.getAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); local 103 CacheResult result = CacheManager.getCacheFile(url, null); 108 loadUrl(url); 112 CacheResult result = CacheManager.getCacheFile(url, null); 134 private void loadUrl(String url){ 135 mWebView.loadUrl(url);
|
WebViewClientTest.java | 93 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 98 mWebView.loadUrl(url); 148 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_FORM_URL); local 150 assertLoadUrlSuccessfully(mWebView, url); 152 // the URL should have changed when the form was posted 153 assertFalse(url.equals(mWebView.getUrl())); 154 // reloading the current URL should trigger the callback 196 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 197 assertLoadUrlSuccessfully(mWebView, url); 258 private void assertLoadUrlSuccessfully(final WebView view, String url) { [all...] |
URLUtilTest.java | 186 assertFalse(URLUtil.isValidUrl("Error URL")); 221 byte[] url = new byte[0]; 222 byte[] result = URLUtil.decode(url); 225 url = new byte[] { 'w', 'w', 'w', '.', 'n', 'a', 'm', 'e', '.', 'c', 'o', 'm', '/', 227 result = URLUtil.decode(url); 232 url = new byte[] { 'w', 'w', 'w', '.', 'n', 'a', 'm', 'e', '.', 'c', 'o', 'm', '/', 235 result = URLUtil.decode(url); 249 String url = "ftp://example.url/test"; local 250 assertEquals("test.jpeg", URLUtil.guessFileName(url, null, "image/jpeg")) 268 String url = "domainName"; local 288 String url = "http:\/\/www.google.com#test"; local [all...] |
HttpAuthHandlerTest.java | 85 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 91 assertLoadUrlSuccessfully(url); 100 assertLoadUrlSuccessfully(url); 110 assertLoadUrlSuccessfully(url); 124 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 128 assertLoadUrlSuccessfully(url); 134 private void assertLoadUrlSuccessfully(String url) throws InterruptedException { 135 mWebView.loadUrl(url);
|
UrlInterceptRegistryTest.java | 90 public CacheResult service(String url, Map<String, String> headers) { 95 public PluginData getPluginData(String url, 101 public CacheResult service(String url, Map<String, String> headers) { 106 public PluginData getPluginData(String url, 112 public CacheResult service(String url, Map<String, String> headers) { 117 public PluginData getPluginData(String url, 139 public CacheResult service(String url, Map<String, String> headers) { 143 public PluginData getPluginData(String url, Map<String, String> headers) {
|
/external/webkit/WebCore/bindings/js/ |
JSDOMApplicationCacheCustom.cpp | 52 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 55 bool result = impl()->hasItem(url, ec); 65 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 68 impl()->add(url, ec); 78 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 81 impl()->remove(url, ec);
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8HistoryCustom.cpp | 52 String url; 54 url = toWebCoreStringWithNullOrUndefinedCheck(args[2]); 61 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectPush, ec); 73 String url; 75 url = toWebCoreStringWithNullOrUndefinedCheck(args[2]); 82 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectReplace, ec);
|
/external/webkit/WebCore/loader/mac/ |
LoaderNSURLExtras.mm | 52 NSString *suggestedFilenameWithMIMEType(NSURL *url, NSString *MIMEType) 54 // Get the filename from the URL. Try the lastPathComponent first. 55 NSString *lastPathComponent = [[url path] lastPathComponent]; 61 NSString *host = KURL(url).host(); 64 // Can't make a filename using this URL, use "unknown".
|
/external/webkit/WebCore/platform/qt/ |
CookieJarQt.cpp | 61 void setCookies(Document* document, const KURL& url, const String& value) 63 QUrl u(url); 82 String cookies(const Document* document, const KURL& url) 84 QUrl u(url); 106 String cookieRequestHeaderFieldValue(const Document* document, const KURL &url) 108 QUrl u(url);
|
/external/webkit/WebKit/android/WebCoreSupport/ |
PlatformBridge.cpp | 83 String PlatformBridge::getSignedPublicKeyAndChallengeString(unsigned index, const String& challenge, const KURL& url) 89 return client->getSignedPublicKeyAndChallengeString(index, challenge, url); 92 void PlatformBridge::setCookies(const KURL& url, const String& value) 98 client->setCookies(url, value); 101 String PlatformBridge::cookies(const KURL& url) 107 return client->cookies(url);
|
/libcore/luni/src/main/java/javax/xml/validation/ |
SecuritySupport.java | 26 import java.net.URL; 81 static InputStream getURLInputStream(final URL url) 88 return url.openStream(); 96 static URL getResourceAsURL(final ClassLoader cl, 99 return (URL) 102 URL url; 104 url = ClassLoader.getSystemResource(name); 107 url = cl.getResource(name) [all...] |
/libcore/luni/src/main/java/javax/xml/xpath/ |
SecuritySupport.java | 26 import java.net.URL; 81 static InputStream getURLInputStream(final URL url) 88 return url.openStream(); 96 static URL getResourceAsURL(final ClassLoader cl, 99 return (URL) 102 URL url; 104 url = ClassLoader.getSystemResource(name); 107 url = cl.getResource(name) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserHomepagePreference.java | 73 String url = getEditText().getText().toString(); local 74 if (url.length() > 0 75 && !BrowserActivity.ACCEPTED_URI_SCHEMA.matcher(url) 77 int colon = url.indexOf(':'); 78 int space = url.indexOf(' '); 80 // if no colon, no space, add "http://" to make it a url 81 getEditText().setText("http://" + url); 84 // false so that the bad url will not override the old url 108 // match_parent so there is more room to type in a url [all...] |
/external/webkit/WebCore/platform/ |
KURL.cpp | 276 static void checkEncodedString(const String& url) 278 for (unsigned i = 0; i < url.length(); ++i) 279 ASSERT(!(url[i] & ~0x7F)); 281 ASSERT(!url.length() || isSchemeFirstChar(url[0])); 310 KURL::KURL(ParsedURLStringTag, const char* url) 312 parse(url, 0); 313 ASSERT(url == m_string); 316 KURL::KURL(ParsedURLStringTag, const String& url) 318 parse(url); [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
SmsProvider.java | 91 public Cursor query(Uri url, String[] projectionIn, String selection, 96 int match = sURLMatcher.match(url); 132 qb.appendWhere("(_id = " + url.getPathSegments().get(0) + ")"); 141 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); 148 threadID = Integer.parseInt(url.getPathSegments().get(1)); 156 + url.getPathSegments().get(1)); 187 "(sms_id = " + url.getPathSegments().get(1) + ")"); 199 qb.appendWhere("(_id = " + url.getPathSegments().get(1) + ")"); 206 String messageIndexString = url.getPathSegments().get(1); 211 Log.e(TAG, "Invalid request: " + url); [all...] |
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 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...] |
/external/chromium/net/base/ |
data_url_unittest.cc | 13 const char* url; member in struct:__anon2519::ParseTestData 88 // the comma cannot be url-escaped! 150 net::DataURL::Parse(GURL(tests[i].url), &mime_type, &charset, &data);
|
sdch_manager.h | 37 // get data from a specified URL. This allows us to use very high level browser 125 PASS_THROUGH_404_CODE = 78, // URL not found message passing through. 172 // advertise the dictionary's availability relative to the suppplied URL. 174 const std::string& client_hash, const GURL& url, 179 const GURL& url() const { return url_; } function in class:SdchManager::Dictionary 200 static bool DomainMatch(const GURL& url, const std::string& restriction); 210 // The GURL that arrived with the text_ in a URL request to specify where 254 static void BlacklistDomain(const GURL& url); 258 static void BlacklistDomainForever(const GURL& url); 273 // Check to see if SDCH is enabled (globally), and the given URL is in [all...] |
/external/chromium/net/url_request/ |
url_request_filter.h | 5 // A class to help filter URLRequest jobs based on the URL of the request 10 // // Add special handling for the URL http://foo.com/ 50 // Returns true if we successfully added the URL handler. This will replace 51 // old handlers for the URL if one existed. 52 bool AddUrlHandler(const GURL& url, URLRequest::ProtocolFactory* factory); 54 void RemoveUrlHandler(const GURL& url); 56 // Clear all the existing URL handlers and unregister with the
|
/external/webkit/WebCore/bindings/v8/ |
ScheduledAction.h | 50 explicit ScheduledAction(v8::Handle<v8::Context> context, const WebCore::String& code, const KURL& url = KURL()) 54 , m_code(code, url)
|