Home
last modified time | relevance | path

Searched refs:peerSettings (Results 1 – 15 of 15) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java121 final Settings peerSettings = new Settings(); field in FramedConnection
161 peerSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, 65535); in FramedConnection()
162 peerSettings.set(Settings.MAX_FRAME_SIZE, 0, Http2.INITIAL_MAX_FRAME_SIZE); in FramedConnection()
169 bytesLeftInWriteWindow = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedConnection()
213 return peerSettings.getMaxConcurrentStreams(Integer.MAX_VALUE); in maxConcurrentStreams()
716 int priorWriteWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
717 if (clearPrevious) peerSettings.clear(); in settings()
718 peerSettings.merge(newSettings); in settings()
722 int peerInitialWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
748 private void ackSettingsLater(final Settings peerSettings) { in ackSettingsLater() argument
[all …]
DFrameWriter.java29 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
DHttp2.java384 @Override public synchronized void ackSettings(Settings peerSettings) throws IOException { in ackSettings() argument
386 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()
DFramedStream.java83 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedStream()
DSpdy3.java304 @Override public void ackSettings(Settings peerSettings) { in ackSettings() argument
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedConnection.java123 final Settings peerSettings = new Settings(); field in FramedConnection
163 peerSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, 65535); in FramedConnection()
164 peerSettings.set(Settings.MAX_FRAME_SIZE, 0, Http2.INITIAL_MAX_FRAME_SIZE); in FramedConnection()
171 bytesLeftInWriteWindow = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedConnection()
215 return peerSettings.getMaxConcurrentStreams(Integer.MAX_VALUE); in maxConcurrentStreams()
721 int priorWriteWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
722 if (clearPrevious) peerSettings.clear(); in settings()
723 peerSettings.merge(newSettings); in settings()
727 int peerInitialWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
753 private void ackSettingsLater(final Settings peerSettings) { in ackSettingsLater() argument
[all …]
DFrameWriter.java31 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
DHttp2.java386 @Override public synchronized void ackSettings(Settings peerSettings) throws IOException { in ackSettings() argument
388 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()
DFramedStream.java85 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedStream()
DSpdy3.java306 @Override public void ackSettings(Settings peerSettings) { in ackSettings() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java283 assertEquals(10, connection.peerSettings.getMaxConcurrentStreams(-1));
309 assertEquals(100, connection.peerSettings.getUploadBandwidth(-1));
310 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.UPLOAD_BANDWIDTH));
311 assertEquals(400, connection.peerSettings.getDownloadBandwidth(-1));
312 assertEquals(0, connection.peerSettings.flags(Settings.DOWNLOAD_BANDWIDTH));
313 assertEquals(500, connection.peerSettings.getDownloadRetransRate(-1));
314 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.DOWNLOAD_RETRANS_RATE));
315 assertEquals(600, connection.peerSettings.getMaxConcurrentStreams(-1));
316 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS));
342 assertEquals(-1, connection.peerSettings.getUploadBandwidth(-1));
[all …]
DHttp2ConnectionTest.java118 assertEquals(65535, connection.peerSettings.getInitialWindowSize(-1));
133 assertEquals(3368, connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE));
147 assertEquals(0, connection.peerSettings.getHeaderTableSize());
161 assertFalse(connection.peerSettings.getEnablePush(true));
172 assertEquals(newMaxFrameSize, connection.peerSettings.getMaxFrameSize(-1));
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DAsyncFrameWriter.java73 public void ackSettings(final Settings peerSettings) { in ackSettings() argument
77 frameWriter.ackSettings(peerSettings); in ackSettings()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DFrameWriter.java33 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
DHttp2.java390 …synchronized void ackSettings(io.grpc.okhttp.internal.framed.Settings peerSettings) throws IOExcep… in ackSettings() argument
392 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()