Home
last modified time | relevance | path

Searched refs:typeConfig (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTest.java365 TextClassifier.EntityConfig typeConfig) { in assertFullEntityConfig_notIncludeTypesFromTextClassifier() argument
371 typeConfig.resolveEntityListModifications(extraTypesFromTextClassifier); in assertFullEntityConfig_notIncludeTypesFromTextClassifier()
373 assertThat(typeConfig.shouldIncludeTypesFromTextClassifier()).isFalse(); in assertFullEntityConfig_notIncludeTypesFromTextClassifier()
374 assertThat(typeConfig.resolveEntityListModifications(Collections.emptyList())) in assertFullEntityConfig_notIncludeTypesFromTextClassifier()
379 private static void assertFullEntityConfig(TextClassifier.EntityConfig typeConfig) { in assertFullEntityConfig() argument
385 typeConfig.resolveEntityListModifications(extraTypesFromTextClassifier); in assertFullEntityConfig()
387 assertThat(typeConfig.shouldIncludeTypesFromTextClassifier()).isTrue(); in assertFullEntityConfig()
388 assertThat(typeConfig.resolveEntityListModifications(Collections.emptyList())) in assertFullEntityConfig()
394 private static void assertMinimalEntityConfig(TextClassifier.EntityConfig typeConfig) { in assertMinimalEntityConfig() argument
395 assertThat(typeConfig.shouldIncludeTypesFromTextClassifier()).isTrue(); in assertMinimalEntityConfig()
[all …]
DConversationActionsTest.java105 TextClassifier.EntityConfig typeConfig = in testRequest_full() local
115 .setTypeConfig(typeConfig) in testRequest_full()