Searched refs:newMaxFrameSize (Results 1 – 2 of 2) sorted by relevance
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | Http2ConnectionTest.java | 163 int newMaxFrameSize = 0x4001; 165 settings.set(Settings.MAX_FRAME_SIZE, 0, newMaxFrameSize); 170 assertEquals(newMaxFrameSize, connection.peerSettings.getMaxFrameSize(-1)); 171 assertEquals(newMaxFrameSize, connection.frameWriter.maxDataLength());
|
D | Http2Test.java | 626 int newMaxFrameSize = 16777215; in ackSettingsAppliesMaxFrameSize() local 630 writer.ackSettings(new Settings().set(Settings.MAX_FRAME_SIZE, 0, newMaxFrameSize)); in ackSettingsAppliesMaxFrameSize() 632 assertEquals(newMaxFrameSize, writer.maxDataLength()); in ackSettingsAppliesMaxFrameSize() 633 writer.frameHeader(0, newMaxFrameSize, Http2.TYPE_DATA, FLAG_NONE); in ackSettingsAppliesMaxFrameSize()
|