/external/webkit/Source/WebKit/gtk/tests/ |
testwebsettings.c | 31 gchar* userAgent; 41 userAgent = NULL; 43 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); 44 g_assert_cmpstr(userAgent, ==, "testwebsettings/0.1"); 45 g_free(userAgent); 48 userAgent = NULL; 50 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); 51 g_assert_cmpstr(userAgent, ==, defaultUserAgent); 52 g_free(userAgent); 54 userAgent = NULL [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
UserAgentParser.java | 33 * Parser for UserAgent header. 47 * @param userAgent - 48 * UserAgent header to parse 50 public UserAgentParser(String userAgent) { 51 super(userAgent); 68 * @return SIPHeader (UserAgent object) 75 UserAgent userAgent = new UserAgent(); 91 userAgent.addProductToken('(' + comment + ')') [all...] |
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebFrameNetworkingContext.h | 28 static PassRefPtr<WebFrameNetworkingContext> create(WebCore::Frame*, const WTF::String& userAgent); 31 WebFrameNetworkingContext(WebCore::Frame* frame, const WTF::String& userAgent) 33 , m_userAgent(userAgent) 37 virtual WTF::String userAgent() const;
|
WebFrameNetworkingContext.cpp | 26 PassRefPtr<WebFrameNetworkingContext> WebFrameNetworkingContext::create(Frame* frame, const String& userAgent) 28 return adoptRef(new WebFrameNetworkingContext(frame, userAgent)); 31 String WebFrameNetworkingContext::userAgent() const
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MessageFactoryExt.java | 16 * Set the common UserAgent header for all Requests created from this message factory. 20 * @param userAgent -- the user agent header to set. 24 public void setDefaultUserAgentHeader(UserAgentHeader userAgent); 32 * @param userAgent -- the user agent header to set. 38 public void setDefaultServerHeader(ServerHeader userAgent);
|
MessageFactoryImpl.java | 63 * The UserAgent header to include for all requests created from this message factory. 65 private static UserAgentHeader userAgent; 142 if ( userAgent != null ) { 143 sipRequest.setHeader(userAgent); 201 if ( userAgent != null ) { 202 sipRequest.setHeader(userAgent); 250 if (userAgent != null) { 251 sipRequest.setHeader(userAgent); 310 if (userAgent != null) { 311 sipResponse.setHeader(userAgent); [all...] |
/external/webkit/Source/WebCore/workers/ |
DedicatedWorkerThread.cpp | 42 PassRefPtr<DedicatedWorkerThread> DedicatedWorkerThread::create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy) 44 return adoptRef(new DedicatedWorkerThread(scriptURL, userAgent, sourceCode, workerLoaderProxy, workerObjectProxy)); 47 DedicatedWorkerThread::DedicatedWorkerThread(const KURL& url, const String& userAgent, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy) 48 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerObjectProxy) 57 PassRefPtr<WorkerContext> DedicatedWorkerThread::createWorkerContext(const KURL& url, const String& userAgent) 59 return DedicatedWorkerContext::create(url, userAgent, this);
|
SharedWorkerThread.cpp | 41 PassRefPtr<SharedWorkerThread> SharedWorkerThread::create(const String& name, const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy) 43 return adoptRef(new SharedWorkerThread(name, scriptURL, userAgent, sourceCode, workerLoaderProxy, workerReportingProxy)); 46 SharedWorkerThread::SharedWorkerThread(const String& name, const KURL& url, const String& userAgent, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy) 47 : WorkerThread(url, userAgent, sourceCode, workerLoaderProxy, workerReportingProxy) 56 PassRefPtr<WorkerContext> SharedWorkerThread::createWorkerContext(const KURL& url, const String& userAgent) 58 return SharedWorkerContext::create(m_name, url, userAgent, this);
|
DedicatedWorkerThread.h | 43 static PassRefPtr<DedicatedWorkerThread> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderProxy&, WorkerObjectProxy&); 48 virtual PassRefPtr<WorkerContext> createWorkerContext(const KURL& url, const String& userAgent); 52 DedicatedWorkerThread(const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderProxy&, WorkerObjectProxy&);
|
SharedWorkerThread.h | 41 static PassRefPtr<SharedWorkerThread> create(const String& name, const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderProxy&, WorkerReportingProxy&); 48 SharedWorkerThread(const String& name, const KURL&, const String& userAgent, const String& sourceCode, WorkerLoaderProxy&, WorkerReportingProxy&);
|
WorkerThread.cpp | 67 static PassOwnPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode) 69 return new WorkerThreadStartupData(scriptURL, userAgent, sourceCode); 76 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode); 79 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode) 81 , m_userAgent(userAgent.crossThreadString()) 86 WorkerThread::WorkerThread(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy) 90 , m_startupData(WorkerThreadStartupData::create(scriptURL, userAgent, sourceCode))
|
/external/webkit/Source/WebKit/wince/WebCoreSupport/ |
FrameNetworkingContextWinCE.h | 34 static PassRefPtr<FrameNetworkingContextWinCE> create(WebCore::Frame* frame, const WTF::String& userAgent) 36 return adoptRef(new FrameNetworkingContextWinCE(frame, userAgent)); 39 virtual WTF::String userAgent() const; 44 FrameNetworkingContextWinCE(WebCore::Frame* frame, const WTF::String& userAgent);
|
FrameNetworkingContextWinCE.cpp | 35 FrameNetworkingContextWinCE::FrameNetworkingContextWinCE(Frame* frame, const String& userAgent) 37 , m_userAgent(userAgent) 41 String FrameNetworkingContextWinCE::userAgent() const
|
/external/webkit/Source/WebCore/page/ |
WorkerNavigator.cpp | 35 WorkerNavigator::WorkerNavigator(const String& userAgent) 36 : m_userAgent(userAgent) 44 String WorkerNavigator::userAgent() const
|
WorkerNavigator.h | 41 static PassRefPtr<WorkerNavigator> create(const String& userAgent) { return adoptRef(new WorkerNavigator(userAgent)); } 44 virtual String userAgent() const;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 42 * Creates an HttpClient with the userAgent string constructed from the 51 * Creates an HttpClient with the specified userAgent string. 52 * @param userAgent the userAgent string 55 public static HttpClient newHttpClient(String userAgent) { 61 Object instance = newInstance.invoke(null, userAgent);
|
/frameworks/base/core/java/android/webkit/ |
DownloadListener.java | 24 * @param userAgent the user agent to be used for the download. 30 public void onDownloadStart(String url, String userAgent,
|
/external/chromium/chrome/common/extensions/docs/js/ |
bootstrap.js | 20 (navigator.userAgent.indexOf("Chrome") > -1) && 42 } else if ((navigator.userAgent.indexOf("Chrome") > -1) &&
|
/libcore/luni/src/main/java/libcore/net/http/ |
RequestHeaders.java | 55 private String userAgent; 107 userAgent = value; 171 return userAgent; 218 public void setUserAgent(String userAgent) { 219 if (this.userAgent != null) { 222 headers.add("User-Agent", userAgent); 223 this.userAgent = userAgent;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
UserAgent.java | 36 * the UserAgent SIPObject. 44 public class UserAgent extends SIPHeader implements UserAgentHeader { 80 public UserAgent() { 114 "JAIN-SIP Exception, UserAgent, " 121 UserAgent retval = (UserAgent) super.clone(); 129 * $Log: UserAgent.java,v $
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestUserAgent.java | 62 String useragent = HttpProtocolParams.getUserAgent(request.getParams()); local 63 if (useragent != null) { 64 request.addHeader(HTTP.USER_AGENT, useragent);
|
/external/chromium/chrome/browser/resources/ |
about_version.html | 55 #useragent { 90 <td class="version" id="useragent" i18n-content="useragent"></td>
|
/packages/apps/Browser/src/com/android/browser/ |
DownloadHandler.java | 53 * @param userAgent User agent of the downloading application. 59 String userAgent, String contentDisposition, String mimetype, 97 onDownloadStartNoStream(activity, url, userAgent, contentDisposition, 136 * @param userAgent User agent of the downloading application. 142 String url, String userAgent, String contentDisposition, 215 userAgent).start();
|
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParamBean.java | 54 public void setUserAgent (final String userAgent) { 55 HttpProtocolParams.setUserAgent(params, userAgent);
|
/external/webkit/Source/WebCore/inspector/ |
InspectorPageAgent.h | 63 void setUserAgentOverride(ErrorString*, const String& userAgent); 77 void applyUserAgentOverride(String* userAgent) const;
|