Home
last modified time | relevance | path

Searched refs:statusForCode (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGrpcUtilTest.java73 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(-1).getCode()); in http2ErrorStatusForCode()
74 assertSame(Http2Error.NO_ERROR.status(), Http2Error.statusForCode(0)); in http2ErrorStatusForCode()
75 assertSame(Http2Error.HTTP_1_1_REQUIRED.status(), Http2Error.statusForCode(0xD)); in http2ErrorStatusForCode()
76 assertSame(Status.Code.INTERNAL, Http2Error.statusForCode(0xD + 1).getCode()); in http2ErrorStatusForCode()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyClientHandler.java368 Status status = GrpcUtil.Http2Error.statusForCode((int) errorCode) in onRstStreamRead()
702 Status status = GrpcUtil.Http2Error.statusForCode((int) errorCode) in statusFromGoAway()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java386 public static Status statusForCode(long code) { in statusForCode() method in GrpcUtil.Http2Error
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java1146 Status status = GrpcUtil.Http2Error.statusForCode(errorCode.httpCode) in goAway()