Home
last modified time | relevance | path

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

/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DWebSocketWriter.java51 private final boolean isClient; field in WebSocketWriter
64 public WebSocketWriter(boolean isClient, BufferedSink sink, Random random) { in WebSocketWriter() argument
67 this.isClient = isClient; in WebSocketWriter()
72 maskKey = isClient ? new byte[4] : null; in WebSocketWriter()
73 maskBuffer = isClient ? new byte[2048] : null; in WebSocketWriter()
133 if (isClient) { in writeControlFrame()
209 if (isClient) { in writeFrame()
226 if (isClient) { in writeFrame()
279 if (isClient) { in close()
DWebSocketReader.java59 private final boolean isClient; field in WebSocketReader
79 public WebSocketReader(boolean isClient, BufferedSource source, FrameCallback frameCallback) { in WebSocketReader() argument
82 this.isClient = isClient; in WebSocketReader()
130 if (isMasked == isClient) { in readHeader()
163 if (isClient) { in readControlFrame()
DRealWebSocket.java46 public RealWebSocket(boolean isClient, BufferedSource source, BufferedSink sink, Random random, in RealWebSocket() argument
50 writer = new WebSocketWriter(isClient, sink, random); in RealWebSocket()
51 reader = new WebSocketReader(isClient, source, new FrameCallback() { in RealWebSocket()
/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.go29 isClient bool member
787 if !c.isClient {
1145 if !c.isClient {
1163 if !c.isClient {
1276 if c.isClient {
1327 if !c.isClient {
Dtls.go36 c := &Conn{conn: conn, config: config, isClient: true}
Drunner.go1939 for _, isClient := range []bool{false, true} {
1942 if isClient {
1970 for _, isClient := range []bool{false, true} {
1980 if isClient {
2003 if !isClient {
3392 for _, isClient := range []bool{false, true} {
3408 if isClient {
Ddtls.go431 c := &Conn{config: config, isClient: true, isDTLS: true, conn: conn}