Home
last modified time | relevance | path

Searched refs:getConfidenceScore (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java85 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel()
93 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
94 assertEquals(.5f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel()
95 assertEquals(.1f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
DTextSelectionTest.java70 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
71 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
72 assertEquals(0.1f, result.getConfidenceScore(TextClassifier.TYPE_URL), 1e-7f); in testParcel()
DTextLanguageTest.java62 assertEquals(0.8f, result.getConfidenceScore(ULocale.ENGLISH), EPSILON); in testParcel()
64 assertEquals(0.2f, result.getConfidenceScore(ULocale.GERMAN), EPSILON); in testParcel()
DTextClassifierEventTest.java85 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionMulti()
114 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionSingle()
148 .setScores(TEXT_CLASSIFICATION.getConfidenceScore(entityType)) in toSelectionEvent_resetSelection()
235 .setScores(TEXT_CLASSIFICATION.getConfidenceScore(entityType)) in toSelectionEvent_link_smartAction()
DTextClassificationTest.java130 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
131 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
DTextClassifierTest.java682 if (conversationAction.getConfidenceScore() < 0
683 || conversationAction.getConfidenceScore() > 1) {
/frameworks/base/core/java/android/view/textclassifier/
DTextLanguage.java108 public float getConfidenceScore(@NonNull ULocale locale) { in getConfidenceScore() method in TextLanguage
109 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
DTextSelection.java100 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextSelection
101 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
DEntityConfidence.java85 public float getConfidenceScore(String entity) { in getConfidenceScore() method in EntityConfidence
DConversationAction.java186 public float getConfidenceScore() { in getConfidenceScore() method in ConversationAction
DTextClassifierImpl.java525 if (textLanguage.getConfidenceScore(locale) < threshold) { in detectLanguageTagsFromText()
737 final float score = languageScores.getConfidenceScore(language); in generateLanguageBundles()
818 final float score = (subjectTextScoreRatio * scores.getConfidenceScore(language) in detectLanguages()
819 + moreTextScoreRatio * moreTextScores.getConfidenceScore(language)) in detectLanguages()
DTextLinks.java276 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( in getConfidenceScore() method in TextLinks.TextLink
278 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
DTextClassification.java190 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextClassification
191 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
DExtrasUtils.java104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...