Home
last modified time | relevance | path

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

/packages/modules/ExtServices/java/src/android/ext/services/notification/
DNotificationOtpDetectionHelper.java200 String sensitiveText = getTextForDetection(notification); in containsOtp() local
202 otpMatcher.reset(sensitiveText); in containsOtp()
208 if (allOtpMatchesAreFalsePositives(sensitiveText, DATE_WITH_DASHES_REGEX.get())) { in containsOtp()
213 Matcher languageSpecificMatcher = getLanguageSpecificRegex(sensitiveText, tc); in containsOtp()
215 languageSpecificMatcher.reset(sensitiveText); in containsOtp()
220 if (hasFalsePositivesTcCheck(sensitiveText, tc)) { in containsOtp()
225 return !allOtpMatchesAreFalsePositives(sensitiveText, FALSE_POSITIVE_REGEX.get()); in containsOtp()