Searched refs:PERSIST_VALUE (Results 1 – 4 of 4) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | SettingsTest.java | 25 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE; 104 settings.set(Settings.ROUND_TRIP_TIME, PERSIST_VALUE, 0); in isPersisted() 112 settings.set(Settings.ROUND_TRIP_TIME, PERSIST_VALUE | PERSISTED, 0); in isPersisted() 116 settings.set(Settings.ROUND_TRIP_TIME, PERSIST_VALUE, 0); in isPersisted() 139 settings.set(Settings.ROUND_TRIP_TIME, PERSIST_VALUE, 0); in persistValue() 143 settings.set(Settings.ROUND_TRIP_TIME, PERSIST_VALUE | PERSISTED, 0); in persistValue() 157 a.set(UPLOAD_BANDWIDTH, PERSIST_VALUE, 100); in merge() 158 a.set(DOWNLOAD_BANDWIDTH, PERSIST_VALUE, 200); in merge() 163 b.set(DOWNLOAD_RETRANS_RATE, PERSIST_VALUE, 500); in merge() 164 b.set(MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600); in merge() [all …]
|
D | Spdy3ConnectionTest.java | 47 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE; 261 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10); 291 settings1.set(Settings.UPLOAD_BANDWIDTH, PERSIST_VALUE, 100); 292 settings1.set(Settings.DOWNLOAD_BANDWIDTH, PERSIST_VALUE, 200); 297 settings2.set(Settings.DOWNLOAD_RETRANS_RATE, PERSIST_VALUE, 500); 298 settings2.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 600); 310 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.UPLOAD_BANDWIDTH)); 314 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.DOWNLOAD_RETRANS_RATE)); 316 assertEquals(PERSIST_VALUE, connection.peerSettings.flags(Settings.MAX_CONCURRENT_STREAMS)); 323 settings1.set(Settings.UPLOAD_BANDWIDTH, PERSIST_VALUE, 100); [all …]
|
D | Http2ConnectionTest.java | 38 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE; 104 initial.set(Settings.INITIAL_WINDOW_SIZE, PERSIST_VALUE, 1684); 106 shouldntImpactConnection.set(Settings.INITIAL_WINDOW_SIZE, PERSIST_VALUE, 3368); 142 settings.set(Settings.HEADER_TABLE_SIZE, PERSIST_VALUE, 0);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
D | Settings.java | 35 static final int PERSIST_VALUE = 0x1; field in Settings 96 if ((idFlags & PERSIST_VALUE) != 0) { in set() 126 if (persistValue(id)) result |= Settings.PERSIST_VALUE; in flags()
|