Home
last modified time | relevance | path

Searched refs:StatusCode (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/rust/crates/grpcio-sys/grpc/include/grpcpp/impl/codegen/
Dstatus.h34 Status() : code_(StatusCode::OK) { in Status()
37 static_assert(StatusCode::OK == static_cast<StatusCode>(GRPC_STATUS_OK), in Status()
40 StatusCode::CANCELLED == static_cast<StatusCode>(GRPC_STATUS_CANCELLED), in Status()
43 StatusCode::UNKNOWN == static_cast<StatusCode>(GRPC_STATUS_UNKNOWN), in Status()
45 static_assert(StatusCode::INVALID_ARGUMENT == in Status()
46 static_cast<StatusCode>(GRPC_STATUS_INVALID_ARGUMENT), in Status()
48 static_assert(StatusCode::DEADLINE_EXCEEDED == in Status()
49 static_cast<StatusCode>(GRPC_STATUS_DEADLINE_EXCEEDED), in Status()
52 StatusCode::NOT_FOUND == static_cast<StatusCode>(GRPC_STATUS_NOT_FOUND), in Status()
54 static_assert(StatusCode::ALREADY_EXISTS == in Status()
[all …]
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dstatus.h34 Status() : code_(StatusCode::OK) { in Status()
37 static_assert(StatusCode::OK == static_cast<StatusCode>(GRPC_STATUS_OK), in Status()
40 StatusCode::CANCELLED == static_cast<StatusCode>(GRPC_STATUS_CANCELLED), in Status()
43 StatusCode::UNKNOWN == static_cast<StatusCode>(GRPC_STATUS_UNKNOWN), in Status()
45 static_assert(StatusCode::INVALID_ARGUMENT == in Status()
46 static_cast<StatusCode>(GRPC_STATUS_INVALID_ARGUMENT), in Status()
48 static_assert(StatusCode::DEADLINE_EXCEEDED == in Status()
49 static_cast<StatusCode>(GRPC_STATUS_DEADLINE_EXCEEDED), in Status()
52 StatusCode::NOT_FOUND == static_cast<StatusCode>(GRPC_STATUS_NOT_FOUND), in Status()
54 static_assert(StatusCode::ALREADY_EXISTS == in Status()
[all …]
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/impl/codegen/
Dstatus.h34 Status() : code_(StatusCode::OK) { in Status()
37 static_assert(StatusCode::OK == static_cast<StatusCode>(GRPC_STATUS_OK), in Status()
40 StatusCode::CANCELLED == static_cast<StatusCode>(GRPC_STATUS_CANCELLED), in Status()
43 StatusCode::UNKNOWN == static_cast<StatusCode>(GRPC_STATUS_UNKNOWN), in Status()
45 static_assert(StatusCode::INVALID_ARGUMENT == in Status()
46 static_cast<StatusCode>(GRPC_STATUS_INVALID_ARGUMENT), in Status()
48 static_assert(StatusCode::DEADLINE_EXCEEDED == in Status()
49 static_cast<StatusCode>(GRPC_STATUS_DEADLINE_EXCEEDED), in Status()
52 StatusCode::NOT_FOUND == static_cast<StatusCode>(GRPC_STATUS_NOT_FOUND), in Status()
54 static_assert(StatusCode::ALREADY_EXISTS == in Status()
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/
D_common.py40 cygrpc.StatusCode.ok: grpc.StatusCode.OK,
41 cygrpc.StatusCode.cancelled: grpc.StatusCode.CANCELLED,
42 cygrpc.StatusCode.unknown: grpc.StatusCode.UNKNOWN,
43 cygrpc.StatusCode.invalid_argument: grpc.StatusCode.INVALID_ARGUMENT,
44 cygrpc.StatusCode.deadline_exceeded: grpc.StatusCode.DEADLINE_EXCEEDED,
45 cygrpc.StatusCode.not_found: grpc.StatusCode.NOT_FOUND,
46 cygrpc.StatusCode.already_exists: grpc.StatusCode.ALREADY_EXISTS,
47 cygrpc.StatusCode.permission_denied: grpc.StatusCode.PERMISSION_DENIED,
48 cygrpc.StatusCode.unauthenticated: grpc.StatusCode.UNAUTHENTICATED,
49 cygrpc.StatusCode.resource_exhausted: grpc.StatusCode.RESOURCE_EXHAUSTED,
[all …]
/external/openscreen/third_party/abseil/src/absl/status/
Dstatus.cc30 std::string StatusCodeToString(StatusCode code) { in StatusCodeToString()
32 case StatusCode::kOk: in StatusCodeToString()
34 case StatusCode::kCancelled: in StatusCodeToString()
36 case StatusCode::kUnknown: in StatusCodeToString()
38 case StatusCode::kInvalidArgument: in StatusCodeToString()
40 case StatusCode::kDeadlineExceeded: in StatusCodeToString()
42 case StatusCode::kNotFound: in StatusCodeToString()
44 case StatusCode::kAlreadyExists: in StatusCodeToString()
46 case StatusCode::kPermissionDenied: in StatusCodeToString()
48 case StatusCode::kUnauthenticated: in StatusCodeToString()
[all …]
Dstatus_test.cc28 TEST(StatusCode, InsertionOperator) { in TEST() argument
29 const absl::StatusCode code = absl::StatusCode::kUnknown; in TEST()
38 absl::StatusCode code;
46 {absl::StatusCode::kCancelled, absl::CancelledError, absl::IsCancelled},
47 {absl::StatusCode::kUnknown, absl::UnknownError, absl::IsUnknown},
48 {absl::StatusCode::kInvalidArgument, absl::InvalidArgumentError,
50 {absl::StatusCode::kDeadlineExceeded, absl::DeadlineExceededError,
52 {absl::StatusCode::kNotFound, absl::NotFoundError, absl::IsNotFound},
53 {absl::StatusCode::kAlreadyExists, absl::AlreadyExistsError,
55 {absl::StatusCode::kPermissionDenied, absl::PermissionDeniedError,
[all …]
/external/webrtc/third_party/abseil-cpp/absl/status/
Dstatus.cc32 std::string StatusCodeToString(StatusCode code) { in StatusCodeToString()
34 case StatusCode::kOk: in StatusCodeToString()
36 case StatusCode::kCancelled: in StatusCodeToString()
38 case StatusCode::kUnknown: in StatusCodeToString()
40 case StatusCode::kInvalidArgument: in StatusCodeToString()
42 case StatusCode::kDeadlineExceeded: in StatusCodeToString()
44 case StatusCode::kNotFound: in StatusCodeToString()
46 case StatusCode::kAlreadyExists: in StatusCodeToString()
48 case StatusCode::kPermissionDenied: in StatusCodeToString()
50 case StatusCode::kUnauthenticated: in StatusCodeToString()
[all …]
Dstatus_test.cc28 TEST(StatusCode, InsertionOperator) { in TEST() argument
29 const absl::StatusCode code = absl::StatusCode::kUnknown; in TEST()
38 absl::StatusCode code;
46 {absl::StatusCode::kCancelled, absl::CancelledError, absl::IsCancelled},
47 {absl::StatusCode::kUnknown, absl::UnknownError, absl::IsUnknown},
48 {absl::StatusCode::kInvalidArgument, absl::InvalidArgumentError,
50 {absl::StatusCode::kDeadlineExceeded, absl::DeadlineExceededError,
52 {absl::StatusCode::kNotFound, absl::NotFoundError, absl::IsNotFound},
53 {absl::StatusCode::kAlreadyExists, absl::AlreadyExistsError,
55 {absl::StatusCode::kPermissionDenied, absl::PermissionDeniedError,
[all …]
/external/abseil-cpp/absl/status/
Dstatus.cc32 std::string StatusCodeToString(StatusCode code) { in StatusCodeToString()
34 case StatusCode::kOk: in StatusCodeToString()
36 case StatusCode::kCancelled: in StatusCodeToString()
38 case StatusCode::kUnknown: in StatusCodeToString()
40 case StatusCode::kInvalidArgument: in StatusCodeToString()
42 case StatusCode::kDeadlineExceeded: in StatusCodeToString()
44 case StatusCode::kNotFound: in StatusCodeToString()
46 case StatusCode::kAlreadyExists: in StatusCodeToString()
48 case StatusCode::kPermissionDenied: in StatusCodeToString()
50 case StatusCode::kUnauthenticated: in StatusCodeToString()
[all …]
Dstatus_test.cc28 TEST(StatusCode, InsertionOperator) { in TEST() argument
29 const absl::StatusCode code = absl::StatusCode::kUnknown; in TEST()
38 absl::StatusCode code;
46 {absl::StatusCode::kCancelled, absl::CancelledError, absl::IsCancelled},
47 {absl::StatusCode::kUnknown, absl::UnknownError, absl::IsUnknown},
48 {absl::StatusCode::kInvalidArgument, absl::InvalidArgumentError,
50 {absl::StatusCode::kDeadlineExceeded, absl::DeadlineExceededError,
52 {absl::StatusCode::kNotFound, absl::NotFoundError, absl::IsNotFound},
53 {absl::StatusCode::kAlreadyExists, absl::AlreadyExistsError,
55 {absl::StatusCode::kPermissionDenied, absl::PermissionDeniedError,
[all …]
/external/libtextclassifier/abseil-cpp/absl/status/
Dstatus.cc30 std::string StatusCodeToString(StatusCode code) { in StatusCodeToString()
32 case StatusCode::kOk: in StatusCodeToString()
34 case StatusCode::kCancelled: in StatusCodeToString()
36 case StatusCode::kUnknown: in StatusCodeToString()
38 case StatusCode::kInvalidArgument: in StatusCodeToString()
40 case StatusCode::kDeadlineExceeded: in StatusCodeToString()
42 case StatusCode::kNotFound: in StatusCodeToString()
44 case StatusCode::kAlreadyExists: in StatusCodeToString()
46 case StatusCode::kPermissionDenied: in StatusCodeToString()
48 case StatusCode::kUnauthenticated: in StatusCodeToString()
[all …]
Dstatus_test.cc28 TEST(StatusCode, InsertionOperator) { in TEST() argument
29 const absl::StatusCode code = absl::StatusCode::kUnknown; in TEST()
38 absl::StatusCode code;
46 {absl::StatusCode::kCancelled, absl::CancelledError, absl::IsCancelled},
47 {absl::StatusCode::kUnknown, absl::UnknownError, absl::IsUnknown},
48 {absl::StatusCode::kInvalidArgument, absl::InvalidArgumentError,
50 {absl::StatusCode::kDeadlineExceeded, absl::DeadlineExceededError,
52 {absl::StatusCode::kNotFound, absl::NotFoundError, absl::IsNotFound},
53 {absl::StatusCode::kAlreadyExists, absl::AlreadyExistsError,
55 {absl::StatusCode::kPermissionDenied, absl::PermissionDeniedError,
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/status/
Dstatus.cc30 std::string StatusCodeToString(StatusCode code) { in StatusCodeToString()
32 case StatusCode::kOk: in StatusCodeToString()
34 case StatusCode::kCancelled: in StatusCodeToString()
36 case StatusCode::kUnknown: in StatusCodeToString()
38 case StatusCode::kInvalidArgument: in StatusCodeToString()
40 case StatusCode::kDeadlineExceeded: in StatusCodeToString()
42 case StatusCode::kNotFound: in StatusCodeToString()
44 case StatusCode::kAlreadyExists: in StatusCodeToString()
46 case StatusCode::kPermissionDenied: in StatusCodeToString()
48 case StatusCode::kUnauthenticated: in StatusCodeToString()
[all …]
Dstatus_test.cc28 TEST(StatusCode, InsertionOperator) { in TEST() argument
29 const absl::StatusCode code = absl::StatusCode::kUnknown; in TEST()
38 absl::StatusCode code;
46 {absl::StatusCode::kCancelled, absl::CancelledError, absl::IsCancelled},
47 {absl::StatusCode::kUnknown, absl::UnknownError, absl::IsUnknown},
48 {absl::StatusCode::kInvalidArgument, absl::InvalidArgumentError,
50 {absl::StatusCode::kDeadlineExceeded, absl::DeadlineExceededError,
52 {absl::StatusCode::kNotFound, absl::NotFoundError, absl::IsNotFound},
53 {absl::StatusCode::kAlreadyExists, absl::AlreadyExistsError,
55 {absl::StatusCode::kPermissionDenied, absl::PermissionDeniedError,
[all …]
/external/icing/icing/absl_ports/
Dcanonical_errors.cc24 return libtextclassifier3::Status(libtextclassifier3::StatusCode::CANCELLED, in CancelledError()
29 return libtextclassifier3::Status(libtextclassifier3::StatusCode::UNKNOWN, in UnknownError()
36 libtextclassifier3::StatusCode::INVALID_ARGUMENT, in InvalidArgumentError()
43 libtextclassifier3::StatusCode::DEADLINE_EXCEEDED, in DeadlineExceededError()
48 return libtextclassifier3::Status(libtextclassifier3::StatusCode::NOT_FOUND, in NotFoundError()
54 libtextclassifier3::StatusCode::ALREADY_EXISTS, in AlreadyExistsError()
61 libtextclassifier3::StatusCode::PERMISSION_DENIED, in PermissionDeniedError()
68 libtextclassifier3::StatusCode::RESOURCE_EXHAUSTED, in ResourceExhaustedError()
75 libtextclassifier3::StatusCode::FAILED_PRECONDITION, in FailedPreconditionError()
80 return libtextclassifier3::Status(libtextclassifier3::StatusCode::ABORTED, in AbortedError()
[all …]
/external/libgav1/libgav1/src/gav1/
Dstatus_code.h95 using StatusCode = Libgav1StatusCode; variable
96 constexpr StatusCode kStatusOk = kLibgav1StatusOk;
97 constexpr StatusCode kStatusUnknownError = kLibgav1StatusUnknownError;
98 constexpr StatusCode kStatusInvalidArgument = kLibgav1StatusInvalidArgument;
99 constexpr StatusCode kStatusOutOfMemory = kLibgav1StatusOutOfMemory;
100 constexpr StatusCode kStatusResourceExhausted = kLibgav1StatusResourceExhausted;
101 constexpr StatusCode kStatusNotInitialized = kLibgav1StatusNotInitialized;
102 constexpr StatusCode kStatusAlready = kLibgav1StatusAlready;
103 constexpr StatusCode kStatusUnimplemented = kLibgav1StatusUnimplemented;
104 constexpr StatusCode kStatusInternalError = kLibgav1StatusInternalError;
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsUtils.java32 import com.android.ims.internal.uce.common.StatusCode;
37 if(sipStatusCode == StatusCode.UCE_SUCCESS || in statusCodeToResultCode()
38 sipStatusCode == StatusCode.UCE_SUCCESS_ASYC_UPDATE){ in statusCodeToResultCode()
42 if(sipStatusCode == StatusCode.UCE_INVALID_PARAM) { in statusCodeToResultCode()
46 if(sipStatusCode == StatusCode.UCE_FETCH_ERROR) { in statusCodeToResultCode()
50 if(sipStatusCode == StatusCode.UCE_REQUEST_TIMEOUT) { in statusCodeToResultCode()
54 if(sipStatusCode == StatusCode.UCE_INSUFFICIENT_MEMORY) { in statusCodeToResultCode()
58 if(sipStatusCode == StatusCode.UCE_LOST_NET) { in statusCodeToResultCode()
62 if(sipStatusCode == StatusCode.UCE_NOT_SUPPORTED){ in statusCodeToResultCode()
66 if(sipStatusCode == StatusCode.UCE_NOT_FOUND){ in statusCodeToResultCode()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DClientServerTest.cs79 Assert.AreEqual(StatusCode.Unknown, ex.Status.StatusCode); in UnaryCall_ServerHandlerThrows()
82 Assert.AreEqual(StatusCode.Unknown, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrows()
90 throw new RpcException(new Status(StatusCode.Unauthenticated, "")); in UnaryCall_ServerHandlerThrowsRpcException()
94 Assert.AreEqual(StatusCode.Unauthenticated, ex.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcException()
98 Assert.AreEqual(StatusCode.Unauthenticated, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcException()
108 throw new RpcException(new Status(StatusCode.Unauthenticated, ""), trailers); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
112 Assert.AreEqual(StatusCode.Unauthenticated, ex.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
118 Assert.AreEqual(StatusCode.Unauthenticated, ex2.Status.StatusCode); in UnaryCall_ServerHandlerThrowsRpcExceptionWithTrailers()
129 context.Status = new Status(StatusCode.Unauthenticated, ""); in UnaryCall_ServerHandlerSetsStatus()
134 Assert.AreEqual(StatusCode.Unauthenticated, ex.Status.StatusCode); in UnaryCall_ServerHandlerSetsStatus()
[all …]
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/
DAsyncCallTest.cs89 CreateClientSideStatus(StatusCode.InvalidArgument), in AsyncUnary_NonSuccessStatusCode()
93 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.InvalidArgument); in AsyncUnary_NonSuccessStatusCode()
106 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.Internal); in AsyncUnary_NullResponsePayload()
170 CreateClientSideStatus(StatusCode.InvalidArgument), in ClientStreaming_NoRequest_NonSuccessStatusCode()
174 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.InvalidArgument); in ClientStreaming_NoRequest_NonSuccessStatusCode()
216 CreateClientSideStatus(StatusCode.Internal), in ClientStreaming_WriteFailureThrowsRpcException()
221 Assert.AreEqual(StatusCode.Internal, ex.Status.StatusCode); in ClientStreaming_WriteFailureThrowsRpcException()
223 AssertUnaryResponseError(asyncCall, fakeCall, resultTask, StatusCode.Internal); in ClientStreaming_WriteFailureThrowsRpcException()
235 CreateClientSideStatus(StatusCode.Internal), in ClientStreaming_WriteFailureThrowsRpcException2()
242 Assert.AreEqual(StatusCode.Internal, ex.Status.StatusCode); in ClientStreaming_WriteFailureThrowsRpcException2()
[all …]
/external/libtextclassifier/native/utils/base/
Dstatus_test.cc30 EXPECT_EQ(Status::UNKNOWN.CanonicalCode(), StatusCode::UNKNOWN); in TEST()
39 EXPECT_EQ(Status::OK.CanonicalCode(), StatusCode::OK); in TEST()
46 EXPECT_EQ(Status::UNKNOWN.CanonicalCode(), StatusCode::UNKNOWN); in TEST()
52 EXPECT_EQ(Status::OK.CanonicalCode(), StatusCode::OK); in TEST()
57 Status status(StatusCode::INVALID_ARGUMENT, "You can't put this here!"); in TEST()
59 EXPECT_EQ(status.CanonicalCode(), StatusCode::INVALID_ARGUMENT); in TEST()
64 Status status(StatusCode::INVALID_ARGUMENT, "You can't put this here!"); in TEST()
69 EXPECT_EQ(status2.CanonicalCode(), StatusCode::INVALID_ARGUMENT); in TEST()
85 EXPECT_EQ(status.CanonicalCode(), StatusCode::OK); in TEST()
99 Status invalid_arg_status(StatusCode::INVALID_ARGUMENT, "You can't do that!"); in TEST()
[all …]
/external/libgav1/libgav1/src/
Ddecoder_impl.h100 StatusCode status;
137 static StatusCode Create(const DecoderSettings* settings,
140 StatusCode EnqueueFrame(const uint8_t* data, size_t size,
142 StatusCode DequeueFrame(const DecoderBuffer** out_ptr);
151 StatusCode Init();
163 StatusCode InitializeFrameThreadPoolAndTemporalUnitQueue(const uint8_t* data,
172 StatusCode SignalFailure(StatusCode status);
178 StatusCode DecodeTemporalUnit(const TemporalUnit& temporal_unit,
182 StatusCode ParseAndSchedule(const uint8_t* data, size_t size,
188 StatusCode DecodeFrame(EncodedFrame* encoded_frame);
[all …]
/external/grpc-grpc/src/cpp/util/
Derror_details.cc27 return Status(StatusCode::FAILED_PRECONDITION, ""); in ExtractErrorDetails()
30 return Status(StatusCode::INVALID_ARGUMENT, ""); in ExtractErrorDetails()
37 return Status(StatusCode::FAILED_PRECONDITION, ""); in SetErrorDetails()
39 StatusCode code = StatusCode::UNKNOWN; in SetErrorDetails()
40 if (from.code() >= StatusCode::OK && in SetErrorDetails()
41 from.code() <= StatusCode::UNAUTHENTICATED) { in SetErrorDetails()
42 code = static_cast<StatusCode>(from.code()); in SetErrorDetails()
/external/rust/crates/grpcio-sys/grpc/src/cpp/server/channelz/
Dchannelz_service.cc45 return Status(StatusCode::INTERNAL, in GetTopChannels()
51 return Status(StatusCode::INTERNAL, s.ToString()); in GetTopChannels()
61 return Status(StatusCode::INTERNAL, in GetServers()
67 return Status(StatusCode::INTERNAL, s.ToString()); in GetServers()
77 return Status(StatusCode::INTERNAL, in GetServer()
83 return Status(StatusCode::INTERNAL, s.ToString()); in GetServer()
95 return Status(StatusCode::INTERNAL, in GetServerSockets()
101 return Status(StatusCode::INTERNAL, s.ToString()); in GetServerSockets()
111 return Status(StatusCode::NOT_FOUND, "No object found for that ChannelId"); in GetChannel()
116 return Status(StatusCode::INTERNAL, s.ToString()); in GetChannel()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/util/
Derror_details.cc28 return grpc::Status(grpc::StatusCode::FAILED_PRECONDITION, ""); in ExtractErrorDetails()
31 return grpc::Status(grpc::StatusCode::INVALID_ARGUMENT, ""); in ExtractErrorDetails()
39 return grpc::Status(grpc::StatusCode::FAILED_PRECONDITION, ""); in SetErrorDetails()
41 grpc::StatusCode code = grpc::StatusCode::UNKNOWN; in SetErrorDetails()
42 if (from.code() >= grpc::StatusCode::OK && in SetErrorDetails()
43 from.code() <= grpc::StatusCode::UNAUTHENTICATED) { in SetErrorDetails()
44 code = static_cast<grpc::StatusCode>(from.code()); in SetErrorDetails()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dimage_tensor_specs.cc29 using ::absl::StatusCode;
50 StatusCode::kInvalidArgument, in GetInputTensorMetadataIfAny()
59 return CreateStatusWithPayload(StatusCode::kInternal, in GetInputTensorMetadataIfAny()
77 StatusCode::kInvalidArgument, in GetImagePropertiesIfAny()
103 StatusCode::kInvalidArgument, in GetNormalizationOptionsIfAny()
126 StatusCode::kInvalidArgument, in GetNormalizationOptionsIfAny()
153 StatusCode::kInvalidArgument, in BuildInputImageTensorSpecs()
162 StatusCode::kInvalidArgument, in BuildInputImageTensorSpecs()
170 StatusCode::kInvalidArgument, in BuildInputImageTensorSpecs()
186 return CreateStatusWithPayload(StatusCode::kInvalidArgument, in BuildInputImageTensorSpecs()
[all …]

12345678910>>...14