Searched refs:peerSettings (Results 1 – 7 of 7) sorted by relevance
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | SpdyConnection.java | 119 final Settings peerSettings = new Settings(); field in SpdyConnection 159 peerSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, 65535); in SpdyConnection() 160 peerSettings.set(Settings.MAX_FRAME_SIZE, 0, Http2.INITIAL_MAX_FRAME_SIZE); in SpdyConnection() 167 bytesLeftInWriteWindow = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in SpdyConnection() 685 int priorWriteWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings() 686 if (clearPrevious) peerSettings.clear(); in settings() 687 peerSettings.merge(newSettings); in settings() 691 int peerInitialWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings() 712 private void ackSettingsLater(final Settings peerSettings) { in ackSettingsLater() argument 716 frameWriter.ackSettings(peerSettings); in ackSettingsLater()
|
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 | SpdyStream.java | 83 connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in SpdyStream()
|
D | Spdy3.java | 304 @Override public void ackSettings(Settings peerSettings) { in ackSettings() argument
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | Spdy3ConnectionTest.java | 267 assertEquals(10, connection.peerSettings.getMaxConcurrentStreams(-1)); 292 assertEquals(100, connection.peerSettings.getUploadBandwidth(-1)); 293 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.UPLOAD_BANDWIDTH)); 294 assertEquals(400, connection.peerSettings.getDownloadBandwidth(-1)); 295 assertEquals(0, connection.peerSettings.flags(Settings.DOWNLOAD_BANDWIDTH)); 296 assertEquals(500, connection.peerSettings.getDownloadRetransRate(-1)); 297 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.DOWNLOAD_RETRANS_RATE)); 298 assertEquals(600, connection.peerSettings.getMaxConcurrentStreams(-1)); 299 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS)); 325 assertEquals(-1, connection.peerSettings.getUploadBandwidth(-1)); [all …]
|
D | Http2ConnectionTest.java | 116 assertEquals(65535, connection.peerSettings.getInitialWindowSize(-1)); 131 assertEquals(3368, connection.peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE)); 145 assertEquals(0, connection.peerSettings.getHeaderTableSize()); 159 assertFalse(connection.peerSettings.getEnablePush(true)); 170 assertEquals(newMaxFrameSize, connection.peerSettings.getMaxFrameSize(-1));
|