Home
last modified time | relevance | path

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

123

/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.java292 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldSucceed()
293 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldSucceed()
308 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldFail()
309 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldFail()
327 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
328 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
346 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldFail()
347 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldFail()
390 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(clientEngine)); in savedSessionWorksAfterClose()
397 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(clientEngine)); in savedSessionWorksAfterClose()
[all …]
DConscryptSocketTest.java327 assertNull(Conscrypt.getApplicationProtocol(socket)); in createSocket()
481 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
482 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
498 assertNull(Conscrypt.getApplicationProtocol(c.client));
499 assertNull(Conscrypt.getApplicationProtocol(c.server));
518 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
519 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
538 assertNull(Conscrypt.getApplicationProtocol(c.client));
539 assertNull(Conscrypt.getApplicationProtocol(c.server));
677 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(connection.client));
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java299 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldSucceed()
300 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldSucceed()
315 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithProtocolListShouldFail()
316 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithProtocolListShouldFail()
335 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
336 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldSucceed()
355 assertNull(Conscrypt.getApplicationProtocol(clientEngine)); in alpnWithServerProtocolSelectorShouldFail()
356 assertNull(Conscrypt.getApplicationProtocol(serverEngine)); in alpnWithServerProtocolSelectorShouldFail()
399 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(clientEngine)); in savedSessionWorksAfterClose()
406 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(clientEngine)); in savedSessionWorksAfterClose()
[all …]
DConscryptSocketTest.java336 assertNull(Conscrypt.getApplicationProtocol(socket)); in createSocket()
490 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
491 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
507 assertNull(Conscrypt.getApplicationProtocol(c.client));
508 assertNull(Conscrypt.getApplicationProtocol(c.server));
528 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.client));
529 assertEquals("spdy/2", Conscrypt.getApplicationProtocol(c.server));
549 assertNull(Conscrypt.getApplicationProtocol(c.client));
550 assertNull(Conscrypt.getApplicationProtocol(c.server));
688 assertEquals(alpnProtocol, Conscrypt.getApplicationProtocol(connection.client));
[all …]
/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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java241 Method getApplicationProtocol = in findPlatform() local
249 return new JdkAlpnPlatform(sslProvider, setApplicationProtocols, getApplicationProtocol); in findPlatform()
436 private final Method getApplicationProtocol; field in Platform.JdkAlpnPlatform
439 Provider provider, Method setApplicationProtocols, Method getApplicationProtocol) { in JdkAlpnPlatform() argument
442 this.getApplicationProtocol = getApplicationProtocol; in JdkAlpnPlatform()
474 return (String) getApplicationProtocol.invoke(socket); in getSelectedProtocol()
/external/conscrypt/common/src/main/java/org/conscrypt/
DJava7ExtendedSSLSession.java183 public String getApplicationProtocol() { in getApplicationProtocol() method in Java7ExtendedSSLSession
184 return delegate.getApplicationProtocol(); in getApplicationProtocol()
DSessionSnapshot.java57 applicationProtocol = session.getApplicationProtocol(); in SessionSnapshot()
195 public String getApplicationProtocol() { in getApplicationProtocol() method in SessionSnapshot
DConscrypt.java429 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol() method in Conscrypt
430 return toConscrypt(socket).getApplicationProtocol(); in getApplicationProtocol()
709 public static String getApplicationProtocol(SSLEngine engine) { in getApplicationProtocol() method in Conscrypt
710 return toConscrypt(engine).getApplicationProtocol(); in getApplicationProtocol()
DExternalSession.java161 public String getApplicationProtocol() { in getApplicationProtocol() method in ExternalSession
162 return provider.provideSession().getApplicationProtocol(); in getApplicationProtocol()
DConscryptSession.java56 String getApplicationProtocol(); in getApplicationProtocol() method
DActiveSession.java286 public String getApplicationProtocol() { in getApplicationProtocol() method in ActiveSession
290 applicationProtocol = SSLUtils.toProtocolString(ssl.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
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DJava7ExtendedSSLSession.java184 public String getApplicationProtocol() { in getApplicationProtocol() method in Java7ExtendedSSLSession
185 return delegate.getApplicationProtocol(); in getApplicationProtocol()
DSessionSnapshot.java58 applicationProtocol = session.getApplicationProtocol(); in SessionSnapshot()
196 public String getApplicationProtocol() { in getApplicationProtocol() method in SessionSnapshot
DConscrypt.java439 public static String getApplicationProtocol(SSLSocket socket) { in getApplicationProtocol() method in Conscrypt
440 return toConscrypt(socket).getApplicationProtocol(); in getApplicationProtocol()
719 public static String getApplicationProtocol(SSLEngine engine) { in getApplicationProtocol() method in Conscrypt
720 return toConscrypt(engine).getApplicationProtocol(); in getApplicationProtocol()
DExternalSession.java161 public String getApplicationProtocol() { in getApplicationProtocol() method in ExternalSession
162 return provider.provideSession().getApplicationProtocol(); in getApplicationProtocol()
DConscryptSession.java57 String getApplicationProtocol(); in getApplicationProtocol() method
DActiveSession.java287 public String getApplicationProtocol() { in getApplicationProtocol() method in ActiveSession
291 applicationProtocol = SSLUtils.toProtocolString(ssl.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
/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/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()

123