HomeSort by relevance Sort by last modified time
    Searched refs:MAX_CONCURRENT_STREAMS (Results 1 - 3 of 3) sorted by null

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
Settings.java 50 static final int MAX_CONCURRENT_STREAMS = 4;
164 int bit = 1 << MAX_CONCURRENT_STREAMS;
165 return (bit & set) != 0 ? values[MAX_CONCURRENT_STREAMS] : defaultValue;
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
SettingsTest.java 23 import static com.squareup.okhttp.internal.spdy.Settings.MAX_CONCURRENT_STREAMS;
61 settings.set(MAX_CONCURRENT_STREAMS, 0, 75);
153 b.set(MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
163 assertEquals(PERSIST_VALUE, a.flags(MAX_CONCURRENT_STREAMS));
SpdyConnectionTest.java 361 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10);
386 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
404 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS));
426 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
    [all...]

Completed in 34 milliseconds