/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | PhoneNumberTestService.java | 60 final String country = intent.getStringExtra(EXTRA_COUNTRY_CODE); 64 Log.i(TAG, "Input country code: " + country); 65 Log.i(TAG, "Current country code: " + defaultCountry); 67 // Dump for the given country, the current country, US, GB and JP. 69 if (country != null) countries.add(country); 80 private void dump(String number, String country) { argument 81 Log.i(TAG, "Result for: " + number + " / " +country); 89 dump_PhoneNumberUtils_formatNumberToE164(String number, String country) argument 94 dump_PhoneNumberUtil_format(String number, String country, PhoneNumberFormat format) argument [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
H A D | GoogleSearch.java | 78 String country = locale.getCountry(); 80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) { 82 hl.append(country); 85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl); 90 private static boolean useLangCountryHl(String language, String country) { argument 91 // lang-country is currently only supported for a small number of locales 93 return "GB".equals(country); 95 return "CN".equals(country) || "T [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { 108 assertEquals(country, postal.country); 112 String neighborhood, String city, String region, String postcode, String country) { 120 postal.country = country; 98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
H A D | PostalSplitterForJapaneseTest.java | 115 String neighborhood, String city, String region, String postcode, String country) { 124 assertEquals(country, postal.country); 128 String neighborhood, String city, String region, String postcode, String country) { 136 postal.country = country; 114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument 127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | SmartDialPrefix.java | 37 * middle name, family name etc. Each phone number is also separated into country code, NANP area 52 /** The country code of the user's sim card obtained by calling getSimCountryIso*/ 61 /** Set of country names that use NANP code.*/ 64 /** Set of supported country codes in front of the phone number. */ 83 /** Updates shared preferences with the latest country obtained from getSimCountryIso.*/ 86 /** Uses previously stored country code if loading fails. */ 90 /** Queries the NANP country list to find out whether user is in a NANP region.*/ 110 /** Offset of national number after the country code. */ 220 * full phone number, the national number if there is a country code in the phone number, and 255 * Parses a phone number to find out whether it has country cod 561 isCountryNanp(String country) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PostalSplitter.java | 39 public String country; field in class:PostalSplitter.Postal 48 country = values.getAsString(StructuredPostal.COUNTRY); 58 values.put(StructuredPostal.COUNTRY, country); 87 postal.region, postal.postcode, postal.country 106 final boolean hasCountry = !TextUtils.isEmpty(postal.country); 108 // First block: [country][ ][postcode] 120 builder.append(postal.country); 172 final boolean hasCountry = !TextUtils.isEmpty(postal.country); 176 // Third block: [country] 220 builder.append(postal.country); [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | ContactsSyncParser.java | 190 work.country = getValue(); 205 home.country = getValue(); 220 other.country = getValue(); 333 work.state, work.country, work.code); 337 home.state, home.country, home.code); 341 other.state, other.country, other.code); 688 String country; field in class:ContactsSyncParser.Address 694 return city != null || country != null || code != null || state != null 1200 String country, String code) { 1206 cvCompareString(cv, StructuredPostal.COUNTRY, country) 1199 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument [all...] |
/packages/apps/ContactsCommon/libs/ |
H A D | libphonenumber-6.2.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/i18n/ com/google/i18n/phonenumbers/ ... |