/external/nist-sip/java/gov/nist/javax/sip/parser/ |
D | UserAgentParser.java | 50 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() 136 …userAgent[] = { "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/ |
D | MessageFactoryImpl.java | 65 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 …]
|
D | MessageFactoryExt.java | 24 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/ |
D | HttpHeadRequestTest.java | 168 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()
|
D | HttpGetRequestTest.java | 161 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/ |
D | HttpProtocolParamBean.java | 60 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/ |
D | GithubFeedbackTask.java | 85 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/ |
D | AndroidHttpClient.java | 110 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/ |
D | ShadowAndroidHttpClient.java | 31 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/ |
D | adapter.js | 46 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/ |
D | Version.java | 19 public static String userAgent() { in userAgent() method in Version
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
D | Version.java | 19 public static String userAgent() { in userAgent() method in Version
|
/external/v8/samples/ |
D | count-hosts.js | 33 " from " + request.referrer + "@" + request.userAgent);
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | AutobahnTester.java | 67 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/ |
D | Connection.java | 343 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/ |
D | Main.java | 97 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/ |
D | MainTest.java | 79 @Test public void userAgent() { in userAgent() method in MainTest
|
/external/deqp/framework/delibs/coding_guidelines/ |
D | prettify.js | 1 function H(){var x=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAgent);H=functio…
|
/external/slf4j/slf4j-site/src/site/pages/js/ |
D | prettify.js | 1 function H(){var x=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAgent);H=functio…
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | HeaderFactoryImpl.java | 1050 UserAgent userAgent = new UserAgent(); in createUserAgentHeader() local 1051 userAgent.setProduct(product); in createUserAgentHeader() 1053 return userAgent; in createUserAgentHeader()
|
/external/libvncserver/webclients/novnc/include/ |
D | ui.js | 129 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/ |
D | prettify.js | 94 var ieVersion = navigator && navigator.userAgent && 95 navigator.userAgent.match(/\bMSIE ([678])\./);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/ |
D | antlr.js | 172 ua = navigator.userAgent;
|
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/src/ |
D | ElementQueries.js | 321 if (/KHTML|WebKit|iCab/i.test(navigator.userAgent)) {
|
/external/doclava/res/assets/templates/assets/ |
D | prettify.js | 2 …dow._pr_isIE6=function(){var N=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAge…
|