Home
last modified time | relevance | path

Searched refs:textClassifier (Results 1 – 2 of 2) sorted by relevance

/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt417 addMatcherTestResult(expected = false, threeLowercase, textClassifier = tc) in testContainsOtp_threeDontMatch_withoutLanguageSpecificRegex()
438 addMatcherTestResult(expected = false, englishFalsePositive, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
441 addMatcherTestResult(expected = true, englishTruePositive, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
445 addMatcherTestResult(expected = true, englishTruePositive, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
449 addMatcherTestResult(expected = false, anotherFalsePositive, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
451 addMatcherTestResult(expected = true, codeInNextSentence, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
452 addMatcherTestResult(expected = true, codeInSentenceAfterNewline, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
453 addMatcherTestResult(expected = false, codeTwoSentencesAfterContext, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
454 addMatcherTestResult(expected = false, codeInSentenceBeforeContext, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
455 addMatcherTestResult(expected = false, codeInNextSentenceTooFar, textClassifier = tc) in testContainsOtp_englishSpecificRegex()
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertDialog.java807 TextClassifier textClassifier) { in applyTextLinksToSpannable() argument
810 TextClassification textClassification = textClassifier.classifyText( in applyTextLinksToSpannable()