/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
PhonenumberTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 * Tests for the Phonenumber.PhoneNumber object itself. 32 PhoneNumber numberA = new PhoneNumber(); 35 PhoneNumber numberB = new PhoneNumber(); [all...] |
PhoneNumberMatchTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 35 PhoneNumber number = new PhoneNumber(); 53 new PhoneNumberMatch(-110, "1 800 234 45 67", new PhoneNumber()); 63 new PhoneNumberMatch(10, null, new PhoneNumber());
|
PhoneNumberUtilTest.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 40 private static final PhoneNumber ALPHA_NUMERIC_NUMBER = 41 new PhoneNumber().setCountryCode(1).setNationalNumber(80074935247L); 42 private static final PhoneNumber AR_MOBILE = 43 new PhoneNumber().setCountryCode(54).setNationalNumber(91187654321L); 44 private static final PhoneNumber AR_NUMBER = 45 new PhoneNumber().setCountryCode(54).setNationalNumber(1187654321) [all...] |
ExampleNumbersTest.java | 21 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 41 private List<PhoneNumber> invalidCases = new ArrayList<PhoneNumber>(); 42 private List<PhoneNumber> wrongTypeCases = new ArrayList<PhoneNumber>(); 69 PhoneNumber exampleNumber = 160 PhoneNumber exampleNumber = null; 199 PhoneNumber exampleNumber = 211 PhoneNumber exampleNumber = phoneNumberUtil.getExampleNumber(regionCode) [all...] |
PhoneNumberMatcherTest.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 201 PhoneNumber expectedResult = phoneUtil.parse(number, RegionCode.US); 329 PhoneNumber number1 = new PhoneNumber(); 334 PhoneNumber number2 = new PhoneNumber(); 623 PhoneNumber number1 = new PhoneNumber(); 628 PhoneNumber number2 = new PhoneNumber() [all...] |
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoderTest.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 36 private static final PhoneNumber KO_NUMBER1 = 37 new PhoneNumber().setCountryCode(82).setNationalNumber(22123456L); 38 private static final PhoneNumber KO_NUMBER2 = 39 new PhoneNumber().setCountryCode(82).setNationalNumber(322123456L); 40 private static final PhoneNumber KO_NUMBER3 = 41 new PhoneNumber().setCountryCode(82).setNationalNumber(6421234567L); 42 private static final PhoneNumber KO_INVALID_NUMBER = 43 new PhoneNumber().setCountryCode(82).setNationalNumber(1234L) [all...] |
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
Phonenumber.java | 19 * based on the class file compiled from phonenumber.proto. Please refer to that file for detailed 27 public final class Phonenumber { 28 private Phonenumber() {} 29 public static class PhoneNumber implements Serializable { 38 public PhoneNumber() { 47 public PhoneNumber setCountryCode(int value) { 52 public PhoneNumber clearCountryCode() { 63 public PhoneNumber setNationalNumber(long value) { 68 public PhoneNumber clearNationalNumber() { 79 public PhoneNumber setExtension(String value) [all...] |
PhoneNumberMatch.java | 19 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 62 private final PhoneNumber number; 71 PhoneNumberMatch(int start, String rawString, PhoneNumber number) { 84 public PhoneNumber number() {
|
PhoneNumberUtil.java | 23 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 372 * use the PhoneNumber class. 426 * Possible outcomes when testing if a PhoneNumber is possible. 441 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) 442 * possible}, but not necessarily {@linkplain PhoneNumberUtil#isValidNumber(PhoneNumber) valid}. 446 boolean verify(PhoneNumber number, String candidate, PhoneNumberUtil util) { 451 * Phone numbers accepted are {@linkplain PhoneNumberUtil#isPossibleNumber(PhoneNumber) [all...] |
PhoneNumberMatcher.java | 24 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 418 PhoneNumber number = phoneUtil.parseAndKeepRawInput(candidate, preferredRegion); 449 boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, 454 PhoneNumber number, 488 PhoneNumber number, 524 private static String[] getNationalNumberGroups(PhoneNumberUtil util, PhoneNumber number, 547 PhoneNumber number, String candidate, PhoneNumberUtil util, NumberGroupingChecker checker) [all...] |
/external/chromium/chrome/browser/autofill/ |
phone_number.h | 17 class PhoneNumber : public FormGroup { 19 PhoneNumber(); 20 explicit PhoneNumber(const PhoneNumber& number); 21 virtual ~PhoneNumber(); 23 PhoneNumber& operator=(const PhoneNumber& number);
|
phone_number.cc | 35 PhoneNumber::PhoneNumber() {} 37 PhoneNumber::PhoneNumber(const PhoneNumber& number) : FormGroup() { 41 PhoneNumber::~PhoneNumber() {} 43 PhoneNumber& PhoneNumber::operator=(const PhoneNumber& number) [all...] |
fax_number.cc | 9 FaxNumber::FaxNumber(const FaxNumber& fax) : PhoneNumber(fax) {} 14 PhoneNumber::operator=(fax);
|
home_phone_number.cc | 10 : PhoneNumber(phone) { 16 PhoneNumber::operator=(phone);
|
fax_number.h | 12 class FaxNumber : public PhoneNumber {
|
home_phone_number.h | 13 class HomePhoneNumber : public PhoneNumber {
|
phone_number_unittest.cc | 18 PhoneNumber::ParsePhoneNumber(phone0, &number, &city_code, &country_code); 25 PhoneNumber::ParsePhoneNumber(phone1, &number, &city_code, &country_code); 32 PhoneNumber::ParsePhoneNumber(phone2, &number, &city_code, &country_code); 40 PhoneNumber::ParsePhoneNumber(phone_separator2, 49 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); 58 PhoneNumber::ParsePhoneNumber(phone3, &number, &city_code, &country_code); 66 PhoneNumber::ParsePhoneNumber(phone4, &number, &city_code, &country_code); 74 PhoneNumber::ParsePhoneNumber(phone_separator4, 83 PhoneNumber::ParsePhoneNumber(phone5, &number, &city_code, &country_code); 91 PhoneNumber::ParsePhoneNumber(phone6, &number, &city_code, &country_code) [all...] |
phone_field.h | 93 scoped_ptr<PhoneNumber> number_;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DefaultCallLogInsertionHelper.java | 25 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 78 private PhoneNumber parsePhoneNumber(String number, String countryIso) { 95 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
|
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoder.java | 20 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 131 private String getCountryNameForNumber(PhoneNumber number, Locale language) { 157 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode) { 169 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but also considers the 189 public String getDescriptionForValidNumber(PhoneNumber number, Locale languageCode, 205 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale)} but explicitly checks 213 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode) { 221 * As per {@link #getDescriptionForValidNumber(PhoneNumber, Locale, String)} but 232 public String getDescriptionForNumber(PhoneNumber number, Locale languageCode [all...] |
/external/protobuf/examples/ |
AddPerson.java | 38 Person.PhoneNumber.Builder phoneNumber = 39 Person.PhoneNumber.newBuilder().setNumber(number); 44 phoneNumber.setType(Person.PhoneType.MOBILE); 46 phoneNumber.setType(Person.PhoneType.HOME); 48 phoneNumber.setType(Person.PhoneType.WORK); 53 person.addPhone(phoneNumber);
|
ListPeople.java | 19 for (Person.PhoneNumber phoneNumber : person.getPhoneList()) { 20 switch (phoneNumber.getType()) { 31 System.out.println(phoneNumber.getNumber());
|
add_person.cc | 35 tutorial::Person::PhoneNumber* phone_number = person->add_phone();
|
list_people.cc | 21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
PhoneNumberTestService.java | 29 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 48 private static final String TAG = "phonenumber"; 101 final PhoneNumber pn = util.parse(number, country);
|