/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 | HttpGetRequestTest.java | 58 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 59 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 60 assertEquals(userAgent, testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 67 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 69 invokeServer("GET " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 70 assertEquals(userAgent, testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
D | HttpHeadRequestTest.java | 45 String userAgent = "jUnit 4.8.2 Unit Test"; in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 46 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\n"); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 47 assertEquals(userAgent, testServer.header.get("user-agent")); in testSingleUserAgentHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 54 String userAgent = "jUnit 4.8.2 Unit Test"; in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() local 56 invokeServer("HEAD " + URI + " HTTP/1.1\nUser-Agent: " + userAgent + "\nAccept: " + accept); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest() 57 assertEquals(userAgent, testServer.header.get("user-agent")); in testMultipleHeaderSuppliedToServeMethodFromSimpleWorkingGetRequest()
|
/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/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/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/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | SocketConnector.java | 240 String userAgent = request.header("User-Agent"); in createTunnelRequest() local 241 if (userAgent != null) { in createTunnelRequest() 242 result.header("User-Agent", userAgent); in createTunnelRequest()
|
/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() 159 newWebSocket("/updateReports?agent=" + Version.userAgent()).enqueue(new WebSocketListener() { in updateReports()
|
/external/libvncserver/webclients/novnc/include/ |
D | ui.js | 87 if ((navigator.userAgent.match(/iPhone/i)) || 88 (navigator.userAgent.match(/iPod/i)) || 89 (navigator.userAgent.match(/iPad/i))) {
|
D | util.js | 285 v = (navigator.userAgent.match(re) || ['', v])[1];
|
/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/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/src/ |
D | ElementQueries.js | 321 if (/KHTML|WebKit|iCab/i.test(navigator.userAgent)) {
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/ |
D | antlr.js | 172 ua = 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…
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/evalexception/media/ |
D | MochiKit.packed.js | 4023 if(/Opera/.test(navigator.userAgent)&&(MochiKit.Base.findValue(["left","top","right","bottom"],_421… 4057 var _42f=/Gecko/.test(navigator.userAgent)&&!(/Konqueror|AppleWebKit|KHTML/.test(navigator.userAgen… 4059 if(/MSIE/.test(navigator.userAgent)){ 4067 if(/MSIE/.test(navigator.userAgent)){ 4106 var ua=navigator.userAgent.toLowerCase(); 4162 if(/Opera/.test(navigator.userAgent)){ 4225 if(/MSIE/.test(navigator.userAgent)){ 4238 if(/Gecko|Opera/.test(navigator.userAgent)&&!/Konqueror|AppleWebKit|KHTML/.test(navigator.userAgent… 4241 if(/MSIE/.test(navigator.userAgent)){ 4323 if(/MSIE/.test(navigator.userAgent)){ [all …]
|
/external/clang/tools/scan-build/ |
D | sorttable.js | 358 if (/WebKit/i.test(navigator.userAgent)) { // sniff
|