/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
PhoneNumberFormattingTextWatcherCompat.java | 21 public static PhoneNumberFormattingTextWatcher newInstance(String countryCode) { 23 return new PhoneNumberFormattingTextWatcher(countryCode);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/ |
Locale.java | 237 private transient String countryCode; 251 this.countryCode = upperCaseCountryCode; 281 countryCode = ""; 298 // countryCode = country.toUpperCase(Locale.US); // not supported by GWT 299 countryCode = country.toUpperCase(); 324 && countryCode.equals(o.countryCode) 353 return countryCode; 380 // if (countryCode.isEmpty()) { 411 // localeString = toNewString("fil", countryCode, variantCode) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAddress.java | 15 private String countryCode; 83 return countryCode; 87 public void setCountryCode(String countryCode) { 88 this.countryCode = countryCode;
|
ShadowGeocoder.java | 25 private String countryCode; 51 address.setCountryCode(countryCode); 85 * @param countryCode the country code for the response 87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { 92 this.countryCode = countryCode;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
LocaleNameProviderICU.java | 19 public String getDisplayCountry(String countryCode, Locale locale) { 20 countryCode = AsciiUtil.toUpperString(countryCode); 22 .regionDisplayName(countryCode); 23 if (disp == null || disp.length() == 0 || disp.equals(countryCode)) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiCountryCode.java | 130 * @param countryCode The country code intended to set. 135 public synchronized boolean setCountryCode(String countryCode, boolean persist) { 136 if (DBG) Log.d(TAG, "Receive set country code request: " + countryCode); 138 if (TextUtils.isEmpty(countryCode)) { 143 mDefaultCountryCode = countryCode; 145 mTelephonyCountryCode = countryCode.toUpperCase();
|
FrameworkFacade.java | 137 * @param countryCode Country code 145 String countryCode, ArrayList<Integer> allowed2GChannels, 148 looper, wifiNative, nmService, countryCode,
|
SoftApManager.java | 73 String countryCode, 80 mCountryCode = countryCode;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 106 public int countryCode; 197 int countryCode = numberEntry.countryCode; 200 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { 377 int countryCode = -1; 385 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { 386 numberEntry.countryCode = countryCode; 389 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { 390 numberEntry.countryCode = countryCode [all...] |
/libcore/ojluni/src/main/java/java/util/spi/ |
LocaleNameProvider.java | 105 * For example, if <code>countryCode</code> is "FR" and <code>locale</code> 106 * is en_US, getDisplayCountry() will return "France"; if <code>countryCode</code> 111 * @param countryCode the country(region) code string in the form of two 117 * @exception NullPointerException if <code>countryCode</code> or <code>locale</code> is null 118 * @exception IllegalArgumentException if <code>countryCode</code> is not in the form of 125 public abstract String getDisplayCountry(String countryCode, Locale locale);
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
SupportFeatureProvider.java | 63 boolean isAlwaysOperating(@SupportType int type, String countryCode); 79 CharSequence getOperationHours(Context context, @SupportType int type, String countryCode, 100 SupportPhone getSupportPhones(String countryCode, boolean isTollfree);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
PhoneNumberFormatter.java | 40 String countryCode, TextView textView, boolean formatAfterWatcherSet) { 41 mCountryCode = countryCode;
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 64 * The formatting is based on the given <code>countryCode</code>. 66 * @param countryCode the ISO 3166-1 two-letter country code that indicates the country/region 69 public PhoneNumberFormattingTextWatcher(String countryCode) { 70 if (countryCode == null) throw new IllegalArgumentException(); 71 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 386 final String countryCode = fields[0]; 399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { 406 String country = mCountryCodeToNameMap.get(countryCode); 408 country = getCountryNames(lang, countryCode); 409 mCountryCodeToNameMap.put(countryCode, country); 482 private String getCountryNames(String lang, String countryCode) { 485 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); 491 if (!countryCode.equals(countryDisplayName)) { 506 if (mBackupCountryCodes[i].equals(countryCode)) { [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ApConfigUtil.java | 107 * @param countryCode country code 113 String countryCode, 125 && countryCode == null) {
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialPrefix.java | 108 final String countryCode; 116 public PhoneNumberTokens(String countryCode, int countryCodeOffset, int nanpCodeOffset) { 117 this.countryCode = countryCode; 261 String countryCode = ""; 273 countryCode = number.substring(1, i); 274 if (isValidCountryCode(countryCode)) { 285 countryCode = "1"; 296 if (countryCode.equals("") && normalizedNumber.length() == 10){ 301 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 380 String countryCode = mTelephonyManager.getNetworkCountryIso(); 382 assertTrue("Country code '" + countryCode + "' did not match " 384 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); 392 String countryCode = mTelephonyManager.getSimCountryIso(); 394 assertTrue("Country code '" + countryCode + "' did not match " 396 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 193 String countryCode = addr1CountryCode; 195 if (!countryCode.equals(currentCountry)) { 196 closestCommonLocation += ", " + adminArea + " " + countryCode; 245 String countryCode = addr1CountryCode; 246 if (!countryCode.equals(currentCountry)) { 247 if (countryCode != null && countryCode.length() > 0) { 248 closestCommonLocation += " " + countryCode;
|
/libcore/luni/src/main/java/libcore/icu/ |
TimeZoneNames.java | 146 String countryCode = locale.getCountry(); 149 if (line.startsWith(countryCode)) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApDialog.java | 137 String countryCode = mWifiManager.getCountryCode(); 138 if (!mWifiManager.isDualBandSupported() || countryCode == null) { 141 + (countryCode == null ? " NO country code" :"") + " forbid 5GHz");
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 600 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode); 601 if (countryCode == 0) { 606 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode); 608 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode); 612 String countryCodeString = Integer.toString(countryCode);
|
PhoneNumberUtil.java | [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 239 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); 240 if (countryCode != null) { 243 String country = getLocaleDisplayNames().regionDisplayName(countryCode); 551 String countryCode = ZoneMeta.getCanonicalCountry(tzID); 552 if (countryCode != null) { 554 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); 557 location = getLocaleDisplayNames().regionDisplayName(countryCode); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneGenericNames.java | 237 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary); 238 if (countryCode != null) { 241 String country = getLocaleDisplayNames().regionDisplayName(countryCode); 549 String countryCode = ZoneMeta.getCanonicalCountry(tzID); 550 if (countryCode != null) { 552 String regionalGolden = _tznames.getReferenceZoneID(mzID, countryCode); 555 location = getLocaleDisplayNames().regionDisplayName(countryCode); [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 65 String countryCode = "US"; 66 address.setCountryCode(countryCode); 67 assertEquals(countryCode, address.getCountryCode()); 209 "locality=null,thoroughfare=null,postalCode=95120,countryCode=null," +
|