/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | FramedConnection.java | 121 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 …]
|
D | FrameWriter.java | 29 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
|
D | Http2.java | 384 @Override public synchronized void ackSettings(Settings peerSettings) throws IOException { in ackSettings() argument 386 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()
|
D | FramedStream.java | 83 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedStream()
|
D | Spdy3.java | 304 @Override public void ackSettings(Settings peerSettings) { in ackSettings() argument
|
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
D | FramedConnection.java | 123 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 …]
|
D | FrameWriter.java | 31 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
|
D | Http2.java | 386 @Override public synchronized void ackSettings(Settings peerSettings) throws IOException { in ackSettings() argument 388 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()
|
D | FramedStream.java | 85 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in FramedStream()
|
D | Spdy3.java | 306 @Override public void ackSettings(Settings peerSettings) { in ackSettings() argument
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | Spdy3ConnectionTest.java | 283 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 …]
|
D | Http2ConnectionTest.java | 118 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/ |
D | AsyncFrameWriter.java | 73 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/ |
D | FrameWriter.java | 33 void ackSettings(Settings peerSettings) throws IOException; in ackSettings() argument
|
D | Http2.java | 390 …synchronized void ackSettings(io.grpc.okhttp.internal.framed.Settings peerSettings) throws IOExcep… in ackSettings() argument 392 this.maxFrameSize = peerSettings.getMaxFrameSize(maxFrameSize); in ackSettings()
|