HomeSort by relevance Sort by last modified time
    Searched refs:Leniency (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/
phonenumbermatcher.h 52 // Leniency when finding potential phone numbers in text segments. The levels
54 enum Leniency {
61 // accepted at this leniency level, whereas "650 253 0000" or "6502530000"
71 // written as "650 2530000" is not accepted at this leniency level, whereas
80 Leniency leniency,
84 // number of retries and VALID Leniency.
127 // verifies it matches the requested leniency. If parsing and verification
149 bool VerifyAccordingToLeniency(Leniency leniency, const PhoneNumber& number
    [all...]
phonenumbermatcher.cc 353 PhoneNumberMatcher::Leniency leniency,
360 leniency_(leniency),
408 // If leniency is set to VALID or stricter, we also want to skip numbers that
467 Leniency leniency, const PhoneNumber& number,
469 switch (leniency) {
510 LOG(ERROR) << "No implementation defined for verification for leniency "
511 << static_cast<int>(leniency);
    [all...]
  /external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberMatcherTest.java 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.Leniency;
387 * leniency level.
413 * "strict_grouping" leniency level.
465 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE);
471 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE);
479 doTestNumberMatchesForLeniency(testCases, Leniency.VALID);
486 doTestNumberNonMatchesForLeniency(testCases, Leniency.VALID);
493 doTestNumberMatchesForLeniency(testCases, Leniency.STRICT_GROUPING);
501 doTestNumberNonMatchesForLeniency(testCases, Leniency.STRICT_GROUPING);
507 doTestNumberMatchesForLeniency(testCases, Leniency.EXACT_GROUPING)
    [all...]
  /external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatcher.java 19 import com.android.i18n.phonenumbers.PhoneNumberUtil.Leniency;
180 private final Leniency leniency; field in class:PhoneNumberMatcher
201 * @param leniency the leniency to use when evaluating candidate phone numbers
206 PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country, Leniency leniency,
209 if ((util == null) || (leniency == null)) {
218 this.leniency = leniency;
    [all...]
PhoneNumberUtil.java 453 * Leniency when {@linkplain PhoneNumberUtil#findNumbers finding} potential phone numbers in text
456 public enum Leniency {
486 * "65 02 53 00 00" and "650253 0000" are not accepted at this leniency level, whereas
517 * example, a US number written as "650 2530000" is not accepted at this leniency level, whereas
546 /** Returns true if {@code number} is a verified number according to this leniency. */
    [all...]
  /frameworks/base/core/java/android/text/util/
Linkify.java 42 import com.android.i18n.phonenumbers.PhoneNumberUtil.Leniency;
453 Locale.getDefault().getCountry(), Leniency.POSSIBLE, Long.MAX_VALUE);

Completed in 198 milliseconds