Home
last modified time | relevance | path

Searched refs:TYPE_ADDRESS (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/intent/
DTemplateClassificationIntentFactoryTest.java72 TextClassifier.TYPE_ADDRESS, in create_foreignText()
113 TextClassifier.TYPE_ADDRESS, in create_notForeignText()
150 TextClassifier.TYPE_ADDRESS, in create_nullTemplate()
185 TextClassifier.TYPE_ADDRESS, in create_emptyResult()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextSelectionTest.java49 .setEntityType(TextClassifier.TYPE_ADDRESS, 0.3f) in testParcel()
68 assertEquals(TextClassifier.TYPE_ADDRESS, result.getEntity(1)); in testParcel()
71 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
DTextLinksTest.java53 result.put(TextClassifier.TYPE_ADDRESS, address); in getEntityScores()
90 assertEquals(TextClassifier.TYPE_ADDRESS, resultList.get(1).getEntity(0)); in testParcel()
93 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
DTextClassificationTest.java98 .setEntityType(TextClassifier.TYPE_ADDRESS, 0.3f) in testParcel()
129 assertEquals(TextClassifier.TYPE_ADDRESS, result.getEntity(1)); in testParcel()
131 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
DTextClassifierTest.java184 assertThat(classification, isTextClassification(text, TextClassifier.TYPE_ADDRESS)); in testClassifyText_address()
308 List<String> explicit = Arrays.asList(TextClassifier.TYPE_ADDRESS); in testGenerateLinks_explicit_address()
315 TextClassifier.TYPE_ADDRESS)); in testGenerateLinks_explicit_address()
DTextClassifierEventTest.java37 .setEntityType(TextClassifier.TYPE_ADDRESS, 1)
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DGenerateLinksLoggerTest.java65 addressEntityScores.put(TextClassifier.TYPE_ADDRESS, 1f); in testLogGenerateLinks()
86 assertHasLog(logs, TextClassifier.TYPE_ADDRESS, 1, addressText.length(), in testLogGenerateLinks()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java79 entitiesToFind.add(TextClassifier.TYPE_ADDRESS); in fromLinkMask()
DTextClassificationConstants.java173 TextClassifier.TYPE_ADDRESS,
DTextClassifier.java84 String TYPE_ADDRESS = "address"; field
108 TYPE_ADDRESS,
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java73 case TextClassifier.TYPE_ADDRESS: in create()
/frameworks/base/api/
Dcurrent.txt53610 field public static final String TYPE_ADDRESS = "address";