Home
last modified time | relevance | path

Searched refs:getApplicationProtocol (Results 1 – 25 of 39) sorted by relevance

12

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsAuthContext.java33 .setApplicationProtocol(result.getApplicationProtocol()) in AltsAuthContext()
53 public String getApplicationProtocol() { in getApplicationProtocol() method in AltsAuthContext
54 return context.getApplicationProtocol(); in getApplicationProtocol()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java281 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldSucceed()
282 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldSucceed()
297 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldFail()
298 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldFail()
316 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
317 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
335 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldFail()
336 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldFail()
DConscryptSocketTest.java443 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
444 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
460 assertNull(Conscrypt.getApplicationProtocol(c.client));
461 assertNull(Conscrypt.getApplicationProtocol(c.server));
480 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
481 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
500 assertNull(Conscrypt.getApplicationProtocol(c.client));
501 assertNull(Conscrypt.getApplicationProtocol(c.server));
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java288 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldSucceed()
289 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldSucceed()
304 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldFail()
305 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldFail()
323 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
324 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
342 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldFail()
343 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldFail()
DConscryptSocketTest.java449 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
450 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
466 assertNull(Conscrypt.getApplicationProtocol(c.client));
467 assertNull(Conscrypt.getApplicationProtocol(c.server));
486 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
487 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
506 assertNull(Conscrypt.getApplicationProtocol(c.client));
507 assertNull(Conscrypt.getApplicationProtocol(c.server));
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java239 Method getApplicationProtocol = in findPlatform() local
247 return new JdkAlpnPlatform(sslProvider, setApplicationProtocols, getApplicationProtocol); in findPlatform()
434 private final Method getApplicationProtocol; field in Platform.JdkAlpnPlatform
437 Provider provider, Method setApplicationProtocols, Method getApplicationProtocol) { in JdkAlpnPlatform() argument
440 this.getApplicationProtocol = getApplicationProtocol; in JdkAlpnPlatform()
472 return (String) getApplicationProtocol.invoke(socket); in getSelectedProtocol()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DJettyTlsUtil.java44 Method getApplicationProtocol = in checkAlpnAvailability() local
51 getApplicationProtocol.invoke(engine); in checkAlpnAvailability()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscrypt.java400 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol() method in Conscrypt
401 return toConscrypt(socket).getApplicationProtocol(); in getApplicationProtocol()
680 public static String getApplicationProtocol(SSLEngine engine) { in getApplicationProtocol() method in Conscrypt
681 return toConscrypt(engine).getApplicationProtocol(); in getApplicationProtocol()
DJava8EngineWrapper.java288 public String getApplicationProtocol() { in getApplicationProtocol() method in Java8EngineWrapper
289 return delegate.getApplicationProtocol(); in getApplicationProtocol()
DAbstractConscryptEngine.java150 public abstract String getApplicationProtocol(); in getApplicationProtocol() method in AbstractConscryptEngine
DOpenSSLSocketImpl.java144 return SSLUtils.toProtocolBytes(getApplicationProtocol()); in getAlpnSelectedProtocol()
DConscryptFileDescriptorSocket.java1099 public final String getApplicationProtocol() {
1100 return SSLUtils.toProtocolString(ssl.getApplicationProtocol());
1107 ? getApplicationProtocol() : null;
DNativeSsl.java587 byte[] getApplicationProtocol() { in getApplicationProtocol() method in NativeSsl
588 return NativeCrypto.getApplicationProtocol(ssl, this); in getApplicationProtocol()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscrypt.java410 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol() method in Conscrypt
411 return toConscrypt(socket).getApplicationProtocol(); in getApplicationProtocol()
690 public static String getApplicationProtocol(SSLEngine engine) { in getApplicationProtocol() method in Conscrypt
691 return toConscrypt(engine).getApplicationProtocol(); in getApplicationProtocol()
DJava8EngineWrapper.java289 public String getApplicationProtocol() { in getApplicationProtocol() method in Java8EngineWrapper
290 return delegate.getApplicationProtocol(); in getApplicationProtocol()
DAbstractConscryptEngine.java151 public abstract String getApplicationProtocol(); in getApplicationProtocol() method in AbstractConscryptEngine
DConscryptFileDescriptorSocket.java1102 public final String getApplicationProtocol() {
1103 return SSLUtils.toProtocolString(ssl.getApplicationProtocol());
1110 ? getApplicationProtocol() : null;
DOpenSSLSocketImpl.java170 return SSLUtils.toProtocolBytes(getApplicationProtocol()); in getAlpnSelectedProtocol()
DConscryptEngineSocket.java479 public final String getApplicationProtocol() {
480 return engine.getApplicationProtocol();
DNativeSsl.java588 byte[] getApplicationProtocol() { in getApplicationProtocol() method in NativeSsl
589 return NativeCrypto.getApplicationProtocol(ssl, this); in getApplicationProtocol()
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DAltscontext.java28 java.lang.String getApplicationProtocol(); in getApplicationProtocol() method
262 public java.lang.String getApplicationProtocol() { in getApplicationProtocol() method in Altscontext.AltsContext
552 result = result && getApplicationProtocol() in equals()
553 .equals(other.getApplicationProtocol()); in equals()
578 hash = (53 * hash) + getApplicationProtocol().hashCode(); in hashCode()
809 if (!other.getApplicationProtocol().isEmpty()) { in mergeFrom()
866 public java.lang.String getApplicationProtocol() { in getApplicationProtocol() method in Altscontext.AltsContext.Builder
924 applicationProtocol_ = getDefaultInstance().getApplicationProtocol(); in clearApplicationProtocol()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDelegatingSSLSocket.java284 @Override public String getApplicationProtocol() { in getApplicationProtocol() method in DelegatingSSLSocket
285 return delegate.getApplicationProtocol(); in getApplicationProtocol()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsAuthContextTest.java74 assertEquals(TEST_APPLICATION_PROTOCOL, authContext.getApplicationProtocol()); in testAltsAuthContext()
DAltsTsiHandshakerTest.java238 assertEquals(TEST_APPLICATION_PROTOCOL, clientContext.getApplicationProtocol()); in extractClientPeerSuccess()
263 assertEquals(TEST_APPLICATION_PROTOCOL, serverContext.getApplicationProtocol()); in extractServerPeerSuccess()
/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/
DPlatform.java158 return socket.getApplicationProtocol(); in getSelectedProtocol()

12