/external/chromium_org/third_party/WebKit/Source/web/tests/ |
FrameLoaderClientImplTest.cpp | 60 void setUserAgentOverride(const WebString& userAgent) 62 m_userAgentOverride = userAgent; 88 void setUserAgentOverride(const WebString& userAgent) 90 return m_webFrameClient.setUserAgentOverride(userAgent); 93 const WebString userAgent() 97 WTF::CString userAgent = m_frameLoaderClientImpl->userAgent(dummyURL).utf8(); 98 return WebString::fromUTF8(userAgent.data(), userAgent.length()); 110 const WebString defaultUserAgent = userAgent(); [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/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...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserDownloadListener.java | 30 * @param userAgent the user agent to be used for the download. 37 public abstract void onDownloadStart(String url, String userAgent, 45 * @param userAgent the user agent to be used for the download. 52 public void onDownloadStart(String url, String userAgent, 55 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
|
DownloadHandler.java | 52 * @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. 143 String url, String userAgent, String contentDisposition, 216 request.addRequestHeader("User-Agent", userAgent); 227 userAgent).start();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
TunnelRequest.java | 34 final String userAgent; 40 * @param userAgent the client's user-agent. Not null. 44 public TunnelRequest(String host, int port, String userAgent, String proxyAuthorization) { 46 if (userAgent == null) throw new NullPointerException("userAgent == null"); 49 this.userAgent = userAgent; 68 result.header("User-Agent", userAgent);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 41 * Creates an HttpClient with the userAgent string constructed from the 50 * Creates an HttpClient with the specified userAgent string. 51 * @param userAgent the userAgent string 54 public static HttpClient newHttpClient(String userAgent) { 60 Object instance = newInstance.invoke(null, userAgent);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerNavigator.cpp | 33 WorkerNavigator::WorkerNavigator(const String& userAgent) 34 : m_userAgent(userAgent) 43 String WorkerNavigator::userAgent() const
|
WorkerNavigator.h | 44 static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgent) 46 return adoptRefWillBeNoop(new WorkerNavigator(userAgent)); 50 virtual String userAgent() const OVERRIDE;
|
WorkerThreadStartupData.h | 50 static PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> create(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) 52 return adoptPtrWillBeNoop(new WorkerThreadStartupData(scriptURL, userAgent, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, workerClients)); 68 WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients>);
|
WorkerThreadStartupData.cpp | 38 WorkerThreadStartupData::WorkerThreadStartupData(const KURL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicyHeaderType contentSecurityPolicyType, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients) 40 , m_userAgent(userAgent.isolatedCopy())
|
/external/glide/library/src/main/java/com/bumptech/glide/volley/ |
RequestQueueWrapper.java | 30 String userAgent = "volley/0"; 34 userAgent = packageName + "/" + info.versionCode; 44 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent));
|
/external/chromium_org/third_party/WebKit/Tools/qunit/test/ |
logs.html | 13 <h2 id="qunit-userAgent"></h2>
|
index.html | 15 <h2 id="qunit-userAgent"></h2>
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
user_agent_unittest.py | 14 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
|
/packages/apps/Exchange/tests/src/com/android/exchange/eas/ |
EasProvisionTests.java | 46 final String userAgent = "User_Agent"; 64 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 76 final String userAgent = "User_Agent"; 85 EasProvision.expandedAddDeviceInformationToSerializer(expectedResult, mContext, userAgent); 95 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 107 final String userAgent = "User_Agent"; 123 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion); 135 final String userAgent = "User_Agent"; 155 mContext, userAgent, policyKey, policyType, status, phase, protocolVersion);
|
/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,
|
/frameworks/volley/src/com/android/volley/toolbox/ |
Volley.java | 45 String userAgent = "volley/0"; 49 userAgent = packageName + "/" + info.versionCode; 59 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent));
|
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/ |
UserAgent.java | 18 public final class UserAgent { 23 private UserAgent() {
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpGetRequestTest.java | 58 String userAgent = "jUnit 4.8.2 Unit Test"; 59 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); 60 assertEquals(userAgent, testServer.header.get("user-agent")); 67 String userAgent = "jUnit 4.8.2 Unit Test"; 69 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); 70 assertEquals(userAgent, testServer.header.get("user-agent"));
|
HttpHeadRequestTest.java | 45 String userAgent = "jUnit 4.8.2 Unit Test"; 46 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); 47 assertEquals(userAgent, testServer.header.get("user-agent")); 54 String userAgent = "jUnit 4.8.2 Unit Test"; 56 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); 57 assertEquals(userAgent, testServer.header.get("user-agent"));
|
/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 $
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
robotparser.py | 128 def can_fetch(self, useragent, url): 129 """using the parsed robots.txt decide if useragent can fetch url""" 143 if entry.applies_to(useragent): 187 def applies_to(self, useragent): 190 useragent = useragent.split("/")[0].lower() 196 if agent in useragent:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
robotparser.py | 128 def can_fetch(self, useragent, url): 129 """using the parsed robots.txt decide if useragent can fetch url""" 143 if entry.applies_to(useragent): 187 def applies_to(self, useragent): 190 useragent = useragent.split("/")[0].lower() 196 if agent in useragent:
|