/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyConnection.java | 249 boolean inFinished = !in; in newStream() 260 stream = new SpdyStream(streamId, this, outFinished, inFinished, requestHeaders); in newStream() 267 frameWriter.synStream(outFinished, inFinished, streamId, associatedStreamId, in newStream() 593 @Override public void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument 596 pushDataLater(streamId, source, length, inFinished); in data() 606 if (inFinished) { in data() 611 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headers() argument 614 pushHeadersLater(streamId, headerBlock, inFinished); in headers() 639 inFinished, headerBlock); in headers() 667 if (inFinished) stream.receiveFin(); in headers() [all …]
|
D | Spdy3.java | 186 boolean inFinished = (flags & FLAG_FIN) != 0; in nextFrame() 187 handler.data(inFinished, streamId, source, length); in nextFrame() 200 boolean inFinished = (flags & FLAG_FIN) != 0; in readSynStream() 202 handler.headers(outFinished, inFinished, streamId, associatedStreamId, headerBlock, in readSynStream() 210 boolean inFinished = (flags & FLAG_FIN) != 0; in readSynReply() 211 handler.headers(false, inFinished, streamId, -1, headerBlock, HeadersMode.SPDY_REPLY); in readSynReply() 323 @Override public synchronized void synStream(boolean outFinished, boolean inFinished, in synStream() argument 330 int flags = (outFinished ? FLAG_FIN : 0) | (inFinished ? FLAG_UNIDIRECTIONAL : 0); in synStream()
|
D | FrameReader.java | 31 void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument 45 void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
|
D | FrameWriter.java | 51 void synStream(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in synStream() argument
|
D | Http2.java | 219 boolean inFinished = (flags & FLAG_END_STREAM) != 0; in readData() 228 handler.data(inFinished, streamId, source, length); in readData() 405 @Override public synchronized void synStream(boolean outFinished, boolean inFinished, in synStream() argument 408 if (inFinished) throw new UnsupportedOperationException(); in synStream()
|
D | SpdyStream.java | 76 SpdyStream(int id, SpdyConnection connection, boolean outFinished, boolean inFinished, in SpdyStream() argument 87 this.source.finished = inFinished; in SpdyStream()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | MockSpdyPeer.java | 213 public boolean inFinished; field in MockSpdyPeer.InFrame 244 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headers() argument 249 this.inFinished = inFinished; in headers() 256 @Override public void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument 260 this.inFinished = inFinished; in data()
|
D | Http2Test.java | 71 public void headers(boolean outFinished, boolean inFinished, int streamId, in onlyOneLiteralHeadersFrame() 74 assertTrue(inFinished); in onlyOneLiteralHeadersFrame() 103 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headersWithPriority() 107 assertFalse(inFinished); in headersWithPriority() 140 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headersFrameThenContinuation() 143 assertFalse(inFinished); in headersFrameThenContinuation() 388 @Override public void data(boolean inFinished, int streamId, BufferedSource source, in maxLengthDataFrame() 390 assertFalse(inFinished); in maxLengthDataFrame() 695 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in assertHeaderBlock() 698 assertFalse(inFinished); in assertHeaderBlock() [all …]
|
D | BaseTestHandler.java | 26 @Override public void data(boolean inFinished, int streamId, BufferedSource source, int length) in data() argument 32 public void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
|
D | Spdy3ConnectionTest.java | 88 assertFalse(synStream.inFinished); in clientCreatesStreamAndServerReplies() 165 assertFalse(reply.inFinished); in serverCreatesStreamAndClientReplies() 191 assertTrue(reply.inFinished); in replyWithNoData() 403 assertFalse(synStream.inFinished); 407 assertFalse(data.inFinished); 411 assertTrue(fin.inFinished); 449 assertFalse(synStream.inFinished); 491 assertTrue(synStream.inFinished); 531 assertFalse(synStream.inFinished); 538 assertTrue(fin.inFinished); [all …]
|