Home
last modified time | relevance | path

Searched refs:userAgent (Results 1 – 25 of 89) sorted by relevance

1234

/external/nist-sip/java/gov/nist/javax/sip/parser/
DUserAgentParser.java50 public UserAgentParser(String userAgent) { in UserAgentParser() argument
51 super(userAgent); in UserAgentParser()
75 UserAgent userAgent = new UserAgent(); in parse() local
91 userAgent.addProductToken('(' + comment + ')'); in parse()
121 userAgent.addProductToken(productSb.toString()); in parse()
131 return userAgent; in parse()
136userAgent[] = { "User-Agent: Softphone/Beta1.5 \n", "User-Agent:Nist/Beta1 (beta version) \n", "Us… in main() local
141 for (int i = 0; i < userAgent.length; i++ ) { UserAgentParser parser = in main()
142 new UserAgentParser(userAgent[i]); UserAgent ua= (UserAgent) in main()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMessageFactoryImpl.java65 private static UserAgentHeader userAgent; field in MessageFactoryImpl
142 if ( userAgent != null ) { in createRequest()
143 sipRequest.setHeader(userAgent); in createRequest()
201 if ( userAgent != null ) { in createRequest()
202 sipRequest.setHeader(userAgent); in createRequest()
250 if (userAgent != null) { in createRequest()
251 sipRequest.setHeader(userAgent); in createRequest()
310 if (userAgent != null) { in createResponse()
311 sipResponse.setHeader(userAgent); in createResponse()
362 if (userAgent != null) { in createResponse()
[all …]
DMessageFactoryExt.java24 public void setDefaultUserAgentHeader(UserAgentHeader userAgent); in setDefaultUserAgentHeader() argument
38 public void setDefaultServerHeader(ServerHeader userAgent); in setDefaultServerHeader() argument
/external/nanohttpd/core/src/test/java/fi/iki/elonen/
DHttpHeadRequestTest.java168 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local
170 …invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " +… in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
171 assertEquals(userAgent, this.testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
189 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local
190 invokeServer("HEAD " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
191 assertEquals(userAgent, this.testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
DHttpGetRequestTest.java161 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local
163 …invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + … in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
164 assertEquals(userAgent, this.testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
201 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local
202 invokeServer("GET " + HttpServerTest.URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
203 assertEquals(userAgent, this.testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
/external/apache-http/src/org/apache/http/params/
DHttpProtocolParamBean.java60 public void setUserAgent (final String userAgent) { in setUserAgent() argument
61 HttpProtocolParams.setUserAgent(params, userAgent); in setUserAgent()
/external/smali/smalidea/src/main/java/org/jf/smalidea/errorReporting/
DGithubFeedbackTask.java85 String userAgent = "smalidea plugin"; in sendFeedback() local
93 userAgent = name + " (" + version + ")"; in sendFeedback()
99 httpURLConnection.setRequestProperty("User-Agent", userAgent); in sendFeedback()
/external/apache-http/android/src/android/net/http/
DAndroidHttpClient.java110 public static AndroidHttpClient newInstance(String userAgent, Context context) { in newInstance() argument
129 HttpProtocolParams.setUserAgent(params, userAgent); in newInstance()
150 public static AndroidHttpClient newInstance(String userAgent) { in newInstance() argument
151 return newInstance(userAgent, null /* session cache */); in newInstance()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAndroidHttpClient.java31 public static AndroidHttpClient newInstance(String userAgent) { in newInstance() argument
36 public static AndroidHttpClient newInstance(String userAgent, Context context) { in newInstance() argument
/external/webrtc/webrtc/tools/loopback_test/
Dadapter.js46 parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10);
140 parseInt(navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./)[2], 10);
/external/okhttp/okhttp/src/main/java-templates/com/squareup/okhttp/internal/
DVersion.java19 public static String userAgent() { in userAgent() method in Version
/external/okhttp/android/main/java/com/squareup/okhttp/internal/
DVersion.java19 public static String userAgent() { in userAgent() method in Version
/external/v8/samples/
Dcount-hosts.js33 " from " + request.referrer + "@" + request.userAgent);
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
DAutobahnTester.java67 newWebSocket("/runCase?case=" + number + "&agent=" + Version.userAgent()) // in runTest()
157 newWebSocket("/updateReports?agent=" + Version.userAgent()).enqueue(new WebSocketListener() { in updateReports()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnection.java343 String userAgent = request.header("User-Agent"); in createTunnelRequest() local
344 if (userAgent != null) { in createTunnelRequest()
345 result.header("User-Agent", userAgent); in createTunnelRequest()
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/
DMain.java97 public String userAgent = NAME + "/" + versionString(); field in Main
236 request.header("User-Agent", userAgent); in createRequest()
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java79 @Test public void userAgent() { in userAgent() method in MainTest
/external/deqp/framework/delibs/coding_guidelines/
Dprettify.js1 function H(){var x=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAgent);H=functio…
/external/slf4j/slf4j-site/src/site/pages/js/
Dprettify.js1 function H(){var x=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAgent);H=functio…
/external/nist-sip/java/gov/nist/javax/sip/header/
DHeaderFactoryImpl.java1050 UserAgent userAgent = new UserAgent(); in createUserAgentHeader() local
1051 userAgent.setProduct(product); in createUserAgentHeader()
1053 return userAgent; in createUserAgentHeader()
/external/libvncserver/webclients/novnc/include/
Dui.js129 if ((navigator.userAgent.match(/iPhone/i)) ||
130 (navigator.userAgent.match(/iPod/i)) ||
131 (navigator.userAgent.match(/iPad/i))) {
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/
Dprettify.js94 var ieVersion = navigator && navigator.userAgent &&
95 navigator.userAgent.match(/\bMSIE ([678])\./);
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/
Dantlr.js172 ua = navigator.userAgent;
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/src/
DElementQueries.js321 if (/KHTML|WebKit|iCab/i.test(navigator.userAgent)) {
/external/doclava/res/assets/templates/assets/
Dprettify.js2 …dow._pr_isIE6=function(){var N=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAge…

1234