Searched refs:MAX_CONCURRENT_STREAMS (Results 1 – 3 of 3) sorted by relevance
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
D | Settings.java | 50 static final int MAX_CONCURRENT_STREAMS = 4; field in Settings 168 int bit = 1 << MAX_CONCURRENT_STREAMS; in getMaxConcurrentStreams() 169 return (bit & set) != 0 ? values[MAX_CONCURRENT_STREAMS] : defaultValue; in getMaxConcurrentStreams()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | SettingsTest.java | 23 import static com.squareup.okhttp.internal.spdy.Settings.MAX_CONCURRENT_STREAMS; 62 settings.set(MAX_CONCURRENT_STREAMS, 0, 75); in setFields() 164 b.set(MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600); in merge() 174 assertEquals(PERSIST_VALUE, a.flags(MAX_CONCURRENT_STREAMS)); in merge()
|
D | Spdy3ConnectionTest.java | 256 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10); 281 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600); 299 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS)); 321 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
|