Home
last modified time | relevance | path

Searched refs:peerSettings (Results 1 – 9 of 9) 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()
689 int priorWriteWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
690 if (clearPrevious) peerSettings.clear(); in settings()
691 peerSettings.merge(newSettings); in settings()
695 int peerInitialWindowSize = peerSettings.getInitialWindowSize(DEFAULT_INITIAL_WINDOW_SIZE); in settings()
716 private void ackSettingsLater(final Settings peerSettings) { in ackSettingsLater() argument
720 frameWriter.ackSettings(peerSettings); in ackSettingsLater()
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/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java269 assertEquals(10, connection.peerSettings.getMaxConcurrentStreams(-1));
294 assertEquals(100, connection.peerSettings.getUploadBandwidth(-1));
295 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.UPLOAD_BANDWIDTH));
296 assertEquals(400, connection.peerSettings.getDownloadBandwidth(-1));
297 assertEquals(0, connection.peerSettings.flags(Settings.DOWNLOAD_BANDWIDTH));
298 assertEquals(500, connection.peerSettings.getDownloadRetransRate(-1));
299 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.DOWNLOAD_RETRANS_RATE));
300 assertEquals(600, connection.peerSettings.getMaxConcurrentStreams(-1));
301 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS));
327 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/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/ ...