Home
last modified time | relevance | path

Searched refs:TC3_LOG (Results 1 – 25 of 52) sorted by relevance

123

/external/libtextclassifier/utils/intents/
Dintent-generator.cc152 TC3_LOG(ERROR) << "Could not allocate constant strings references."; in Initialize()
200 TC3_LOG(ERROR) << "Undefined external access " << key.ToString(); in HandleExternalCallback()
226 TC3_LOG(ERROR) << "Context invalid."; in HandleAndroidCallback()
234 TC3_LOG(ERROR) << "Error calling Context.getPackageName"; in HandleAndroidCallback()
250 TC3_LOG(ERROR) << "Undefined android reference " << key.ToString(); in HandleAndroidCallback()
268 TC3_LOG(ERROR) << "Error retrieving user manager."; in HandleUserRestrictionsCallback()
276 TC3_LOG(ERROR) << "Error calling getUserRestrictions"; in HandleUserRestrictionsCallback()
283 TC3_LOG(ERROR) << "Expected string, got null."; in HandleUserRestrictionsCallback()
290 TC3_LOG(ERROR) << "Expected string, got null."; in HandleUserRestrictionsCallback()
297 TC3_LOG(ERROR) << "Error getting bundle value"; in HandleUserRestrictionsCallback()
[all …]
/external/libtextclassifier/annotator/
Dannotator.cc92 TC3_LOG(ERROR) << "Could not build TFLite interpreter."; in SelectionInterpreter()
103 TC3_LOG(ERROR) << "Could not build TFLite interpreter."; in ClassificationInterpreter()
138 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap()
162 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap()
253 TC3_LOG(ERROR) << "No model specified."; in ValidateAndInitialize()
271 TC3_LOG(ERROR) << "No selection options."; in ValidateAndInitialize()
275 TC3_LOG(ERROR) << "No selection feature options."; in ValidateAndInitialize()
279 TC3_LOG(ERROR) << "No selection bounds sensitive feature options."; in ValidateAndInitialize()
283 TC3_LOG(ERROR) << "No selection model."; in ValidateAndInitialize()
288 TC3_LOG(ERROR) << "Could not initialize selection executor."; in ValidateAndInitialize()
[all …]
Dzlib-utils.cc32 TC3_LOG(ERROR) << "Cannot compress model."; in CompressModel()
86 TC3_LOG(ERROR) << "Cannot initialize decompressor."; in DecompressModel()
96 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressModel()
111 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i << " " << j; in DecompressModel()
122 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressModel()
Dmodel-executor.cc52 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()
Dfeature-processor.cc184 TC3_LOG(ERROR) in GetDefaultCollection()
457 TC3_LOG(ERROR) << "Invalid center token selection method."; in FindCenterToken()
468 TC3_LOG(ERROR) << "Could not convert label to span: " << i; in SelectionLabelSpans()
772 TC3_LOG(ERROR) << "Could not get token features."; in ExtractFeatures()
783 TC3_LOG(ERROR) << "Count not get padding token features."; in ExtractFeatures()
791 TC3_LOG(ERROR) << "Cound not create cached features."; in ExtractFeatures()
813 TC3_LOG(ERROR) << "Could not extract token's dense features."; in AppendTokenFeaturesWithCache()
832 TC3_LOG(ERROR) << "Could not extract token's features."; in AppendTokenFeaturesWithCache()
846 TC3_LOG(ERROR) << "Cound not embed token's sparse features."; in AppendTokenFeaturesWithCache()
/external/libtextclassifier/utils/
Dregex-match.cc87 TC3_LOG(ERROR) << "Could not initialize lua environment."; in Create()
95 TC3_LOG(ERROR) << "Unexpected type for match group lookup: " in GetCapturingGroup()
106 TC3_LOG(ERROR) << "Could not extract span from capturing group."; in GetCapturingGroup()
123 TC3_LOG(ERROR) << "Could not load verifier snippet."; in Verify()
128 TC3_LOG(ERROR) << "Could not run verifier snippet."; in Verify()
135 TC3_LOG(ERROR) << "Unexpected verification result type: " in Verify()
144 TC3_LOG(ERROR) << "Could not read lua result."; in Verify()
170 TC3_LOG(ERROR) << "Could not create verifier."; in VerifyMatch()
174 TC3_LOG(ERROR) << "Could not create verifier."; in VerifyMatch()
Dflatbuffers.cc57 TC3_LOG(ERROR) << "Unsupported type: " << type->element(); in CreateRepeatedField()
71 TC3_LOG(ERROR) << "No root table specified."; in NewRoot()
167 TC3_LOG(ERROR) << "Could not parse '" << value << "' as int32."; in ParseAndSet()
175 TC3_LOG(ERROR) << "Could not parse '" << value << "' as int64."; in ParseAndSet()
183 TC3_LOG(ERROR) << "Could not parse '" << value << "' as float."; in ParseAndSet()
191 TC3_LOG(ERROR) << "Could not parse '" << value << "' as double."; in ParseAndSet()
197 TC3_LOG(ERROR) << "Unhandled field type: " << field->type()->base_type(); in ParseAndSet()
217 TC3_LOG(ERROR) << "Unknown field: " << field_name.ToString(); in Mutable()
224 TC3_LOG(ERROR) << "Field is not of type Object."; in Mutable()
245 TC3_LOG(ERROR) << "Unknown field: " << field_name.ToString(); in Repeated()
[all …]
Dlua-utils.cc146 TC3_LOG(ERROR) << "Field was not set in entity data."; in GetField()
157 TC3_LOG(ERROR) << "Unsupported type: " << field_type; in GetField()
166 TC3_LOG(ERROR) << "Expected actions table, got: " in ReadFlatbuffer()
177 TC3_LOG(ERROR) << "Unknown field: " << key.ToString(); in ReadFlatbuffer()
208 TC3_LOG(ERROR) << "Unsupported type: " << field->type()->base_type(); in ReadFlatbuffer()
240 TC3_LOG(FATAL) << "Unknown value type."; in PushValue()
285 TC3_LOG(ERROR) << "Could not compile lua snippet: " in Compile()
291 TC3_LOG(ERROR) << "Could not dump compiled lua snippet."; in Compile()
/external/libtextclassifier/actions/
Dactions-suggestions.cc113 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap()
140 TC3_LOG(ERROR) << "Model verification failed."; in FromScopedMmap()
230 TC3_LOG(ERROR) << "No model specified."; in ValidateAndInitialize()
235 TC3_LOG(ERROR) << "No smart reply action type specified."; in ValidateAndInitialize()
240 TC3_LOG(ERROR) << "Could not initialize preconditions."; in ValidateAndInitialize()
246 TC3_LOG(ERROR) << "Could not parse model supported locales."; in ValidateAndInitialize()
254 TC3_LOG(ERROR) << "Could not initialize model executor."; in ValidateAndInitialize()
269 TC3_LOG(ERROR) << "Could not initialize rules."; in ValidateAndInitialize()
278 TC3_LOG(ERROR) << "Could not load entity data schema data."; in ValidateAndInitialize()
294 TC3_LOG(ERROR) << "Could not precompile lua actions snippet."; in ValidateAndInitialize()
[all …]
Dlua-ranker.cc43 TC3_LOG(ERROR) << "Could not initialize lua environment for ranker."; in Create()
68 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()
Dzlib-utils.cc31 TC3_LOG(ERROR) << "Cannot compress model."; in CompressActionsModel()
95 TC3_LOG(ERROR) << "Cannot initialize decompressor."; in DecompressActionsModel()
105 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel()
118 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel()
123 TC3_LOG(ERROR) << "Cannot decompress pattern: " << i; in DecompressActionsModel()
134 TC3_LOG(ERROR) << "Cannot decompress actions script."; in DecompressActionsModel()
142 TC3_LOG(ERROR) << "Cannot decompress actions script."; in DecompressActionsModel()
Dlua-utils.cc51 TC3_LOG(ERROR) << "No annotation with collection: " << key.ToString() in Item()
68 TC3_LOG(ERROR) << "No annotation with name: " << key.ToString() << " found."; in Item()
143 TC3_LOG(INFO) << "Unknown span field: " << key.ToString(); in ReadSpan()
154 TC3_LOG(ERROR) << "Expected annotations table, got: " in ReadAnnotations()
165 TC3_LOG(ERROR) << "Expected annotation table, got: " in ReadAnnotations()
189 TC3_LOG(ERROR) << "Unknown annotation field: " << key.ToString(); in ReadAnnotation()
222 TC3_LOG(INFO) << "Unknown classification result field: " in ReadClassificationResult()
300 TC3_LOG(INFO) << "Unknown action field: " << key.ToString(); in ReadAction()
311 TC3_LOG(ERROR) << "Expected actions table, got: " in ReadActions()
322 TC3_LOG(ERROR) << "Expected action table, got: " in ReadActions()
Dlua-actions.cc62 TC3_LOG(ERROR) in CreateLuaActionsSuggestions()
143 TC3_LOG(ERROR) << "Could not load actions suggestions snippet."; in SuggestActions()
148 TC3_LOG(ERROR) << "Could not run actions suggestions snippet."; in SuggestActions()
158 TC3_LOG(ERROR) << "Could not read lua result."; in SuggestActions()
Dranker.cc204 TC3_LOG(ERROR) << "Could not initialize action ranker."; in CreateActionsSuggestionsRanker()
214 TC3_LOG(ERROR) << "No ranking options specified."; in InitializeAndValidate()
224 TC3_LOG(ERROR) << "Could not precompile lua ranking snippet."; in InitializeAndValidate()
345 TC3_LOG(ERROR) << "Could not run lua ranking snippet."; in RankActions()
/external/libtextclassifier/annotator/datetime/
Dextractor.cc39 TC3_LOG(ERROR) << "Couldn't retrieve group."; in Extract()
50 TC3_LOG(ERROR) << "Couldn't extract YEAR."; in Extract()
58 TC3_LOG(ERROR) << "Couldn't extract MONTH."; in Extract()
66 TC3_LOG(ERROR) << "Couldn't extract DAY."; in Extract()
74 TC3_LOG(ERROR) << "Couldn't extract HOUR."; in Extract()
82 TC3_LOG(ERROR) << "Couldn't extract MINUTE."; in Extract()
90 TC3_LOG(ERROR) << "Couldn't extract SECOND."; in Extract()
98 TC3_LOG(ERROR) << "Couldn't extract AMPM."; in Extract()
106 TC3_LOG(ERROR) << "Couldn't extract RELATION_DISTANCE_FIELD."; in Extract()
114 TC3_LOG(ERROR) << "Couldn't extract RELATION_FIELD."; in Extract()
[all …]
Dparser_test.cc72 TC3_LOG(ERROR) << text; in HasNoResult()
106 TC3_LOG(ERROR) << text; in ParsesCorrectly()
110 TC3_LOG(ERROR) << "No results."; in ParsesCorrectly()
141 TC3_LOG(ERROR) << "Expected: " << expected[0]; in ParsesCorrectly()
143 TC3_LOG(ERROR) << "But got no results."; in ParsesCorrectly()
145 TC3_LOG(ERROR) << "Actual: " << filtered_results[0]; in ParsesCorrectly()
/external/libtextclassifier/utils/sentencepiece/
Dnormalizer.cc31 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()
Ddouble_array_trie.cc26 TC3_LOG(WARNING) << "Trie is empty. Skipping."; in GatherPrefixMatches()
45 TC3_LOG(ERROR) << "Out-of-bounds trie search position."; in GatherPrefixMatches()
/external/libtextclassifier/utils/memory/
Dmmap.cc44 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/utils/calendar/
Dcalendar-javaicu.cc65 TC3_LOG(ERROR) << "Initialize without env"; in Initialize()
84 TC3_LOG(ERROR) << "day of the week indices mismatch"; in Initialize()
95 TC3_LOG(ERROR) << "failed to get timezone"; in Initialize()
117 TC3_LOG(ERROR) << "failed to get locale"; in Initialize()
126 TC3_LOG(ERROR) << "failed to get calendar"; in Initialize()
134 TC3_LOG(ERROR) << "failed to set time"; in Initialize()
155 TC3_LOG(FATAL) << "Java ICU CalendarLib must be initialized with a JniCache."; in CalendarLib()
/external/libtextclassifier/utils/java/
Djni-base.cc43 TC3_LOG(ERROR) << "Couldn't find FileDescriptor."; in GetFdFromFileDescriptor()
53 TC3_LOG(ERROR) << "Couldn't find descriptor."; in GetFdFromFileDescriptor()
63 TC3_LOG(ERROR) << "Couldn't find AssetFileDescriptor."; in GetFdFromAssetFileDescriptor()
69 TC3_LOG(ERROR) << "Couldn't find getFileDescriptor."; in GetFdFromAssetFileDescriptor()
/external/libtextclassifier/utils/zlib/
Dzlib_regex.cc37 TC3_LOG(ERROR) << "Cannot decompress pattern."; in UncompressMakeRegexPattern()
45 TC3_LOG(ERROR) << "Cannot load uncompressed pattern."; in UncompressMakeRegexPattern()
65 TC3_LOG(ERROR) << "Could not create pattern: " in UncompressMakeRegexPattern()
Dzlib.cc40 TC3_LOG(ERROR) << "Could not initialize decompressor."; in ZlibDecompressor()
45 TC3_LOG(ERROR) << "Could not set dictionary."; in ZlibDecompressor()
133 TC3_LOG(ERROR) << "Could not initialize compressor."; in ZlibCompressor()
138 TC3_LOG(ERROR) << "Could not set dictionary."; in ZlibCompressor()
/external/libtextclassifier/utils/strings/
Dsubstitute.cc33 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/utils/utf8/
Dunilib_test-include.cc74 TC3_LOG(INFO) << matcher->Matches(&status); in TEST_F()
75 TC3_LOG(INFO) << matcher->Find(&status); in TEST_F()
76 TC3_LOG(INFO) << matcher->Start(0, &status); in TEST_F()
77 TC3_LOG(INFO) << matcher->End(0, &status); in TEST_F()
78 TC3_LOG(INFO) << matcher->Group(0, &status).size_codepoints(); in TEST_F()

123