OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:leniency
(Results
1 - 3
of
3
) sorted by null
/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
...]
/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
...]
Completed in 402 milliseconds