Searched refs:MAX_CONCURRENT_STREAMS (Results 1 - 3 of 3) sorted by relevance

/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DSettings.java40 static final int MAX_CONCURRENT_STREAMS = 0x4; field in class:Settings
125 int bit = 1 << MAX_CONCURRENT_STREAMS;
126 return (bit & set) != 0 ? values[MAX_CONCURRENT_STREAMS] : defaultValue;
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
H A DSettingsTest.java22 import static com.squareup.okhttp.internal.spdy.Settings.MAX_CONCURRENT_STREAMS;
52 settings.set(Settings.MAX_CONCURRENT_STREAMS, 0, 75);
143 b.set(MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
153 assertEquals(PERSIST_VALUE, a.flags(MAX_CONCURRENT_STREAMS));
H A DSpdyConnectionTest.java257 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10);
284 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600);
304 assertEquals(PERSIST_VALUE, connection.settings.flags(Settings.MAX_CONCURRENT_STREAMS));

Completed in 49 milliseconds