Home
last modified time | relevance | path

Searched refs:serverId (Results 1 – 4 of 4) sorted by relevance

/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java95 byte[] serverId = serverIds.nextElement(); in test_SSLSessionContext_getIds()
96 assertEquals(32, serverId.length); in test_SSLSessionContext_getIds()
97 assertTrue(Arrays.equals(clientId, serverId)); in test_SSLSessionContext_getIds()
133 byte[] serverId = server.getIds().nextElement(); in test_SSLSessionContext_getSession()
134 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
135 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSessionContextTest.java91 byte[] serverId = serverIds.nextElement(); in test_SSLSessionContext_getIds()
92 assertEquals(32, serverId.length); in test_SSLSessionContext_getIds()
93 assertTrue(Arrays.equals(clientId, serverId)); in test_SSLSessionContext_getIds()
129 byte[] serverId = server.getIds().nextElement(); in test_SSLSessionContext_getSession()
130 assertNotNull(server.getSession(serverId)); in test_SSLSessionContext_getSession()
131 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DInternalChannelzTest.java296 private void assertEmptyServerSocketsPage(long serverId, long socketId) { in assertEmptyServerSocketsPage() argument
298 = channelz.getServerSockets(serverId, socketId, /*maxPageSize=*/ 1); in assertEmptyServerSocketsPage()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DInternalChannelz.java184 public ServerSocketsList getServerSockets(long serverId, long fromId, int maxPageSize) { in getServerSockets() argument
185 ServerSocketMap serverSockets = perServerSockets.get(serverId); in getServerSockets()