Home
last modified time | relevance | path

Searched refs:TYPE_HEADERS (Results 1 – 7 of 7) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DHttp2FrameLoggerTest.java32 import static com.squareup.okhttp.internal.spdy.Http2.TYPE_HEADERS;
45 formatHeader(false, 3, 100, TYPE_HEADERS, FLAG_END_HEADERS)); in exampleStream()
55 formatHeader(true, 3, 22, TYPE_HEADERS, FLAG_END_HEADERS)); in exampleStream()
68 formatHeader(true, 3, 0, TYPE_HEADERS, (byte) 0x1)); in flagOverlapOn0x1()
75 formatHeader(true, 3, 10000, TYPE_HEADERS, (byte) 0x4)); in flagOverlapOn0x4()
84 formatHeader(true, 3, 10000, TYPE_HEADERS, (byte) 0x20)); in flagOverlapOn0x20()
95 for (byte i = 0; i < 0x40; i++) formattedFlags.add(formatFlags(TYPE_HEADERS, i)); in allFormattedFlagsWithValidBits()
DSpdy3ConnectionTest.java48 import static com.squareup.okhttp.internal.spdy.Spdy3.TYPE_HEADERS;
86 assertEquals(TYPE_HEADERS, synStream.type); in clientCreatesStreamAndServerReplies()
129 assertEquals(TYPE_HEADERS, synStream.type); in clientCreatesStreamAndServerRepliesWithFin()
163 assertEquals(TYPE_HEADERS, reply.type); in serverCreatesStreamAndClientReplies()
190 assertEquals(TYPE_HEADERS, reply.type); in replyWithNoData()
401 assertEquals(TYPE_HEADERS, synStream.type);
447 assertEquals(TYPE_HEADERS, synStream.type);
489 assertEquals(TYPE_HEADERS, synStream.type);
529 assertEquals(TYPE_HEADERS, synStream.type);
564 assertEquals(TYPE_HEADERS, synStream.type);
[all …]
DHttp2ConnectionTest.java38 import static com.squareup.okhttp.internal.spdy.Spdy3.TYPE_HEADERS;
215 assertEquals(TYPE_HEADERS, synStream1.type);
217 assertEquals(TYPE_HEADERS, synStream2.type);
259 assertEquals(TYPE_HEADERS, synStream.type);
293 assertEquals(TYPE_HEADERS, synStream.type);
315 assertEquals(TYPE_HEADERS, peer.takeFrame().type);
342 assertEquals(TYPE_HEADERS, synStream.type);
378 assertEquals(TYPE_HEADERS, peer.takeFrame().type);
399 assertEquals(TYPE_HEADERS, peer.takeFrame().type);
DHttp2Test.java62 frame.writeByte(Http2.TYPE_HEADERS); in onlyOneLiteralHeadersFrame()
88 frame.writeByte(Http2.TYPE_HEADERS); in headersWithPriority()
124 frame.writeByte(Http2.TYPE_HEADERS); in headersFrameThenContinuation()
466 frame.writeByte(Http2.TYPE_HEADERS); in readPaddedHeadersFrame()
480 frame.writeByte(Http2.TYPE_HEADERS); in readPaddedHeadersFrameZeroPadding()
500 frame.writeByte(Http2.TYPE_HEADERS); in readPaddedHeadersFrameThenContinuation()
DMockSpdyPeer.java247 this.type = Spdy3.TYPE_HEADERS; in headers()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DSpdy3.java49 static final int TYPE_HEADERS = 0x8; field in Spdy3
172 case TYPE_HEADERS: in nextFrame()
362 int type = TYPE_HEADERS; in headers()
DHttp2.java56 static final byte TYPE_HEADERS = 0x1; field in Http2
144 case TYPE_HEADERS: in nextFrame()
449 byte type = TYPE_HEADERS; in headers()