OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PhoneNumberUtil
(Results
1 - 3
of
3
) sorted by null
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
TestMetadataTestCase.java
22
* Root class for
PhoneNumberUtil
tests that depend on the test metadata file.
34
protected final
PhoneNumberUtil
phoneUtil;
40
static
PhoneNumberUtil
initializePhoneUtilForTesting() {
41
PhoneNumberUtil
.resetInstance();
42
PhoneNumberUtil
phoneUtil =
PhoneNumberUtil
.getInstance(
ExampleNumbersTest.java
19
import com.android.i18n.phonenumbers.
PhoneNumberUtil
.PhoneNumberType;
40
private
PhoneNumberUtil
phoneNumberUtil
;
45
PhoneNumberUtil
.resetInstance();
46
phoneNumberUtil
=
PhoneNumberUtil
.getInstance();
68
for (String regionCode :
phoneNumberUtil
.getSupportedRegions()) {
70
phoneNumberUtil
.getExampleNumberForType(regionCode, exampleNumberRequestedType);
72
if (!
phoneNumberUtil
.isValidNumber(exampleNumber)) {
77
PhoneNumberType exampleNumberType =
phoneNumberUtil
.getNumberType(exampleNumber)
[
all
...]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
PhoneNumberUtil.java
57
public class
PhoneNumberUtil
{
72
private static final Logger LOGGER = Logger.getLogger(
PhoneNumberUtil
.class.getName());
339
private static
PhoneNumberUtil
instance = null;
432
* Leniency when {@linkplain
PhoneNumberUtil
#findNumbers finding} potential phone numbers in text
437
* Phone numbers accepted are {@linkplain
PhoneNumberUtil
#isPossibleNumber(PhoneNumber)
438
* possible}, but not necessarily {@linkplain
PhoneNumberUtil
#isValidNumber(PhoneNumber) valid}.
442
boolean verify(PhoneNumber number, String candidate,
PhoneNumberUtil
util) {
447
* Phone numbers accepted are {@linkplain
PhoneNumberUtil
#isPossibleNumber(PhoneNumber)
448
* possible} and {@linkplain
PhoneNumberUtil
#isValidNumber(PhoneNumber) valid}. Numbers written
454
boolean verify(PhoneNumber number, String candidate,
PhoneNumberUtil
util)
[
all
...]
Completed in 97 milliseconds