Home
last modified time | relevance | path

Searched refs:annotator (Results 1 – 25 of 30) sorted by relevance

12

/external/libtextclassifier/java/com/google/android/textclassifier/
DActionsSuggestionsModel.java68 Conversation conversation, ActionSuggestionOptions options, AnnotatorModel annotator) { in suggestActions() argument
73 (annotator != null ? annotator.getNativeAnnotator() : 0), in suggestActions()
84 AnnotatorModel annotator) { in suggestActionsWithIntents() argument
89 (annotator != null ? annotator.getNativeAnnotator() : 0), in suggestActionsWithIntents()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DSectionAnnotator.java44 @Nonnull public final DexAnnotator annotator; field in SectionAnnotator
52 public SectionAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) { in SectionAnnotator() argument
53 this.annotator = annotator; in SectionAnnotator()
54 this.dexFile = annotator.dexFile; in SectionAnnotator()
DClassDefItem.java56 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
57 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
61 classDataAnnotator = annotator.getAnnotator(ItemType.CLASS_DATA_ITEM); in makeAnnotator()
DEncodedArrayItem.java43 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
44 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DStringDataItem.java44 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
45 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationSetRefList.java46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationSetItem.java46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationItem.java47 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
48 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DClassDataItem.java45 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
50 codeItemAnnotator = annotator.getAnnotator(ItemType.CODE_ITEM); in makeAnnotator()
DTypeIdItem.java45 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DMapItem.java74 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
75 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DTypeListItem.java46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DProtoIdItem.java49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DStringIdItem.java46 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
47 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DMethodIdItem.java49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DFieldIdItem.java49 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
50 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DAnnotationDirectoryItem.java47 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
48 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
DDebugInfoItem.java45 …public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem map… in makeAnnotator() argument
46 return new SectionAnnotator(annotator, mapItem) { in makeAnnotator()
/external/libtextclassifier/
DAndroid.bp170 srcs: ["annotator/entity-data.fbs"],
171 out: ["annotator/entity-data_generated.h"],
191 srcs: ["annotator/model.fbs"],
192 out: ["annotator/model_generated.h"],
268 "annotator/test_data/**/*",
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DDumpCommand.java103 DexAnnotator annotator = new DexAnnotator(rawDexFile, consoleWidth); in dump() local
104 annotator.writeAnnotations(writer); in dump()
/external/libtextclassifier/actions/
Dactions-suggestions.cc1027 const Annotator* annotator, std::vector<ActionSuggestion>* actions) const { in SuggestActionsFromAnnotations() argument
1073 if (annotations.empty() && annotator != nullptr) { in SuggestActionsFromAnnotations()
1074 annotations = annotator->Annotate(message.text, in SuggestActionsFromAnnotations()
1321 const Conversation& conversation, const Annotator* annotator, in GatherActionsSuggestions() argument
1336 SuggestActionsFromAnnotations(conversation, options, annotator, in GatherActionsSuggestions()
1395 annotator != nullptr ? annotator->entity_data_schema() : nullptr, in GatherActionsSuggestions()
1416 const Conversation& conversation, const Annotator* annotator, in SuggestActions() argument
1419 if (!GatherActionsSuggestions(conversation, annotator, options, &response)) { in SuggestActions()
1423 annotator != nullptr in SuggestActions()
1424 ? annotator->entity_data_schema() in SuggestActions()
Dactions-suggestions.h105 const Conversation& conversation, const Annotator* annotator,
216 const Annotator* annotator, std::vector<ActionSuggestion>* actions) const;
239 const Annotator* annotator,
Dactions_jni.cc370 const Annotator* annotator = reinterpret_cast<Annotator*>(annotatorPtr); in TC3_JNI_METHOD() local
373 context->model()->SuggestActions(conversation, annotator, options); in TC3_JNI_METHOD()
376 annotator ? annotator->entity_data_schema() : nullptr; in TC3_JNI_METHOD()
/external/libchrome/base/debug/
Dtask_annotator_unittest.cc40 TaskAnnotator annotator; in TEST() local
41 annotator.WillQueueTask("TaskAnnotatorTest::Queue", &pending_task); in TEST()
43 annotator.RunTask("TaskAnnotatorTest::Queue", &pending_task); in TEST()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/util/
DDexAnnotator.java165 SectionAnnotator annotator = annotators.get(mapItem.getType()); in writeAnnotations() local
166 annotator.annotateSection(this); in writeAnnotations()

12