/external/google-breakpad/src/common/mac/testing/ |
D | GTMSenTestCase.h | 95 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \ 103 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \ 125 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \ 133 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \ 154 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \ 162 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \ 182 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \ 190 … withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)]]; \ 208 … withDescription:@"Type mismatch -- %@", STComposeString(description, ##__VA_ARGS__)]]; \ 220 withDescription:@"%@", STComposeString(description, ##__VA_ARGS__)])]; \ [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/ |
D | StatusTest.java | 38 Status status = Status.UNKNOWN.withDescription("This is an error."); in createStatus_WithDescription() 47 tester.addEqualityGroup(Status.OK, Status.OK.withDescription(null)); in status_EqualsAndHashCode() 49 Status.CANCELLED.withDescription("ThisIsAnError"), in status_EqualsAndHashCode() 50 Status.CANCELLED.withDescription("ThisIsAnError")); in status_EqualsAndHashCode() 51 tester.addEqualityGroup(Status.UNKNOWN.withDescription("This is an error.")); in status_EqualsAndHashCode()
|
D | EndSpanOptionsTest.java | 45 .setStatus(Status.CANCELLED.withDescription("ThisIsAnError")) in setStatus_Error() 48 .isEqualTo(Status.CANCELLED.withDescription("ThisIsAnError")); in setStatus_Error() 63 .setStatus(Status.CANCELLED.withDescription("ThisIsAnError")) in endSpanOptions_EqualsAndHashCode() 66 .setStatus(Status.CANCELLED.withDescription("ThisIsAnError")) in endSpanOptions_EqualsAndHashCode() 76 .setStatus(Status.CANCELLED.withDescription("ThisIsAnError")) in endSpanOptions_ToString()
|
D | CurrentSpanUtilsTest.java | 159 verify(span).setStatus(Status.UNKNOWN.withDescription("MyError")); in withSpanRunnable_WithError() 178 verify(span).setStatus(Status.UNKNOWN.withDescription("AssertionError")); in withSpanRunnable_WithErrorNoMessage() 233 verify(span).setStatus(Status.UNKNOWN.withDescription("MyException")); in withSpanCallable_WithException() 252 verify(span).setStatus(Status.UNKNOWN.withDescription("Exception")); in withSpanCallable_WithExceptionNoMessage() 271 verify(span).setStatus(Status.UNKNOWN.withDescription("MyError")); in withSpanCallable_WithError() 290 verify(span).setStatus(Status.UNKNOWN.withDescription("AssertionError")); in withSpanCallable_WithErrorNoMessage()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | Http2ClientStreamTransportState.java | 95 transportError = Status.INTERNAL.withDescription("Received headers twice"); in transportHeadersReceived() 142 Status.INTERNAL.withDescription("headers not received before payload"), in transportDataReceived() 151 Status.INTERNAL.withDescription("Received unexpected EOS on DATA frame from server."); in transportDataReceived() 187 return status.withDescription(trailers.get(InternalStatus.MESSAGE_KEY)); in statusFromTrailers() 191 return Status.UNKNOWN.withDescription("missing GRPC status in response"); in statusFromTrailers() 197 status = Status.INTERNAL.withDescription("missing HTTP status code"); in statusFromTrailers() 213 return Status.INTERNAL.withDescription("Missing HTTP status code"); in validateInitialMetadata()
|
D | MessageFramer.java | 145 .withDescription("Failed to frame message") in writePayload() 150 .withDescription("Failed to frame message") in writePayload() 157 throw Status.INTERNAL.withDescription(err).asRuntimeException(); in writePayload() 173 .withDescription( in writeUncompressed() 193 .withDescription( in writeCompressed() 216 .withDescription( in writeKnownLengthUncompressed()
|
D | ClientCallImpl.java | 219 Status.INTERNAL.withDescription( in start() 252 DEADLINE_EXCEEDED.withDescription("deadline exceeded: " + effectiveDeadline)); in start() 388 status = status.withDescription(message); in cancel() 390 status = status.withDescription("Call cancelled without message"); in cancel() 425 stream.cancel(Status.CANCELLED.withCause(e).withDescription("Failed to stream message")); in sendMessage() 428 stream.cancel(Status.CANCELLED.withDescription("Client sendMessage() failed with Error")); in sendMessage() 491 Status.CANCELLED.withCause(t).withDescription("Failed to read headers"); in headersRead() 529 Status.CANCELLED.withCause(t).withDescription("Failed to read message."); in messagesAvailable() 604 Status.CANCELLED.withCause(t).withDescription("Failed to call onReady."); in onReady()
|
D | MessageDeframer.java | 375 throw Status.INTERNAL.withDescription( in processHeader() 384 throw Status.RESOURCE_EXHAUSTED.withDescription( in processHeader() 422 throw Status.INTERNAL.withDescription( in getCompressedBody() 515 throw Status.RESOURCE_EXHAUSTED.withDescription(String.format( in verifySize()
|
D | AbstractClientStream.java | 264 trailerStatus = Status.INTERNAL.withDescription("Encountered end-of-stream mid-frame"); in deframerClosed() 309 .withDescription( in inboundHeadersReceived() 322 .withDescription(String.format("Can't find decompressor for %s", messageEncoding)) in inboundHeadersReceived() 329 .withDescription( in inboundHeadersReceived()
|
D | ServerCallImpl.java | 132 internalClose(Status.INTERNAL.withDescription(TOO_MANY_RESPONSES)); in sendMessage() 145 Status.CANCELLED.withDescription("Server sendMessage() failed with Error"), in sendMessage() 177 internalClose(Status.INTERNAL.withDescription(MISSING_RESPONSE)); in close()
|
D | OobChannel.java | 148 subchannel.shutdown(Status.UNAVAILABLE.withDescription("OobChannel is shutdown")); in setSubchannel() 227 delayedTransport.shutdown(Status.UNAVAILABLE.withDescription("OobChannel.shutdown() called")); in shutdown() 240 Status.UNAVAILABLE.withDescription("OobChannel.shutdownNow() called")); in shutdownNow()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpClientTransport.java | 110 Status.INTERNAL.withDescription("No error: A GRPC status of OK should have been sent")); in buildErrorCodeToStatusMap() 112 Status.INTERNAL.withDescription("Protocol error")); in buildErrorCodeToStatusMap() 114 Status.INTERNAL.withDescription("Internal error")); in buildErrorCodeToStatusMap() 116 Status.INTERNAL.withDescription("Flow control error")); in buildErrorCodeToStatusMap() 118 Status.INTERNAL.withDescription("Stream closed")); in buildErrorCodeToStatusMap() 120 Status.INTERNAL.withDescription("Frame too large")); in buildErrorCodeToStatusMap() 122 Status.UNAVAILABLE.withDescription("Refused stream")); in buildErrorCodeToStatusMap() 124 Status.CANCELLED.withDescription("Cancelled")); in buildErrorCodeToStatusMap() 126 Status.INTERNAL.withDescription("Compression error")); in buildErrorCodeToStatusMap() 128 Status.INTERNAL.withDescription("Connect error")); in buildErrorCodeToStatusMap() [all …]
|
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/ |
D | GoogleAuthLibraryCallCredentials.java | 102 .withDescription("Credentials require channel with PRIVACY_AND_INTEGRITY security level. " in applyRequestMetadata() 136 .withDescription("Failed to convert credential metadata") in applyRequestMetadata() 148 .withDescription("Credentials failed to obtain metadata") in applyRequestMetadata() 152 .withDescription("Failed computing credential metadata") in applyRequestMetadata() 174 throw Status.UNAUTHENTICATED.withDescription("Unable to construct service URI for auth") in serviceUri() 189 throw Status.UNAUTHENTICATED.withDescription( in removePort()
|
D | ClientAuthInterceptor.java | 100 throw Status.UNAUTHENTICATED.withDescription("Channel has no authority").asException(); 110 throw Status.UNAUTHENTICATED.withDescription("Unable to construct service URI for auth") 125 throw Status.UNAUTHENTICATED.withDescription( 135 throw Status.UNAUTHENTICATED.withDescription("Unable to get request metadata").withCause(e)
|
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/ |
D | ServerCalls.java | 147 Status.INTERNAL.withDescription(TOO_MANY_REQUESTS), in onMessage() 166 Status.INTERNAL.withDescription(MISSING_REQUEST), in onHalfClose() 271 .withDescription("cancelled before receiving half close") in onCancel() 335 throw Status.CANCELLED.withDescription("call already cancelled").asRuntimeException(); in onNext() 356 throw Status.CANCELLED.withDescription("call already cancelled").asRuntimeException(); in onCompleted() 407 .withDescription(String.format("Method %s is unimplemented", in asyncUnimplementedUnaryCall()
|
D | ClientCalls.java | 134 .withDescription("Call was interrupted") in blockingUnaryCall() 210 .withDescription("Call was interrupted") in getUnchecked() 237 return Status.UNKNOWN.withDescription("unexpected exception").withCause(t) in toStatusRuntimeException() 417 .withDescription("More than one responses received for unary or client-streaming call") in onMessage() 465 throw Status.INTERNAL.withDescription("More than one value received for unary call") in onMessage() 477 Status.INTERNAL.withDescription("No value received for unary call") in onClose() 570 throw Status.CANCELLED.withDescription("interrupted").withCause(ie).asRuntimeException(); in hasNext()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | Contexts.java | 136 return Status.CANCELLED.withDescription("io.grpc.Context was cancelled without error"); in statusFromCancelled() 140 .withDescription(cancellationCause.getMessage()) in statusFromCancelled() 148 return Status.CANCELLED.withDescription("Context cancelled").withCause(cancellationCause); in statusFromCancelled()
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/advanced/ |
D | JsonMarshaller.java | 71 .withDescription("Unable to print json proto") in jsonMarshaller() 87 throw Status.INTERNAL.withDescription("Invalid protobuf byte sequence") in jsonMarshaller() 91 throw Status.INTERNAL.withDescription("Invalid protobuf byte sequence") in jsonMarshaller()
|
/external/opencensus-java/exporters/stats/stackdriver/src/main/java/io/opencensus/exporter/stats/stackdriver/ |
D | StackdriverExporterWorker.java | 156 .withDescription( in registerView() 162 Status.UNKNOWN.withDescription( in registerView() 202 .withDescription( in export() 207 Status.UNKNOWN.withDescription( in export() 228 Status.UNKNOWN.withDescription( in run()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | StatusTest.java | 37 Status.CANCELLED.withDescription("This is a test").asRuntimeException().getMessage()); in verifyExceptionMessage() 40 Status.CANCELLED.withDescription("This is a test").asException().getMessage()); in verifyExceptionMessage() 55 assertSame(Status.CANCELLED, Status.CANCELLED.withDescription(null)); in sameDescriptionReturnsSelf()
|
D | PickFirstLoadBalancerTest.java | 170 Status error = Status.UNAVAILABLE.withDescription("boom!"); in pickAfterStateChangeAfterResolution() 189 Status error = Status.NOT_FOUND.withDescription("nameResolutionError"); in nameResolutionError() 203 loadBalancer.handleNameResolutionError(Status.NOT_FOUND.withDescription("nameResolutionError")); in nameResolutionSuccessAfterError() 228 Status error = Status.NOT_FOUND.withDescription("nameResolutionError"); in nameResolutionErrorWithStateChanges() 237 Status error2 = Status.NOT_FOUND.withDescription("nameResolutionError2"); in nameResolutionErrorWithStateChanges()
|
/external/opencensus-java/contrib/grpc_util/src/test/java/io/opencensus/contrib/grpc/util/ |
D | StatusConverterTest.java | 52 io.grpc.Status.fromCode(grpcCanonicalCode).withDescription("This is my description"); in convertFromGrpcStatus() 85 opencensusCanonicalCode.toStatus().withDescription("This is my description"); in convertToGrpcStatus()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | Utils.java | 171 return Status.UNKNOWN.withDescription("channel closed").withCause(extraT); in statusFromThrowable() 174 return Status.UNAVAILABLE.withDescription("io exception").withCause(t); in statusFromThrowable() 177 return Status.INTERNAL.withDescription("http2 exception").withCause(t); in statusFromThrowable()
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
D | AltsProtocolNegotiator.java | 120 fail(ctx, Status.UNAVAILABLE.withDescription(errorMessage).asRuntimeException()); 142 return Status.UNAVAILABLE.withCause(cause).withDescription(msg).asRuntimeException();
|
/external/opencensus-java/contrib/grpc_util/src/main/java/io/opencensus/contrib/grpc/util/ |
D | StatusConverter.java | 49 status = status.withDescription(description); in fromGrpcStatus() 77 status = status.withDescription(opencensusStatus.getDescription()); in toGrpcStatus()
|