/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);
|
/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...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 74 * Decode a content URL into the table, projection, and arguments 83 SqlArguments(Uri url, String where, String[] args) { 84 if (url.getPathSegments().size() == 1) { 85 this.table = url.getPathSegments().get(0); 88 } else if (url.getPathSegments().size() != 2) { 89 throw new IllegalArgumentException("Invalid URI: " + url); 91 throw new UnsupportedOperationException("WHERE clause not supported: " + url); 93 this.table = url.getPathSegments().get(0); 96 this.args = new String[] { url.getPathSegments().get(1) }; 98 this.where = "_id=" + ContentUris.parseId(url); 312 ret.setNotificationUri(getContext().getContentResolver(), url); local [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...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
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 | 81 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 87 assertLoadUrlSuccessfully(url); 96 assertLoadUrlSuccessfully(url); 106 assertLoadUrlSuccessfully(url); 120 String url = mWebServer.getAuthAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 124 assertLoadUrlSuccessfully(url); 130 private void assertLoadUrlSuccessfully(String url) throws InterruptedException { 131 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) {
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/midi/spi/ |
MidiFileReader.java | 23 import java.net.URL; 37 public abstract MidiFileFormat getMidiFileFormat(URL url) 46 public abstract Sequence getSequence(URL url)
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/spi/ |
AudioFileReader.java | 23 import java.net.URL; 37 public abstract AudioFileFormat getAudioFileFormat(URL url) 46 public abstract AudioInputStream getAudioInputStream(URL url)
|
/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)
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8EventSourceConstructor.cpp | 62 String url = toWebCoreString(args[0]); local 64 RefPtr<EventSource> eventSource = EventSource::create(url, context, ec);
|
/external/webkit/WebCore/css/ |
CSSHelper.cpp | 30 String deprecatedParseURL(const String& url) 32 StringImpl* i = url.impl();
|
/external/webkit/WebCore/inspector/ |
TimelineRecordFactory.h | 55 static ScriptObject createXHRReadyStateChangeData(InspectorFrontend*, const String& url, int readyState); 57 static ScriptObject createXHRLoadData(InspectorFrontend*, const String& url);
|
/external/webkit/WebCore/loader/ |
RedirectScheduler.h | 57 void scheduleRedirect(double delay, const String& url); 58 void scheduleLocationChange(const String& url, const String& referrer, bool lockHistory = true, bool lockBackForwardList = true, bool userGesture = false);
|
/external/webkit/WebCore/loader/icon/ |
IconRecord.cpp | 42 IconRecord::IconRecord(const String& url) 43 : m_iconURL(url) 52 LOG(IconDatabase, "Destroying IconRecord for icon url %s", m_iconURL.ascii().data());
|
/external/webkit/WebCore/notifications/ |
NotificationCenter.idl | 37 [V8Custom] Notification createHTMLNotification(in DOMString url) raises(Exception);
|
/external/webkit/WebCore/platform/chromium/ |
ChromiumBridge.h | 86 static void setCookies(const KURL& url, const KURL& firstPartyForCookies, const String& value); 87 static String cookies(const KURL& url, const KURL& firstPartyForCookies); 88 static String cookieRequestHeaderFieldValue(const KURL& url, const KURL& firstPartyForCookies); 89 static bool rawCookies(const KURL& url, const KURL& firstPartyForCookies, Vector<Cookie>*); 90 static void deleteCookie(const KURL& url, const String& cookieName); 91 static bool cookiesEnabled(const KURL& url, const KURL& firstPartyForCookies); 137 static String signedPublicKeyAndChallengeString(unsigned keySizeIndex, const String& challenge, const KURL& url); 214 static LinkHash visitedLinkHash(const UChar* url, unsigned length);
|
/external/webkit/WebCore/platform/graphics/mac/ |
MediaPlayerProxy.h | 73 - (void)_load:(NSURL *)url; 76 - (void)_setPoster:(NSURL *)url;
|
/external/webkit/WebCore/platform/network/qt/ |
SocketStreamHandleQt.cpp | 43 SocketStreamHandlePrivate::SocketStreamHandlePrivate(SocketStreamHandle* streamHandle, const KURL& url) : QObject() 47 bool isSecure = url.protocolIs("wss"); 66 unsigned int port = url.hasPort() ? url.port() : (isSecure ? 443 : 80); 68 QString host = url.host(); 160 SocketStreamHandle::SocketStreamHandle(const KURL& url, SocketStreamHandleClient* client) 161 : SocketStreamHandleBase(url, client) 164 m_p = new SocketStreamHandlePrivate(this, url);
|
/external/webkit/WebCore/plugins/ |
npapi.cpp | 72 NPError NPN_GetURLNotify(NPP instance, const char* url, const char* target, void* notifyData) 74 return pluginViewForInstance(instance)->getURLNotify(url, target, notifyData); 77 NPError NPN_GetURL(NPP instance, const char* url, const char* target) 79 return pluginViewForInstance(instance)->getURL(url, target); 82 NPError NPN_PostURLNotify(NPP instance, const char* url, const char* target, uint32 len, const char* buf, NPBool file, void* notifyData) 84 return pluginViewForInstance(instance)->postURLNotify(url, target, len, buf, file, notifyData); 87 NPError NPN_PostURL(NPP instance, const char* url, const char* target, uint32 len, const char* buf, NPBool file) 89 return pluginViewForInstance(instance)->postURL(url, target, len, buf, file);
|
/external/webkit/WebCore/workers/ |
DedicatedWorkerContext.h | 46 static PassRefPtr<DedicatedWorkerContext> create(const KURL& url, const String& userAgent, DedicatedWorkerThread* thread) 48 return adoptRef(new DedicatedWorkerContext(url, userAgent, thread));
|