Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassificationTest.java134 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), EPSILON); in testParcel()
135 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), EPSILON); in testParcel()
267 classification.getConfidenceScore(TextClassifier.TYPE_EMAIL), in testToBuilder()
268 fromBuilder.getConfidenceScore(TextClassifier.TYPE_EMAIL), in testToBuilder()
271 classification.getConfidenceScore(TextClassifier.TYPE_PHONE), in testToBuilder()
272 fromBuilder.getConfidenceScore(TextClassifier.TYPE_PHONE), in testToBuilder()
H A DTextLinksTest.java91 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel()
99 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
100 assertEquals(.5f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel()
101 assertEquals(.1f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
H A DConversationActionTest.java58 assertThat(fromBuilder.getConfidenceScore()).isEqualTo(convAction.getConfidenceScore()); in toBuilder()
H A DTextSelectionTest.java84 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
85 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
86 assertEquals(0.1f, result.getConfidenceScore(TextClassifier.TYPE_URL), 1e-7f); in testParcel()
H A DTextLanguageTest.java64 assertEquals(0.8f, result.getConfidenceScore(ULocale.ENGLISH), EPSILON); in testParcel()
66 assertEquals(0.2f, result.getConfidenceScore(ULocale.GERMAN), EPSILON); in testParcel()
H A 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()
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A DTextLanguage.java108 public float getConfidenceScore(@NonNull ULocale locale) { in getConfidenceScore() method in TextLanguage
109 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
H A DTextSelection.java105 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextSelection
106 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
H A DEntityConfidence.java84 public float getConfidenceScore(String entity) { in getConfidenceScore() method in EntityConfidence
H A DConversationAction.java185 public float getConfidenceScore() { in getConfidenceScore() method in ConversationAction
H A DTextLinks.java277 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( in getConfidenceScore() method in TextLinks.TextLink
279 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
H A DTextClassification.java190 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextClassification
191 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
/aosp14/frameworks/base/core/java/android/content/
H A DClipDescription.java449 public float getConfidenceScore(@NonNull @TextClassifier.EntityType String entity) { in getConfidenceScore() method in ClipDescription
/aosp14/frameworks/base/services/core/java/com/android/server/clipboard/
H A DClipboardService.java1040 float conf = link.getConfidenceScore(entity); in doClassification()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt9773 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(@NonNull String);
56173 method @FloatRange(from=0, to=1) public float getConfidenceScore();
56303 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
56545 …method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(@NonNull android.icu.util.ULo…
56626 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
56644 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt62247 Landroid/view/textclassifier/EntityConfidence;->getConfidenceScore(Ljava/lang/String;)F