Home
last modified time | relevance | path

Searched refs:FLAG_ACK (Results 1 – 3 of 3) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
DHttp2FrameLoggerTest.java23 import static com.squareup.okhttp.internal.spdy.Http2.FLAG_ACK;
51 formatHeader(false, 0, 0, TYPE_SETTINGS, FLAG_ACK)); in exampleStream()
53 formatHeader(true, 0, 0, TYPE_SETTINGS, FLAG_ACK)); in exampleStream()
DHttp2Test.java357 frame.writeByte(Http2.FLAG_ACK); in pingRoundTrip()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
DHttp2.java67 static final byte FLAG_ACK = 0x1; // Used for settings and ping. field in Http2
262 if ((flags & FLAG_ACK) != 0) { in readSettings()
328 boolean ack = (flags & FLAG_ACK) != 0; in readPing()
389 byte flags = FLAG_ACK; in ackSettings()
523 byte flags = ack ? FLAG_ACK : FLAG_NONE; in ping()
689 return flags == FLAG_ACK ? "ACK" : BINARY[flags];