/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...] |
/packages/apps/Messaging/src/android/support/v7/mms/ |
UserAgentInfoLoader.java | 20 * Interface to load UserAgent and UA Prof URL 24 public static final String CONFIG_USER_AGENT = "userAgent"; 28 * Get UserAgent value 30 * @return the text of UserAgent
|
/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/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
user_agent_unittest.py | 17 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent') 27 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent') 37 ua = self._tab.EvaluateJavaScript('window.navigator.userAgent')
|
user_agent.py | 36 return {'userAgent': UA_TYPE_MAPPING[user_agent_type]}
|
/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);
|
/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/main/java/com/android/volley/toolbox/ |
Volley.java | 45 String userAgent = "volley/0"; 49 userAgent = packageName + "/" + info.versionCode; 59 stack = new HttpClientStack(AndroidHttpClient.newInstance(userAgent));
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Version.java | 19 public static String userAgent() {
|
/external/okhttp/okhttp/src/main/java-templates/com/squareup/okhttp/internal/ |
Version.java | 19 public static String 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 $
|
/prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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:
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestUserAgent.java | 67 String useragent = HttpProtocolParams.getUserAgent(request.getParams()); local 68 if (useragent != null) { 69 request.addHeader(HTTP.USER_AGENT, useragent);
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
LocEngAdapter.cpp | 107 char userAgent[USER_AGENT_MAX_LEN]; 123 snprintf(userAgent, sizeof(userAgent), "A/%s/%s/%s/%s/-/QCX3/s%u/-/%s/-/%s/-/-/-", 127 for (int i = 0; i < sizeof(userAgent) && userAgent[i]; i++) { 128 if (' ' == userAgent[i]) userAgent[i] = '#'; 131 saveUserAgentString(userAgent, strlen(userAgent)); 132 LOC_LOGV("%s] UserAgent %s", __func__, userAgent) [all...] |
/hardware/qcom/gps/msmcobalt/loc_api/libloc_api_50001/ |
LocEngAdapter.cpp | 107 char userAgent[USER_AGENT_MAX_LEN]; 123 snprintf(userAgent, sizeof(userAgent), "A/%s/%s/%s/%s/-/QCX3/s%u/-/%s/-/%s/-/-/-", 127 for (int i = 0; i < sizeof(userAgent) && userAgent[i]; i++) { 128 if (' ' == userAgent[i]) userAgent[i] = '#'; 131 saveUserAgentString(userAgent, strlen(userAgent)); 132 LOC_LOGV("%s] UserAgent %s", __func__, userAgent) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAndroidHttpClient.java | 31 public static AndroidHttpClient newInstance(String userAgent) { 36 public static AndroidHttpClient newInstance(String userAgent, Context context) {
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtApplication.java | 450 var userAgent = navigator.userAgent.toLowerCase(); 453 isFirefox : userAgent.indexOf("firefox") != -1, 454 isChrome : userAgent.indexOf("chrome") != -1, 455 isSafari : userAgent.indexOf("safari") != -1, 456 isOpera : userAgent.indexOf("opera") != -1, 457 isIE : userAgent.indexOf("msie") != -1, 459 isMacOS : userAgent.indexOf("mac") != -1, 460 isLinux : userAgent.indexOf("linux") != -1, 461 isWindows : userAgent.indexOf("win") != - [all...] |
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpGetRequestTest.java | 161 String userAgent = "jUnit 4.8.2 Unit Test"; 163 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); 164 assertEquals(userAgent, this.testServer.header.get("user-agent")); 201 String userAgent = "jUnit 4.8.2 Unit Test"; 202 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); 203 assertEquals(userAgent, this.testServer.header.get("user-agent"));
|
HttpHeadRequestTest.java | 168 String userAgent = "jUnit 4.8.2 Unit Test"; 170 invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); 171 assertEquals(userAgent, this.testServer.header.get("user-agent")); 189 String userAgent = "jUnit 4.8.2 Unit Test"; 190 invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); 191 assertEquals(userAgent, this.testServer.header.get("user-agent"));
|
/external/apache-http/src/org/apache/http/params/ |
HttpProtocolParamBean.java | 60 public void setUserAgent (final String userAgent) { 61 HttpProtocolParams.setUserAgent(params, userAgent);
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/ |
ios_browser_finder.py | 95 # Get the userAgent for each UIWebView to find the browsers. 104 res = inspector.EvaluateJavaScript("navigator.userAgent")
|