Home
last modified time | relevance | path

Searched refs:outFinished (Results 1 – 12 of 12) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java76 FramedStream(int id, FramedConnection connection, boolean outFinished, boolean inFinished, in FramedStream() argument
88 this.sink.finished = outFinished; in FramedStream()
165 boolean outFinished = false; in reply()
176 outFinished = true; in reply()
179 connection.writeSynReply(id, outFinished, responseHeaders); in reply()
181 if (outFinished) { in reply()
499 private void emitDataFrame(boolean outFinished) throws IOException { in emitDataFrame() argument
518 connection.writeData(id, outFinished && toWrite == sendBuffer.size(), sendBuffer, toWrite); in emitDataFrame()
DFrameWriter.java51 void synStream(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in synStream() argument
53 void synReply(boolean outFinished, int streamId, List<Header> headerBlock) in synReply() argument
69 void data(boolean outFinished, int streamId, Buffer source, int byteCount) throws IOException; in data() argument
DSpdy3.java201 boolean outFinished = (flags & FLAG_UNIDIRECTIONAL) != 0; in readSynStream()
202 handler.headers(outFinished, inFinished, streamId, associatedStreamId, headerBlock, in readSynStream()
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()
342 @Override public synchronized void synReply(boolean outFinished, int streamId, in synReply() argument
347 int flags = (outFinished ? FLAG_FIN : 0); in synReply()
389 @Override public synchronized void data(boolean outFinished, int streamId, Buffer source, in data() argument
391 int flags = (outFinished ? FLAG_FIN : 0); in data()
DFramedConnection.java250 boolean outFinished = !out; in newStream()
262 stream = new FramedStream(streamId, this, outFinished, inFinished, requestHeaders); in newStream()
269 frameWriter.synStream(outFinished, inFinished, streamId, associatedStreamId, in newStream()
285 void writeSynReply(int streamId, boolean outFinished, List<Header> alternating) in writeSynReply() argument
287 frameWriter.synReply(outFinished, streamId, alternating); in writeSynReply()
302 public void writeData(int streamId, boolean outFinished, Buffer buffer, long byteCount) in writeData() argument
305 frameWriter.data(outFinished, streamId, buffer, 0); in writeData()
331 frameWriter.data(outFinished && byteCount == 0, streamId, buffer, toWrite); in writeData()
613 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headers() argument
641 newStream = new FramedStream(streamId, FramedConnection.this, outFinished, in headers()
DHttp2.java405 @Override public synchronized void synStream(boolean outFinished, boolean inFinished, in synStream() argument
410 headers(outFinished, streamId, headerBlock); in synStream()
413 @Override public synchronized void synReply(boolean outFinished, int streamId, in synReply() argument
416 headers(outFinished, streamId, headerBlock); in synReply()
441 void headers(boolean outFinished, int streamId, List<Header> headerBlock) throws IOException { in headers() argument
449 if (outFinished) flags |= FLAG_END_STREAM; in headers()
482 @Override public synchronized void data(boolean outFinished, int streamId, Buffer source, in data() argument
486 if (outFinished) flags |= FLAG_END_STREAM; in data()
DFrameReader.java45 void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java71 public void headers(boolean outFinished, boolean inFinished, int streamId, in onlyOneLiteralHeadersFrame()
73 assertFalse(outFinished); in onlyOneLiteralHeadersFrame()
103 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headersWithPriority()
106 assertFalse(outFinished); in headersWithPriority()
140 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headersFrameThenContinuation()
142 assertFalse(outFinished); in headersFrameThenContinuation()
655 private Buffer sendHeaderFrames(boolean outFinished, List<Header> headers) throws IOException { in sendHeaderFrames() argument
657 new Http2.Writer(out, true).headers(outFinished, expectedStreamId, headers); in sendHeaderFrames()
695 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in assertHeaderBlock()
697 assertFalse(outFinished); in assertHeaderBlock()
DMockSpdyPeer.java220 public boolean outFinished; field in MockSpdyPeer.InFrame
252 @Override public void headers(boolean outFinished, boolean inFinished, int streamId, in headers() argument
256 this.outFinished = outFinished; in headers()
DBaseTestHandler.java32 public void headers(boolean outFinished, boolean inFinished, int streamId, int associatedStreamId, in headers() argument
DSpdy3ConnectionTest.java91 assertFalse(synStream.outFinished); in clientCreatesStreamAndServerReplies()
406 assertTrue(synStream.outFinished);
452 assertFalse(synStream.outFinished);
494 assertFalse(synStream.outFinished);
534 assertFalse(synStream.outFinished);
541 assertFalse(fin.outFinished);
569 assertFalse(synStream.outFinished);
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...