Searched refs:fromCodeValue (Results 1 – 8 of 8) sorted by relevance
297 public static Status fromCodeValue(int codeValue) { in fromCodeValue() method in Status305 private static Status fromCodeValue(byte[] asciiCodeValue) { in fromCodeValue() method in Status563 return fromCodeValue(serialized); in parseAsciiString()
130 Status status = Status.fromCodeValue(0); in fromThrowable_shouldReturnNullIfTrailersAreNull()138 Status status = Status.fromCodeValue(0); in fromThrowable_shouldReturnNullIfStatusDetailsKeyIsMissing()
45 assertEquals(Code.UNKNOWN, Status.fromCodeValue(-1).getCode()); in impossibleCodeValue()
107 Status status = Status.fromCodeValue(statusProto.getCode()); in toStatus()
120 obs.onError(Status.fromCodeValue(req.getResponseStatus().getCode()) in unaryCall()183 dispatcher.onError(Status.fromCodeValue(request.getResponseStatus().getCode()) in fullDuplexCall()
107 stream.cancel(Status.fromCodeValue(code.value())); in cancel_doNotAcceptOk()110 stream.cancel(Status.fromCodeValue(code.value())); in cancel_doNotAcceptOk()
391 return Status.fromCodeValue(statusCode.value()) in statusForCode()
702 .fromCodeValue(status.getCode().value())