/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/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | ClientTransportFactory.java | 70 private @Nullable String userAgent; field in ClientTransportFactory.ClientTransportOptions 96 return userAgent; in getUserAgent() 99 public ClientTransportOptions setUserAgent(@Nullable String userAgent) { in setUserAgent() argument 100 this.userAgent = userAgent; in setUserAgent() 116 return Objects.hashCode(authority, eagAttributes, userAgent, proxyParameters); in hashCode() 127 && Objects.equal(this.userAgent, that.userAgent) in equals()
|
D | AbstractManagedChannelImplBuilder.java | 111 String userAgent; field in AbstractManagedChannelImplBuilder 274 public final T userAgent(@Nullable String userAgent) { in userAgent() method in AbstractManagedChannelImplBuilder 275 this.userAgent = userAgent; in userAgent()
|
/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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | ClientTransportFactoryTest.java | 34 private String userAgent = "best-ua/3.14"; field in ClientTransportFactoryTest 50 .setUserAgent(userAgent) in clientTransportOptions_getsMatchSets() 54 assertThat(cto.getUserAgent()).isEqualTo(userAgent); in clientTransportOptions_getsMatchSets() 76 .setUserAgent(userAgent)) in clientTransportOptions_equals() 81 .setUserAgent(userAgent) in clientTransportOptions_equals() 86 .setUserAgent(userAgent) in clientTransportOptions_equals()
|
D | AbstractManagedChannelImplBuilderTest.java | 206 assertNull(builder.userAgent); in userAgent_default() 211 String userAgent = "user-agent/1"; in userAgent_normal() local 212 assertEquals(builder, builder.userAgent(userAgent)); in userAgent_normal() 213 assertEquals(userAgent, builder.userAgent); in userAgent_normal() 218 assertEquals(builder, builder.userAgent(null)); in userAgent_null() 219 assertNull(builder.userAgent); in userAgent_null() 221 builder.userAgent("user-agent/1"); in userAgent_null() 222 builder.userAgent(null); in userAgent_null() 223 assertNull(builder.userAgent); in userAgent_null()
|
/external/syzkaller/vendor/google.golang.org/api/transport/http/ |
D | dial.go | 52 userAgent: o.UserAgent, 67 userAgent: o.UserAgent, 75 userAgent string member 84 if t.userAgent == "" { 93 newReq.Header["User-Agent"] = []string{t.userAgent}
|
/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/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetClientTransport.java | 52 private final String userAgent; field in CronetClientTransport 84 @Nullable String userAgent, in CronetClientTransport() argument 91 this.userAgent = GrpcUtil.getGrpcUserAgent("cronet", userAgent); in CronetClientTransport() 123 url, userAgent, executor, headers, CronetClientTransport.this, this, lock, maxMessageSize, in newStream()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyChannelBuilder.java | 442 @Nullable String userAgent, in create() argument 560 String userAgent, in create() argument 568 targetServerAddress, authority, userAgent, localNegotiator); in create() 577 @Nullable private final String userAgent; field in NettyChannelBuilder.DynamicNettyTransportParams 583 String userAgent, in DynamicNettyTransportParams() argument 587 this.userAgent = userAgent; in DynamicNettyTransportParams() 603 return userAgent; in getUserAgent()
|
D | NettyClientStream.java | 62 private final AsciiString userAgent; field in NettyClientStream 71 AsciiString userAgent, in NettyClientStream() argument 86 this.userAgent = userAgent; in NettyClientStream() 135 authority, httpMethod, userAgent); in writeHeaders()
|
D | NettyClientTransport.java | 73 private final AsciiString userAgent; field in NettyClientTransport 100 boolean keepAliveWithoutCalls, String authority, @Nullable String userAgent, in NettyClientTransport() argument 115 this.userAgent = new AsciiString(GrpcUtil.getGrpcUserAgent("netty", userAgent)); in NettyClientTransport() 175 userAgent, in newStream()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | HeadersTest.java | 49 String userAgent = "useragent"; in createRequestHeaders_sanitizes() local 55 userAgent, in createRequestHeaders_sanitizes() 63 assertThat(headers).contains(new Header(GrpcUtil.USER_AGENT_KEY.name(), userAgent)); in createRequestHeaders_sanitizes()
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
D | Volley.java | 50 String userAgent = "volley/0"; in newRequestQueue() local 55 userAgent = packageName + "/" + info.versionCode; in newRequestQueue() 61 new HttpClientStack(AndroidHttpClient.newInstance(userAgent))); in newRequestQueue()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ForwardingChannelBuilder.java | 85 public T userAgent(String userAgent) { in userAgent() argument 86 delegate().userAgent(userAgent); in userAgent()
|
D | ManagedChannelBuilder.java | 133 public abstract T userAgent(String userAgent); in userAgent() argument
|
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/ |
D | OutboundHeadersBenchmark.java | 62 private final AsciiString userAgent = new AsciiString("grpc-java-netty"); field in OutboundHeadersBenchmark 78 userAgent); in convertClientHeaders() 98 userAgent); in encodeClientHeaders()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/ |
D | RoboWebSettings.java | 35 private int userAgent; field in RoboWebSettings 296 return userAgent; in getUserAgent() 300 public void setUserAgent(int userAgent) { in setUserAgent() argument 301 this.userAgent = userAgent; in setUserAgent()
|
/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/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpClientStream.java | 54 private final String userAgent; field in OkHttpClientStream 74 String userAgent, in OkHttpClientStream() argument 86 this.userAgent = userAgent; in OkHttpClientStream() 379 requestHeaders = Headers.createRequestHeaders(metadata, path, authority, userAgent, useGet); in streamReady()
|
/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/syzkaller/vendor/cloud.google.com/go/compute/metadata/ |
D | metadata.go | 50 userAgent = "gcloud-golang/0.1" const 131 req.Header.Set("User-Agent", userAgent) 203 req.Header.Set("User-Agent", userAgent)
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | UtilsTest.java | 79 String userAgent = "user-agent"; in convertClientHeaders_sanitizes() local 91 new AsciiString(userAgent)); in convertClientHeaders_sanitizes() 103 assertEquals(userAgent, headers.get(GrpcUtil.USER_AGENT_KEY.name()).toString()); in convertClientHeaders_sanitizes()
|