/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/ |
PhoneNumberMatcherTest.java | 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 21 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 38 PhoneNumber number = new PhoneNumber(); 46 number = new PhoneNumber(); 53 number = new PhoneNumber(); 59 number = new PhoneNumber(); 73 number = new PhoneNumber(); [all...] |
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
PrefixFileReader.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 115 PhoneNumber number, String lang, String script, String region) {
|
PhonePrefixMap.java | 20 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 175 * As per {@link #lookup(long)}, but receives the number as a PhoneNumber instead of a long. 180 public String lookup(PhoneNumber number) {
|
/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.addPhones(phoneNumber);
|
ListPeople.java | 19 for (Person.PhoneNumber phoneNumber : person.getPhonesList()) { 20 switch (phoneNumber.getType()) { 31 System.out.println(phoneNumber.getNumber());
|
add_person.cc | 35 tutorial::Person::PhoneNumber* phone_number = person->add_phones();
|
list_people.cc | 21 const tutorial::Person::PhoneNumber& phone_number = person.phones(j);
|
add_person.go | 55 // The PhoneNumber message type is nested within the Person
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
PhoneNumberTestService.java | 29 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 48 private static final String TAG = "phonenumber"; 101 final PhoneNumber pn = util.parse(number, country);
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
PhoneNumberMatcher.java | 24 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; 25 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 415 PhoneNumber number = phoneUtil.parseAndKeepRawInput(candidate, preferredRegion); 467 boolean checkGroups(PhoneNumberUtil util, PhoneNumber number, 472 PhoneNumber number, 516 PhoneNumber number, 552 private static String[] getNationalNumberGroups(PhoneNumberUtil util, PhoneNumber number, 575 PhoneNumber number, String candidate, PhoneNumberUtil util, NumberGroupingChecker checker) [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
GeoUtil.java | 26 import com.google.i18n.phonenumbers.Phonenumber; 48 public static String getGeocodedLocationFor(Context context, String phoneNumber) { 52 final Phonenumber.PhoneNumber structuredPhoneNumber = 53 phoneNumberUtil.parse(phoneNumber, getCurrentCountryIso(context));
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
PhoneNumberUtilsCompat.java | 26 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 41 public static String normalizeNumber(String phoneNumber) { 43 return PhoneNumberUtils.normalizeNumber(phoneNumber); 45 return normalizeNumberInternal(phoneNumber); 52 private static String normalizeNumberInternal(String phoneNumber) { 53 if (TextUtils.isEmpty(phoneNumber)) { 57 int len = phoneNumber.length(); 59 char c = phoneNumber.charAt(i); 67 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); [all...] |
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/ |
PhonePrefixMapTest.java | 19 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 38 private PhoneNumber number = new PhoneNumber();
|
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
PhoneNumberParserServlet.java | 31 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 65 String phoneNumber = null; 79 if (fieldName.equals("phoneNumber")) { 80 phoneNumber = Streams.asString(in, UTF_8.name()); 109 resp.sendRedirect(getPermaLinkURL(phoneNumber, defaultCountry, geocodingLocale, 120 String phoneNumber = req.getParameter("number"); 121 if (phoneNumber == null) { 122 phoneNumber = ""; 136 getOutputForSingleNumber(phoneNumber, defaultCountry, geocodingLocale)) [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
bt_contacts_utils.py | 86 PhoneNumber(phone_number[0], phone_number[1])) 133 class PhoneNumber(object): 207 return PhoneNumber("CELL",
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
PhoneUtils.java | 42 import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; 491 String phoneNumber = subInfo.getNumber(); 492 if (TextUtils.isEmpty(phoneNumber) && LogUtil.isLoggable(TAG, LogUtil.DEBUG)) { 495 return phoneNumber; 748 final PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); 749 if (phoneNumber != null && phoneNumberUtil.isValidNumber(phoneNumber)) { 750 return phoneNumberUtil.format(phoneNumber, PhoneNumberFormat.E164) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | 22 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 211 * Returns null if phoneNumber == null 214 extractNetworkPortion(String phoneNumber) { 215 if (phoneNumber == null) { 219 int len = phoneNumber.length(); 223 char c = phoneNumber.charAt(i); 253 public static String extractNetworkPortionAlt(String phoneNumber) { 254 if (phoneNumber == null) { 258 int len = phoneNumber.length() [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 41 import com.android.i18n.phonenumbers.Phonenumber.PhoneNumber; 63 * Also, it is implied that phoneNumber is more often populated than 65 * names are not known to the device), so phoneNumber should serve as 80 * phoneNumber field. 82 * What we're really doing here is treating phoneNumber as an essential 87 public String phoneNumber; 203 info.phoneNumber = cursor.getString(columnIndex); 368 if (TextUtils.isEmpty(info.phoneNumber)) { 369 info.phoneNumber = number [all...] |
/packages/apps/Dialer/java/com/android/dialer/phonenumberutil/ |
PhoneNumberHelper.java | 30 import com.google.i18n.phonenumbers.Phonenumber; 113 Phonenumber.PhoneNumber pn = null;
|
/frameworks/base/config/ |
compiled-classes-phone | [all...] |