Home
last modified time | relevance | path

Searched refs:Unauthenticated (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core.Tests/
DClientServerTest.cs90 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()
138 Assert.AreEqual(StatusCode.Unauthenticated, ex2.Status.StatusCode); in UnaryCall_ServerHandlerSetsStatus()
147 context.Status = new Status(StatusCode.Unauthenticated, ""); in UnaryCall_ServerHandlerSetsStatusAndTrailers()
[all …]
/external/pigweed/pw_status/
Dstatus_with_size_test.cc123 static_assert(StatusWithSize::Unauthenticated().status() == Status::Unauthenticated()); in TEST()
141 static_assert(StatusWithSize::Unauthenticated(123).status() == Status::Unauthenticated()); in TEST()
161 static_assert(StatusWithSize::Unauthenticated().size() == 0u); in TEST()
181 static_assert(StatusWithSize::Unauthenticated(123).size() == 123u); in TEST()
208 static_assert(StatusWithSize::Unauthenticated().IsUnauthenticated()); in TEST()
Dstatus_test.cc71 static_assert(PW_STATUS_UNAUTHENTICATED == Status::Unauthenticated().code()); in TEST()
93 static_assert(PW_STATUS_UNAUTHENTICATED == Status::Unauthenticated()); in TEST()
112 static_assert(Status::Unauthenticated().IsUnauthenticated()); in TEST()
152 EXPECT_STREQ("UNAUTHENTICATED", Status::Unauthenticated().str()); in TEST()
Ddocs.rst86 // Instead, use `Unauthenticated` for those errors.
163 // Unauthenticated (gRPC code "UNAUTHENTICATED") indicates that the request
166 pw::Status::Unauthenticated()
/external/pigweed/pw_rpc/nanopb/
Dmethod_lookup_test.cc43 return Status::Unauthenticated(); in TestRpc()
70 EXPECT_EQ(Status::Unauthenticated(), status); in TEST()
Dnanopb_method_union_test.cc72 return Status::Unauthenticated(); in AddFive()
127 EXPECT_EQ(response.status(), Status::Unauthenticated()); in TEST()
Dnanopb_method_test.cc136 return Status::Unauthenticated(); in AddFive()
174 EXPECT_EQ(response.status(), Status::Unauthenticated()); in TEST()
/external/grpc-grpc/src/ruby/lib/grpc/
Derrors.rb64 codes[UNAUTHENTICATED] = Unauthenticated
140 class Unauthenticated < BadStatus class
/external/pigweed/pw_rpc/raw/
Draw_method_union_test.cc70 return StatusWithSize::Unauthenticated(payload.size()); in AddFive()
116 EXPECT_EQ(response.status(), Status::Unauthenticated()); in TEST()
Dcodegen_test.cc137 test_request.WriteStatusCode(Status::Unauthenticated().code()); in TEST()
141 EXPECT_EQ(Status::Unauthenticated(), context.status()); in TEST()
Draw_method_test.cc123 return StatusWithSize::Unauthenticated(payload.size()); in AddFive()
158 EXPECT_EQ(response.status(), Status::Unauthenticated()); in TEST()
/external/grpc-grpc/src/csharp/Grpc.Core/
DStatusCode.cs76 Unauthenticated = 16, enumerator
/external/pigweed/pw_status/public/pw_status/
Dstatus_with_size.h71 static constexpr StatusWithSize Unauthenticated(size_t size = 0) {
72 return StatusWithSize(Status::Unauthenticated(), size);
Dstatus.h239 [[nodiscard]] static constexpr Status Unauthenticated() { in Unauthenticated() function
/external/pigweed/pw_rpc/
Dbase_server_writer_test.cc133 context.output().set_send_status(Status::Unauthenticated()); in TEST()
135 EXPECT_EQ(Status::Unauthenticated(), writer.Finish()); in TEST()
/external/tensorflow/tensorflow/core/platform/
Derrors.h121 DECLARE_ERROR(Unauthenticated, UNAUTHENTICATED) in DECLARE_ERROR()
/external/pigweed/pw_kvs/
Dkey_value_store_binary_format_test.cc253 FlashError::InRange(Status::Unauthenticated(), kEntry1.size())); in TEST_F()
466 FlashError::InRange(Status::Unauthenticated(), kEntry1.size())); in TEST_F()