Home
last modified time | relevance | path

Searched refs:entityTypes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEventTronLogger.java72 String[] entityTypes = event.getEntityTypes(); in writeEvent() local
75 if (entityTypes.length >= 1) { in writeEvent()
76 log.addTaggedData(FIELD_TEXT_CLASSIFIER_FIRST_ENTITY_TYPE, entityTypes[0]); in writeEvent()
78 if (entityTypes.length >= 2) { in writeEvent()
79 log.addTaggedData(FIELD_TEXT_CLASSIFIER_SECOND_ENTITY_TYPE, entityTypes[1]); in writeEvent()
81 if (entityTypes.length >= 3) { in writeEvent()
82 log.addTaggedData(FIELD_TEXT_CLASSIFIER_THIRD_ENTITY_TYPE, entityTypes[2]); in writeEvent()
DTextClassifierEvent.java538 public T setEntityTypes(@NonNull String... entityTypes) { in setEntityTypes() argument
539 Preconditions.checkNotNull(entityTypes); in setEntityTypes()
540 mEntityTypes = new String[entityTypes.length]; in setEntityTypes()
541 System.arraycopy(entityTypes, 0, mEntityTypes, 0, entityTypes.length); in setEntityTypes()
DTextClassifier.java503 @Nullable Collection<String> entityTypes) { in createWithExplicitEntityList()
505 .setIncludedTypes(entityTypes) in createWithExplicitEntityList()
519 @NonNull Collection<String> entityTypes) { in resolveEntityListModifications()
522 finalSet.addAll(entityTypes); in resolveEntityListModifications()