Home
last modified time | relevance | path

Searched refs:getConfidenceScore (Results 1 – 17 of 17) 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.java110 public float getConfidenceScore(@NonNull ULocale locale) { in getConfidenceScore() method in TextLanguage
111 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
DTextSelection.java102 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextSelection
103 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
DEntityConfidence.java85 public float getConfidenceScore(String entity) { in getConfidenceScore() method in EntityConfidence
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()
DConversationAction.java186 public float getConfidenceScore() { in getConfidenceScore() method in ConversationAction
DTextLinks.java278 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( in getConfidenceScore() method in TextLinks.TextLink
280 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
DTextClassification.java192 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextClassification
193 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
DExtrasUtils.java104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
/frameworks/base/api/
Dcurrent.txt53382 method @FloatRange(from=0, to=1) public float getConfidenceScore();
53512 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
53751 …method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(@NonNull android.icu.util.ULo…
53829 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
53847 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
/frameworks/base/config/
Dboot-image-profile.txt18240 PLandroid/view/textclassifier/ConversationAction;->getConfidenceScore()F
Dhiddenapi-greylist-max-o.txt82123 Landroid/view/textclassifier/EntityConfidence;->getConfidenceScore(Ljava/lang/String;)F