Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DParserErrorCollector.java28 private final ListMultimap<ErrorType, String> errors = LinkedListMultimap.create();
31 public Multimap<ErrorType, String> getErrors() { in getErrors()
36 public void addError(ErrorType errorType, String message) { in addError()
41 public void addError(ErrorType errorType, String message, Exception e) { in addError()
51 public Integer getErrorCount(ErrorType errorType) { in getErrorCount()
58 for (ErrorType errorType : ErrorType.values()) { in printStatus()
74 public Boolean hasErrors(ErrorType.ErrorGroup group) { in hasErrors()
75 for (ErrorType errorType : ErrorType.values()) { in hasErrors()
85 return hasErrors(ErrorType.ErrorGroup.ANNOTATION); in hasAnnotationErrors()
90 return hasErrors(ErrorType.ErrorGroup.FIDELITY); in hasFidelityParamsErrors()
[all …]
DValidationUtil.java56 errors.addError(ErrorType.SETTINGS_PARSING, "Parsing tuningfork_settings.txt", e); in validateSettings()
69 errors.addError(ErrorType.SETTINGS_PARSING, "Parsing tuningfork_settings.bin", e); in validateSettings()
81 ErrorType.HISTOGRAM_EMPTY, in validateSettingsHistograms()
93 errors.addError(ErrorType.AGGREGATION_EMPTY, "Aggregation message is null"); in validateSettingsAggregation()
101 ErrorType.AGGREGATION_INSTRUMENTATION_KEY, in validateSettingsAggregation()
107 ErrorType.AGGREGATION_INSTRUMENTATION_KEY, in validateSettingsAggregation()
116 ErrorType.AGGREGATION_ANNOTATIONS, in validateSettingsAggregation()
126 ErrorType.AGGREGATION_ANNOTATIONS, in validateSettingsAggregation()
140 errors.addError(ErrorType.DEV_FIDELITY_PARAMETERS_EMPTY, "Fidelity parameters list is empty"); in validateDevFidelityParams()
156 errors.addError(ErrorType.DEV_FIDELITY_PARAMETERS_EMPTY, "Fidelity parameters is empty"); in validateDevFidelityParams()
[all …]
DErrorCollector.java23 void addError(ErrorType errorType, String message); in addError()
25 void addError(ErrorType errorType, String message, Exception e); in addError()
29 Integer getErrorCount(ErrorType errorType); in getErrorCount()
33 Boolean hasErrors(ErrorType.ErrorGroup group); in hasErrors()
41 Multimap<ErrorType, String> getErrors(); in getErrors()
DErrorType.java20 public enum ErrorType { enum
58 ErrorType(ErrorGroup group) { in ErrorType() method in ErrorType
DDeveloperTuningforkParser.java153 ErrorType.DEV_FIDELITY_PARAMETERS_ENCODING, in encodeBinaryAndValidateDevFidelity()
163 ErrorType.DEV_FIDELITY_PARAMETERS_READING, in encodeBinaryAndValidateDevFidelity()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dserialization.h131 class ErrorType {
133 ErrorType() : error_code_(ErrorCode::NO_ERROR) {}
138 ErrorType(ErrorCode error_code) : error_code_(error_code) {}
141 ErrorType(ErrorCode error_code, EncodingClass encoding_class,
1089 inline ErrorType ReadRawDataFromNextSection(void* dest, MessageReader* reader,
1109 inline ErrorType ReadRawData(void* dest, MessageReader* /*reader*/,
1131 inline ErrorType DeserializeRaw(T* value, MessageReader* reader,
1140 ErrorType DeserializeValue(RealType* real_value, MessageReader* reader,
1152 inline ErrorType DeserializeEncoding(EncodingType* encoding,
1159 inline ErrorType DeserializeObject(bool* value, MessageReader* reader,
[all …]
Dargument_encoder.h113 ArgsTupleType DecodeArguments(ErrorType* error) { in DecodeArguments()
134 ArgsTupleType DecodeArguments(ErrorType* error) { in DecodeArguments()
141 ErrorType DecodeReturn(ReturnType* value) { in DecodeReturn()
Dremote_method.h196 ErrorType error;
232 ErrorType error;
272 ErrorType error;
365 rpc::ErrorType error =
425 rpc::ErrorType error =
Dserializable.h108 static ErrorType DeserializeObject(T* value, MessageReader* reader,
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/
DValidationUtilTest.java109 assertThat(errors.getErrorCount(ErrorType.AGGREGATION_ANNOTATIONS)).isEqualTo(1); in settingsAggregationIncorrectCount()
123 assertThat(errors.getErrorCount(ErrorType.AGGREGATION_INSTRUMENTATION_KEY)).isEqualTo(1); in settingsAggregationWrongInstrumentationKey()
138 assertThat(errors.getErrorCount(ErrorType.AGGREGATION_ANNOTATIONS)).isEqualTo(1); in settingsAggregationIncorrectSizes()
167 assertThat(errors.getErrorCount(ErrorType.DEV_FIDELITY_PARAMETERS_PARSING)).isEqualTo(1); in devFidelityParamsInvalid()
180 assertThat(errors.getErrorCount(ErrorType.FIDELITY_PARAMS_COMPLEX)).isEqualTo(1); in fidelityParamsComplex()
193 assertThat(errors.getErrorCount(ErrorType.FIDELITY_PARAMS_TYPE)).isEqualTo(1); in fidelityParamsNotScalar()
216 assertThat(errors.getErrorCount(ErrorType.ANNOTATION_COMPLEX)).isEqualTo(1); in annotationComplex()
223 assertThat(errors.getErrorCount(ErrorType.ANNOTATION_EMPTY)).isEqualTo(1); in annotationEmpty()
234 assertThat(errors.getErrorCount(ErrorType.ANNOTATION_TYPE)).isEqualTo(1); in annotationNotOnlyEnums()
/frameworks/native/libs/vr/libpdx/
Dserialization_tests.cpp1289 ErrorType error; in TEST()
1307 ErrorType error; in TEST()
1358 ErrorType error; in TEST()
1414 ErrorType error; in TEST()
1475 ErrorType error; in TEST()
1543 ErrorType error; in TEST()
1606 ErrorType error; in TEST()
1674 ErrorType error; in TEST()
1747 ErrorType error; in TEST()
1829 ErrorType error; in TEST()
[all …]