Searched refs:UPLOAD_BANDWIDTH (Results 1 – 3 of 3) sorted by relevance
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Settings.java | 40 static final int UPLOAD_BANDWIDTH = 1; field in Settings 137 int bit = 1 << UPLOAD_BANDWIDTH; in getUploadBandwidth() 138 return (bit & set) != 0 ? values[UPLOAD_BANDWIDTH] : defaultValue; in getUploadBandwidth()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | SettingsTest.java | 26 import static com.squareup.okhttp.internal.framed.Settings.UPLOAD_BANDWIDTH; 43 settings.set(UPLOAD_BANDWIDTH, 0, 42); in setFields() 157 a.set(UPLOAD_BANDWIDTH, PERSIST_VALUE, 100); in merge() 168 assertEquals(PERSIST_VALUE, a.flags(UPLOAD_BANDWIDTH)); in merge()
|
D | Spdy3ConnectionTest.java | 291 settings1.set(Settings.UPLOAD_BANDWIDTH, PERSIST_VALUE, 100); 310 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.UPLOAD_BANDWIDTH)); 323 settings1.set(Settings.UPLOAD_BANDWIDTH, PERSIST_VALUE, 100);
|