Searched refs:phoneText (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/ |
D | GenerateLinksLoggerTest.java | 55 final String phoneText = "+12122537077"; in testLogGenerateLinks() local 57 final String testText = "The number is " + phoneText + ", the address is " + addressText; in testLogGenerateLinks() 58 final int phoneOffset = testText.indexOf(phoneText); in testLogGenerateLinks() 68 .addLink(phoneOffset, phoneOffset + phoneText.length(), phoneEntityScores) in testLogGenerateLinks() 84 assertHasLog(logs, "" /* entityType */, 2, phoneText.length() + addressText.length(), in testLogGenerateLinks() 88 assertHasLog(logs, TextClassifier.TYPE_PHONE, 1, phoneText.length(), in testLogGenerateLinks()
|