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/framed/
DHttp2FrameLoggerTest.java32 import static com.squareup.okhttp.internal.framed.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.java50 import static com.squareup.okhttp.internal.framed.Spdy3.TYPE_HEADERS;
88 assertEquals(TYPE_HEADERS, synStream.type); in clientCreatesStreamAndServerReplies()
131 assertEquals(TYPE_HEADERS, synStream.type); in clientCreatesStreamAndServerRepliesWithFin()
168 assertEquals(TYPE_HEADERS, reply.type); in serverCreatesStreamAndClientReplies()
195 assertEquals(TYPE_HEADERS, reply.type); in replyWithNoData()
418 assertEquals(TYPE_HEADERS, synStream.type);
464 assertEquals(TYPE_HEADERS, synStream.type);
506 assertEquals(TYPE_HEADERS, synStream.type);
546 assertEquals(TYPE_HEADERS, synStream.type);
581 assertEquals(TYPE_HEADERS, synStream.type);
[all …]
DHttp2ConnectionTest.java40 import static com.squareup.okhttp.internal.framed.Spdy3.TYPE_HEADERS;
217 assertEquals(TYPE_HEADERS, synStream1.type);
219 assertEquals(TYPE_HEADERS, synStream2.type);
261 assertEquals(TYPE_HEADERS, synStream.type);
295 assertEquals(TYPE_HEADERS, synStream.type);
317 assertEquals(TYPE_HEADERS, peer.takeFrame().type);
344 assertEquals(TYPE_HEADERS, synStream.type);
380 assertEquals(TYPE_HEADERS, peer.takeFrame().type);
401 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.java255 this.type = Spdy3.TYPE_HEADERS; in headers()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
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()
447 byte type = TYPE_HEADERS; in headers()