Home
last modified time | relevance | path

Searched refs:isClient (Results 1 – 9 of 9) sorted by relevance

/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java47 private final boolean isClient; field in WebSocketWriter
63 public WebSocketWriter(boolean isClient, BufferedSink sink, Random random) { in WebSocketWriter() argument
66 this.isClient = isClient; in WebSocketWriter()
71 maskKey = isClient ? new byte[4] : null; in WebSocketWriter()
72 maskBuffer = isClient ? new byte[2048] : null; in WebSocketWriter()
134 if (isClient) { in writeControlFrameSynchronized()
186 if (isClient) { in writeMessageFrameSynchronized()
203 if (isClient) { in writeMessageFrameSynchronized()
DWebSocketReader.java61 private final boolean isClient; field in WebSocketReader
81 public WebSocketReader(boolean isClient, BufferedSource source, FrameCallback frameCallback) { in WebSocketReader() argument
84 this.isClient = isClient; in WebSocketReader()
132 if (isMasked == isClient) { in readHeader()
165 if (isClient) { in readControlFrame()
DRealWebSocket.java55 public RealWebSocket(boolean isClient, BufferedSource source, BufferedSink sink, Random random, in RealWebSocket() argument
59 writer = new WebSocketWriter(isClient, sink, random); in RealWebSocket()
60 reader = new WebSocketReader(isClient, source, new FrameCallback() { in RealWebSocket()
/external/conscrypt/common/src/main/java/org/conscrypt/
DSslWrapper.java292 if (isClient()) { in initialize()
314 NativeCrypto.SSL_configure_alpn(ssl, isClient(), parameters.alpnProtocols); in initialize()
320 if (!isClient()) { in initialize()
406 if (isClient()) { in enablePSKKeyManagerIfRequested()
436 if (!isClient()) { in setCertificateValidation()
537 private boolean isClient() { in isClient() method in SslWrapper
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPairingContext.java139 public boolean isClient() { in isClient() method in PairingContext
/external/boringssl/src/ssl/test/runner/
Dconn.go33 isClient bool member
236 if c.isClient == isOutgoing {
766 …if c.isClient && c.in.cipher == nil && c.config.TLS13Variant == TLS13RecordTypeExperiment && want …
1474 if !c.isClient {
1489 if c.isClient {
1536 if !c.isClient {
1677 if c.isClient {
1731 if !c.isClient {
1787 if c.isClient || c.vers < VersionTLS13 {
Dtls.go39 c := &Conn{conn: conn, config: config, isClient: true}
Ddtls.go474 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}
Drunner.go3642 for _, isClient := range []bool{false, true} {
3645 if isClient {
3681 for _, isClient := range []bool{false, true} {
3691 if isClient {
3716 if !isClient {
8819 for _, isClient := range []bool{false, true} {
8835 if isClient {
8877 for _, isClient := range []bool{false, true} {
8881 if isClient {
8991 if isClient {