OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:leniency
(Results
1 - 9
of
9
) 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
360
PhoneNumberMatcher::
Leniency
leniency
,
367
leniency_(
leniency
),
415
// If
leniency
is set to VALID or stricter, we also want to skip numbers that
474
Leniency
leniency
, const PhoneNumber& number,
476
switch (
leniency
) {
517
LOG(ERROR) << "No implementation defined for verification for
leniency
"
518
<< static_cast<int>(
leniency
);
[
all
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberMatcher.java
19
import com.android.i18n.phonenumbers.PhoneNumberUtil.
Leniency
;
199
private final
Leniency
leniency
;
field in class:PhoneNumberMatcher
220
* @param
leniency
the
leniency
to use when evaluating candidate phone numbers
225
PhoneNumberMatcher(PhoneNumberUtil util, CharSequence text, String country,
Leniency
leniency
,
228
if ((util == null) || (
leniency
== null)) {
237
this.
leniency
=
leniency
;
[
all
...]
PhoneNumberUtil.java
437
*
Leniency
when {@linkplain PhoneNumberUtil#findNumbers finding} potential phone numbers in text
440
public enum
Leniency
{
470
* "65 02 53 00 00" and "650253 0000" are not accepted at this
leniency
level, whereas
502
* example, a US number written as "650 2530000" is not accepted at this
leniency
level, whereas
531
/** 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
;
465
*
leniency
level.
491
* "strict_grouping"
leniency
level.
547
doTestNumberMatchesForLeniency(testCases,
Leniency
.POSSIBLE);
553
doTestNumberNonMatchesForLeniency(testCases,
Leniency
.POSSIBLE);
561
doTestNumberMatchesForLeniency(testCases,
Leniency
.VALID);
568
doTestNumberNonMatchesForLeniency(testCases,
Leniency
.VALID);
575
doTestNumberMatchesForLeniency(testCases,
Leniency
.STRICT_GROUPING);
583
doTestNumberNonMatchesForLeniency(testCases,
Leniency
.STRICT_GROUPING);
589
doTestNumberMatchesForLeniency(testCases,
Leniency
.EXACT_GROUPING)
[
all
...]