Home
last modified time | relevance | path

Searched refs:toStatus (Results 1 – 9 of 9) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DStatus.java230 public Status toStatus() { in toStatus() method in Status.CanonicalCode
260 public static final Status OK = CanonicalCode.OK.toStatus();
267 public static final Status CANCELLED = CanonicalCode.CANCELLED.toStatus();
274 public static final Status UNKNOWN = CanonicalCode.UNKNOWN.toStatus();
281 public static final Status INVALID_ARGUMENT = CanonicalCode.INVALID_ARGUMENT.toStatus();
288 public static final Status DEADLINE_EXCEEDED = CanonicalCode.DEADLINE_EXCEEDED.toStatus();
295 public static final Status NOT_FOUND = CanonicalCode.NOT_FOUND.toStatus();
302 public static final Status ALREADY_EXISTS = CanonicalCode.ALREADY_EXISTS.toStatus();
310 public static final Status PERMISSION_DENIED = CanonicalCode.PERMISSION_DENIED.toStatus();
317 public static final Status UNAUTHENTICATED = CanonicalCode.UNAUTHENTICATED.toStatus();
[all …]
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DStatus.java220 public Status toStatus() { in toStatus() method in Status.Code
247 public static final Status OK = Code.OK.toStatus();
249 public static final Status CANCELLED = Code.CANCELLED.toStatus();
251 public static final Status UNKNOWN = Code.UNKNOWN.toStatus();
253 public static final Status INVALID_ARGUMENT = Code.INVALID_ARGUMENT.toStatus();
255 public static final Status DEADLINE_EXCEEDED = Code.DEADLINE_EXCEEDED.toStatus();
257 public static final Status NOT_FOUND = Code.NOT_FOUND.toStatus();
259 public static final Status ALREADY_EXISTS = Code.ALREADY_EXISTS.toStatus();
264 public static final Status PERMISSION_DENIED = Code.PERMISSION_DENIED.toStatus();
266 public static final Status UNAUTHENTICATED = Code.UNAUTHENTICATED.toStatus();
[all …]
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DStatusProto.java52 return toStatus(statusProto).asRuntimeException(toMetadata(statusProto)); in toStatusRuntimeException()
70 return toStatus(statusProto).asRuntimeException(toMetadata(statusProto, metadata)); in toStatusRuntimeException()
85 return toStatus(statusProto).asException(toMetadata(statusProto)); in toStatusException()
103 return toStatus(statusProto).asException(toMetadata(statusProto, metadata)); in toStatusException()
106 private static Status toStatus(com.google.rpc.Status statusProto) { in toStatus() method in StatusProto
/external/opencensus-java/contrib/grpc_util/src/test/java/io/opencensus/contrib/grpc/util/
DStatusConverterTest.java74 io.opencensus.trace.Status opencensusStatus = opencensusCanonicalCode.toStatus(); in convertToGrpcStatus()
85 opencensusCanonicalCode.toStatus().withDescription("This is my description"); in convertToGrpcStatus()
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/
DStackdriverExporterWorker.java155 .toStatus() in registerView()
201 .toStatus() in export()
/external/opencensus-java/examples/src/main/java/io/opencensus/examples/grpc/helloworld/
DHelloWorldClient.java91 .toStatus() in greet()
/external/opencensus-java/impl_core/src/test/java/io/opencensus/implcore/trace/export/
DInProcessSampledSpanStoreImplTest.java137 sampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets()
138 notSampledSpan.end(EndSpanOptions.builder().setStatus(code.toStatus()).build()); in addSpanNameToAllErrorBuckets()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java269 return httpStatusToGrpcCode(httpStatusCode).toStatus() in httpStatusToGrpcStatus()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DNettyServerHandler.java669 metadata.put(InternalStatus.CODE_KEY, statusCode.toStatus()); in respondWithHttpError()