Home
last modified time | relevance | path

Searched refs:TLS_PROTOCOLS (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpTlsUpgrader.java45 static final List<Protocol> TLS_PROTOCOLS = field in OkHttpTlsUpgrader
64 sslSocket, host, spec.supportsTlsExtensions() ? TLS_PROTOCOLS : null); in upgrade()
66 TLS_PROTOCOLS.contains(Protocol.get(negotiatedProtocol)), in upgrade()
67 "Only " + TLS_PROTOCOLS + " are supported, but negotiated protocol is %s", in upgrade() local
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpTlsUpgraderTest.java33 OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.GRPC_EXP) == -1 in upgrade_grpcExp()
34 || OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.GRPC_EXP) in upgrade_grpcExp()
35 < OkHttpTlsUpgrader.TLS_PROTOCOLS.indexOf(Protocol.HTTP_2)); in upgrade_grpcExp()