/external/libtextclassifier/native/utils/testing/ |
D | logging_event_listener.cc | 28 TC3_LOG(INFO) << "[==========] Running " << unit_test.test_to_run_count() in OnTestIterationStart() 35 TC3_LOG(INFO) << "[----------] Global test environment set-up."; in OnEnvironmentsSetUpStart() 46 TC3_LOG(INFO) << "[----------] " << test_case.test_to_run_count() in OnTestCaseStart() 51 TC3_LOG(INFO) << "[ RUN ] " << test_info.test_case_name() << "." in OnTestStart() 58 TC3_LOG(ERROR) << test_part_result.file_name() << ":" in OnTestPartResult() 66 TC3_LOG(INFO) << "[ OK ] " << test_info.test_case_name() << "." in OnTestEnd() 69 TC3_LOG(ERROR) << "[ FAILED ] " << test_info.test_case_name() << "." in OnTestEnd() 75 TC3_LOG(INFO) << "[----------] " << test_case.test_to_run_count() in OnTestCaseEnd() 82 TC3_LOG(INFO) << "[----------] Global test environment tear-down."; in OnEnvironmentsTearDownStart() 90 TC3_LOG(INFO) << "[==========] " << unit_test.test_to_run_count() in OnTestIterationEnd() [all …]
|
/external/libtextclassifier/native/utils/intents/ |
D | jni-lua.cc | 74 TC3_LOG(ERROR) << "Could not allocate constant strings references."; in PreallocateConstantJniStrings() 124 TC3_LOG(ERROR) << "Undefined external access " << key; in HandleExternalCallback() 150 TC3_LOG(ERROR) << "Context invalid."; in HandleAndroidCallback() 160 TC3_LOG(ERROR) << "Error calling Context.getPackageName"; in HandleAndroidCallback() 182 TC3_LOG(ERROR) << "Undefined android reference " << key; in HandleAndroidCallback() 200 TC3_LOG(ERROR) << "Error retrieving user manager."; in HandleUserRestrictionsCallback() 210 TC3_LOG(ERROR) << "Error calling getUserRestrictions"; in HandleUserRestrictionsCallback() 217 TC3_LOG(ERROR) << "Expected string, got null."; in HandleUserRestrictionsCallback() 232 TC3_LOG(ERROR) << "Error getting bundle value"; in HandleUserRestrictionsCallback() 243 TC3_LOG(ERROR) << "Expected string, got null."; in HandleUrlEncode() [all …]
|
D | intent-generator.cc | 116 TC3_LOG(ERROR) << "No intent generator options."; in Create() 123 TC3_LOG(ERROR) << "Cannot initialize decompressor."; in Create() 134 TC3_LOG(ERROR) << "Could not decompress generator template."; in Create() 141 TC3_LOG(ERROR) << "Could not precompile generator template."; in Create() 155 TC3_LOG(ERROR) << "No locales provided."; in ParseDeviceLocales() 161 TC3_LOG(ERROR) in ParseDeviceLocales() 167 TC3_LOG(ERROR) << "Cannot parse locales."; in ParseDeviceLocales() 201 TC3_LOG(ERROR) << "Could not create Lua interpreter."; in GenerateIntents() 231 TC3_LOG(ERROR) << "Could not create Lua interpreter."; in GenerateIntents()
|
/external/libtextclassifier/native/utils/ |
D | regex-match.cc | 90 TC3_LOG(ERROR) << "Could not initialize lua environment."; in Create() 98 TC3_LOG(ERROR) << "Unexpected type for match group lookup: " in GetCapturingGroup() 109 TC3_LOG(ERROR) << "Could not extract span from capturing group."; in GetCapturingGroup() 126 TC3_LOG(ERROR) << "Could not load verifier snippet."; in Verify() 131 TC3_LOG(ERROR) << "Could not run verifier snippet."; in Verify() 138 TC3_LOG(ERROR) << "Unexpected verification result type: " in Verify() 147 TC3_LOG(ERROR) << "Could not read lua result."; in Verify() 173 TC3_LOG(ERROR) << "Could not create verifier."; in VerifyMatch() 177 TC3_LOG(ERROR) << "Could not create verifier."; in VerifyMatch()
|
D | lua-utils.cc | 192 TC3_LOG(ERROR) << "Unsupported repeated type: " in GetField() 200 TC3_LOG(ERROR) << "Unsupported type: " << field_type; in GetField() 210 TC3_LOG(ERROR) << "Called ReadFlatbuffer with null buffer: " << index; in ReadFlatbuffer() 215 TC3_LOG(ERROR) << "Expected table, got: " in ReadFlatbuffer() 226 TC3_LOG(ERROR) << "Unknown field: " << key; in ReadFlatbuffer() 313 TC3_LOG(ERROR) << "Unsupported repeated field type: " in ReadFlatbuffer() 321 TC3_LOG(ERROR) << "Unsupported type: " << field->type()->base_type(); in ReadFlatbuffer() 350 TC3_LOG(ERROR) << "Could not compile lua snippet: " in Compile() 356 TC3_LOG(ERROR) << "Could not dump compiled lua snippet."; in Compile() 455 TC3_LOG(INFO) << "Unknown span field: " << key; in ReadSpan() [all …]
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.cc | 107 TC3_LOG(ERROR) << "Variant type error!"; in SetVectorOrScalarAsModelInput() 141 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap() 168 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap() 258 TC3_LOG(ERROR) << "No model specified."; in ValidateAndInitialize() 263 TC3_LOG(ERROR) << "No smart reply action type specified."; in ValidateAndInitialize() 268 TC3_LOG(ERROR) << "Could not initialize preconditions."; in ValidateAndInitialize() 274 TC3_LOG(ERROR) << "Could not parse model supported locales."; in ValidateAndInitialize() 282 TC3_LOG(ERROR) << "Could not initialize model executor."; in ValidateAndInitialize() 301 TC3_LOG(ERROR) << "Could not load entity data schema data."; in ValidateAndInitialize() 318 TC3_LOG(ERROR) << "Could not initialize regex rules."; in ValidateAndInitialize() [all …]
|
D | lua-ranker.cc | 44 TC3_LOG(ERROR) << "Could not initialize lua environment for ranker."; in Create() 69 TC3_LOG(ERROR) << "Expected actions table, got: " in ReadActionsRanking() 81 TC3_LOG(ERROR) << "Invalid action index: " << action_id; in ReadActionsRanking() 100 TC3_LOG(ERROR) << "Could not load compiled ranking snippet."; in RankActions() 105 TC3_LOG(ERROR) << "Could not run ranking snippet."; in RankActions() 111 TC3_LOG(ERROR) << "Could not read lua result."; in RankActions()
|
D | zlib-utils.cc | 30 TC3_LOG(ERROR) << "Cannot compress model."; in CompressActionsModel() 90 TC3_LOG(ERROR) << "Cannot initialize decompressor."; in DecompressActionsModel() 100 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel() 114 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel() 119 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel() 130 TC3_LOG(ERROR) << "Cannot decompress actions script."; in DecompressActionsModel() 138 TC3_LOG(ERROR) << "Cannot decompress actions script."; in DecompressActionsModel()
|
D | regex-actions.cc | 40 TC3_LOG(ERROR) << "Could not extract span from rule capturing group."; in FillAnnotationFromMatchGroup() 57 TC3_LOG(ERROR) << "Could not initialize action rules."; in InitializeRules() 65 TC3_LOG(ERROR) << "Could not initialize low confidence rules."; in InitializeRules() 78 TC3_LOG(ERROR) << "Could not initialze decompressor for overwrite rules."; in InitializeRules() 84 TC3_LOG(ERROR) in InitializeRules() 105 TC3_LOG(ERROR) << "Failed to load rule pattern."; in InitializeRulesModel() 117 TC3_LOG(ERROR) << "Failed to load rule output pattern."; in InitializeRulesModel() 176 TC3_LOG(ERROR) << "Could not create matcher for post check rule."; in FilterConfidenceOutput() 233 TC3_LOG(ERROR) in SuggestActions()
|
D | grammar-actions.cc | 46 TC3_LOG(ERROR) << "No rule action defined."; in InstantiateActionsFromMatch() 87 TC3_LOG(ERROR) in InstantiateActionsFromMatch() 108 TC3_LOG(ERROR) << "Could not get annotation for match."; in InstantiateActionsFromMatch() 140 TC3_LOG(ERROR) << "Could not parse locales of input text."; in SuggestActions() 155 TC3_LOG(ERROR) << "Could not run grammar analyzer: " in SuggestActions() 164 TC3_LOG(ERROR) << "Could not instantiate actions from a grammar match."; in SuggestActions()
|
D | lua-actions.cc | 67 TC3_LOG(ERROR) in CreateLuaActionsSuggestions() 147 TC3_LOG(ERROR) << "Could not load actions suggestions snippet."; in SuggestActions() 152 TC3_LOG(ERROR) << "Could not run actions suggestions snippet."; in SuggestActions() 162 TC3_LOG(ERROR) << "Could not read lua result."; in SuggestActions()
|
/external/libtextclassifier/native/annotator/datetime/ |
D | extractor.cc | 48 TC3_LOG(ERROR) << "Couldn't retrieve group."; in Extract() 61 TC3_LOG(ERROR) << "Couldn't extract YEAR."; in Extract() 70 TC3_LOG(ERROR) << "Couldn't extract MONTH."; in Extract() 80 TC3_LOG(ERROR) << "Couldn't extract DAY."; in Extract() 90 TC3_LOG(ERROR) << "Couldn't extract HOUR."; in Extract() 100 TC3_LOG(ERROR) << "Couldn't extract MINUTE."; in Extract() 110 TC3_LOG(ERROR) << "Couldn't extract SECOND."; in Extract() 120 TC3_LOG(ERROR) << "Couldn't extract AMPM."; in Extract() 130 TC3_LOG(ERROR) << "Couldn't extract RELATION_DISTANCE_FIELD."; in Extract() 137 TC3_LOG(ERROR) << "Couldn't extract RELATION_FIELD."; in Extract() [all …]
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 139 TC3_LOG(ERROR) << "Could not build TFLite interpreter."; in SelectionInterpreter() 150 TC3_LOG(ERROR) << "Could not build TFLite interpreter."; in ClassificationInterpreter() 208 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap() 236 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap() 303 TC3_LOG(ERROR) << "No model specified."; in ValidateAndInitialize() 321 TC3_LOG(ERROR) << "No selection options."; in ValidateAndInitialize() 325 TC3_LOG(ERROR) << "No selection feature options."; in ValidateAndInitialize() 329 TC3_LOG(ERROR) << "No selection bounds sensitive feature options."; in ValidateAndInitialize() 333 TC3_LOG(ERROR) << "No selection model."; in ValidateAndInitialize() 338 TC3_LOG(ERROR) << "Could not initialize selection executor."; in ValidateAndInitialize() [all …]
|
D | zlib-utils.cc | 31 TC3_LOG(ERROR) << "Cannot compress model."; in CompressModel() 80 TC3_LOG(ERROR) << "Cannot initialize decompressor."; in DecompressModel() 90 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressModel() 105 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i << " " << j; in DecompressModel() 116 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressModel()
|
D | model-executor.cc | 52 TC3_LOG(ERROR) << "Could not load TFLite model for embeddings."; in FromBuffer() 59 TC3_LOG(ERROR) << "Could not build TFLite interpreter for embeddings."; in FromBuffer() 79 TC3_LOG(ERROR) << "Mismatch in quantization parameters."; in FromBuffer() 155 TC3_LOG(ERROR) << "Mismatching dest_size and output_embedding_size: " in AddEmbedding()
|
/external/libtextclassifier/native/utils/sentencepiece/ |
D | normalizer.cc | 31 TC3_LOG(ERROR) << "Couldn't find match in normalization table."; in Normalize() 35 TC3_LOG(ERROR) << "Consumed string is empty."; in Normalize() 75 TC3_LOG(ERROR) << "Couldn't normalize string."; in Normalize() 79 TC3_LOG(ERROR) << "Consumed string is empty."; in Normalize() 122 TC3_LOG(ERROR) << "Couldn't find match in normalization table."; in NormalizePrefix() 142 TC3_LOG(ERROR) << "Invalid entry in normalization table."; in NormalizePrefix()
|
/external/libtextclassifier/native/utils/memory/ |
D | mmap.cc | 44 TC3_LOG(ERROR) << "Error closing file descriptor: " << last_error; in ~FileCloser() 61 TC3_LOG(ERROR) << "Error opening " << filename << ": " << last_error; in MmapFile() 78 TC3_LOG(ERROR) << "Unable to stat fd: " << last_error; in MmapFile() 114 TC3_LOG(ERROR) << "Error while mmapping: " << last_error; in MmapFile() 129 TC3_LOG(ERROR) << "Error during Unmap / munmap: " << last_error; in Unmap()
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 105 TC3_LOG(ERROR) << "Unable to create tf.lite interpreter, model is null."; in CreateInterpreter() 112 TC3_LOG(ERROR) << "Unable to create tf.lite interpreter, model is null."; in CreateInterpreter() 136 TC3_LOG(ERROR) << "Unable to create tf.lite interpreter."; in CreateInterpreter() 146 TC3_LOG(ERROR) << "Couldn't find [CLS] wordpiece."; in FindSpecialWordpieceIds() 150 TC3_LOG(ERROR) << "Couldn't find [SEP] wordpiece."; in FindSpecialWordpieceIds() 154 TC3_LOG(ERROR) << "Couldn't find [.] wordpiece."; in FindSpecialWordpieceIds() 158 TC3_LOG(ERROR) << "Couldn't find [UNK] wordpiece."; in FindSpecialWordpieceIds() 168 TC3_LOG(ERROR) in CreateTokenizer() 183 TC3_LOG(ERROR) << "Create received null model."; in Create() 275 TC3_LOG(ERROR) << "More than " << max_num_effective_wordpieces_ in ExecuteModel() [all …]
|
/external/libtextclassifier/native/annotator/datetime/testing/ |
D | base-parser-test.cc | 41 TC3_LOG(ERROR) << text; in HasNoResult() 74 TC3_LOG(ERROR) << text; in ParsesCorrectly() 80 TC3_LOG(ERROR) << "No results."; in ParsesCorrectly() 110 TC3_LOG(ERROR) << "Expected: " << expected[0]; in ParsesCorrectly() 112 TC3_LOG(ERROR) << "But got no results."; in ParsesCorrectly() 114 TC3_LOG(ERROR) << "Actual: " << filtered_results[0]; in ParsesCorrectly()
|
/external/libtextclassifier/native/utils/calendar/ |
D | calendar-javaicu.cc | 72 TC3_LOG(ERROR) << "Initialize without env"; in Initialize() 84 TC3_LOG(ERROR) << "day of the week indices mismatch"; in Initialize() 97 TC3_LOG(ERROR) << "failed to get timezone"; in Initialize() 125 TC3_LOG(ERROR) << "failed to get locale"; in Initialize() 136 TC3_LOG(ERROR) << "failed to get calendar"; in Initialize() 145 TC3_LOG(ERROR) << "failed to set time"; in Initialize() 173 TC3_LOG(FATAL) << "Java ICU CalendarLib must be initialized with a JniCache."; in CalendarLib()
|
/external/libtextclassifier/native/utils/zlib/ |
D | zlib_regex.cc | 38 TC3_LOG(ERROR) << "Cannot decompress pattern."; in UncompressMakeRegexPattern() 46 TC3_LOG(ERROR) << "Cannot load uncompressed pattern."; in UncompressMakeRegexPattern() 66 TC3_LOG(ERROR) << "Could not create pattern: " in UncompressMakeRegexPattern()
|
/external/libtextclassifier/native/utils/strings/ |
D | substitute.cc | 33 TC3_LOG(ERROR) << "Invalid format string: " << format.ToString(); in Substitute() 38 TC3_LOG(ERROR) << "Asked for " << index << ", but only " in Substitute() 48 TC3_LOG(ERROR) << "Invalid format string: " << format.ToString(); in Substitute()
|
/external/libtextclassifier/native/utils/flatbuffers/ |
D | reflection.cc | 102 TC3_LOG(ERROR) << "Empty schema provided."; in SwapFieldNamesForOffsetsInPath() 110 TC3_LOG(ERROR) << "Could not find field: " << path->field[i]->field_name; in SwapFieldNamesForOffsetsInPath() 119 TC3_LOG(ERROR) << "Field: " << field->name()->str() in SwapFieldNamesForOffsetsInPath() 135 TC3_LOG(ERROR) << "Enum has no specified values."; in ParseEnumValue()
|
D | mutable.cc | 60 TC3_LOG(ERROR) << "Could not parse '" << str_value << "'"; in ParseAndSetField() 89 TC3_LOG(ERROR) << "Invalid type id: " << type_id; in NewTable() 191 TC3_LOG(ERROR) << "Unhandled field type: " << field->type()->base_type(); in ParseAndSet() 230 TC3_LOG(ERROR) << "Unknown field: " << field_name.ToString(); in Mutable() 274 TC3_LOG(ERROR) << "Unknown field: " << field_name.ToString(); in Repeated() 280 TC3_LOG(ERROR) << "Field is not of type Vector."; in Repeated() 474 TC3_LOG(ERROR) << "Unsupported type: " << type in MergeFrom() 560 TC3_LOG(ERROR) << "Trying to add sub-message on a primitive-typed field."; in Add() 617 TC3_LOG(ERROR) << "Repeated unsupported type: " in Extend() 661 TC3_LOG(FATAL) << "Unsupported type: " << field_->type()->element(); in Serialize() [all …]
|
D | mutable.h | 266 TC3_LOG(ERROR) << "Trying to get primitive value out of non-primitive " in Get() 310 TC3_LOG(ERROR) in Set() 316 TC3_LOG(ERROR) << "Couldn't find a field: " << field_name; in Set() 323 TC3_LOG(ERROR) << "Expected non-null field."; in Set() 328 TC3_LOG(ERROR) << "Type mismatch for field `" << field->name()->str() in Set() 374 TC3_LOG(ERROR) << "Trying to add value of unmatching type."; in Add()
|