Home
last modified time | relevance | path

Searched refs:GRPC_PREVIOUS_RPC_ATTEMPTS (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DRetriableStreamTest.java23 import static io.grpc.internal.RetriableStream.GRPC_PREVIOUS_RPC_ATTEMPTS;
163 int actualPreviousRpcAttemptsInHeader = metadata.get(GRPC_PREVIOUS_RPC_ATTEMPTS) == null in newSubstream()
164 ? 0 : Integer.valueOf(metadata.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in newSubstream()
952 assertNull(headers.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()
955 assertEquals("345", headers.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()
956 assertNull(originalHeaders.get(GRPC_PREVIOUS_RPC_ATTEMPTS)); in updateHeaders()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DRetriableStream.java52 static final Metadata.Key<String> GRPC_PREVIOUS_RPC_ATTEMPTS = field in RetriableStream
193 newHeaders.put(GRPC_PREVIOUS_RPC_ATTEMPTS, String.valueOf(previousAttempts)); in updateHeaders()