Home
last modified time | relevance | path

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

/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DRetriableStreamTest.java251 sublistenerCaptor1.getValue().closed(Status.fromCode(RETRIABLE_STATUS_CODE_2), new Metadata()); in retry_everythingDrained()
295 sublistenerCaptor2.getValue().closed(Status.fromCode(RETRIABLE_STATUS_CODE_1), new Metadata()); in retry_everythingDrained()
334 Status.fromCode(NON_RETRIABLE_STATUS_CODE), new Metadata()); in retry_everythingDrained()
377 sublistenerCaptor1.getValue().closed(Status.fromCode(RETRIABLE_STATUS_CODE_1), new Metadata()); in retry_headersRead_cancel()
413 Status status = Status.fromCode(RETRIABLE_STATUS_CODE_1); in headersRead_closed()
436 sublistenerCaptor1.getValue().closed(Status.fromCode(RETRIABLE_STATUS_CODE_1), new Metadata()); in retry_headersRead_closed()
450 Status status = Status.fromCode(RETRIABLE_STATUS_CODE_1); in retry_headersRead_closed()
480 Status status = Status.fromCode(RETRIABLE_STATUS_CODE_1); in cancel_closed()
501 sublistenerCaptor1.getValue().closed(Status.fromCode(RETRIABLE_STATUS_CODE_1), new Metadata()); in retry_cancel_closed()
519 Status status = Status.fromCode(NON_RETRIABLE_STATUS_CODE); in retry_cancel_closed()
[all …]
DCensusModulesTest.java971 Status grpcStatus = Status.fromCode(grpcCode); in convertToTracingStatus()
980 Status grpcStatus = Status.fromCode(grpcCode).withDescription("This is my description"); in convertToTracingStatus()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DDataType.java69 public static DataType fromCode(int code) { in fromCode() method in DataType
70 return fromCode((byte) code); in fromCode()
73 public static DataType fromCode(byte code) { in fromCode() method in DataType
DDynamicRefTable.java136 switch (DataType.fromCode(inValue.dataType)) { in lookupResourceValue()
/external/opencensus-java/contrib/grpc_util/src/test/java/io/opencensus/contrib/grpc/util/
DStatusConverterTest.java42 io.grpc.Status grpcStatus = io.grpc.Status.fromCode(grpcCanonicalCode); in convertFromGrpcStatus()
52 io.grpc.Status.fromCode(grpcCanonicalCode).withDescription("This is my description"); in convertFromGrpcStatus()
/external/guava/guava/src/com/google/thirdparty/publicsuffix/
DPublicSuffixType.java52 static PublicSuffixType fromCode(char code) { in fromCode() method in PublicSuffixType
DTrieParser.java86 builder.put(domain, PublicSuffixType.fromCode(c)); in doParseTrieToBuilder()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DStatus.java341 public static Status fromCode(Code code) { in fromCode() method in Status
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java331 type = DataType.fromCode(outValue.type); in build()