Home
last modified time | relevance | path

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

123

/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/
DHttpGetRequestTest.java58 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()
DHttpHeadRequestTest.java45 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/
DHttpProtocolParamBean.java60 public void setUserAgent (final String userAgent) { in setUserAgent() argument
61 HttpProtocolParams.setUserAgent(params, userAgent); in setUserAgent()
/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/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/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/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DSocketConnector.java240 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/
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()
159 newWebSocket("/updateReports?agent=" + Version.userAgent()).enqueue(new WebSocketListener() { in updateReports()
/external/libvncserver/webclients/novnc/include/
Dui.js87 if ((navigator.userAgent.match(/iPhone/i)) ||
88 (navigator.userAgent.match(/iPod/i)) ||
89 (navigator.userAgent.match(/iPad/i))) {
Dutil.js285 v = (navigator.userAgent.match(re) || ['', v])[1];
/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/chromium-trace/trace-viewer/tracing/third_party/css-element-queries/src/
DElementQueries.js321 if (/KHTML|WebKit|iCab/i.test(navigator.userAgent)) {
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/
Dantlr.js172 ua = navigator.userAgent;
/external/doclava/res/assets/templates/assets/
Dprettify.js2 …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/
DMochiKit.packed.js4023 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/
Dsorttable.js358 if (/WebKit/i.test(navigator.userAgent)) { // sniff

123