HomeSort by relevance Sort by last modified time
    Searched refs:countryCode (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /packages/apps/Contacts/src/com/android/contacts/compat/
PhoneNumberFormattingTextWatcherCompat.java 21 public static PhoneNumberFormattingTextWatcher newInstance(String countryCode) {
23 return new PhoneNumberFormattingTextWatcher(countryCode);
  /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 21 public String getDisplayCountry(String countryCode, Locale locale) {
22 countryCode = AsciiUtil.toUpperString(countryCode);
24 .regionDisplayName(countryCode);
25 if (disp == null || disp.length() == 0 || disp.equals(countryCode)) {
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsNumberUtils.java 109 public int countryCode;
200 int countryCode = numberEntry.countryCode;
203 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) {
380 int countryCode = -1;
388 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) {
389 numberEntry.countryCode = countryCode;
392 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) {
393 numberEntry.countryCode = countryCode
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiCountryCode.java 111 * @param countryCode The country code intended to set.
116 public synchronized boolean setCountryCode(String countryCode) {
117 if (DBG) Log.d(TAG, "Receive set country code request: " + countryCode);
119 if (TextUtils.isEmpty(countryCode)) {
125 mTelephonyCountryCode = countryCode.toUpperCase();
164 pw.println("CountryCode sent to driver: " + mCurrentCountryCode);
167 pw.println("CountryCode: " + pickCountryCode() + " was not sent to driver");
169 pw.println("CountryCode was not initialized");
  /packages/apps/Contacts/src/com/android/contacts/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);
  /packages/apps/Dialer/java/com/android/dialer/telecom/
TelecomCallUtil.java 110 Optional<String> countryCode = getCountryCode(appContext, call);
111 if (!countryCode.isPresent()) {
115 return Optional.fromNullable(PhoneNumberUtils.formatNumberToE164(rawNumber, countryCode.get()));
  /system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
UniqueZonesVisualizer.java 66 for (String countryCode : countryCodes) {
67 zonesCalculator.createGraphvizFile(countryCode, startInclusive,
68 endExclusive, compressTree, outputDir + "/" + countryCode + ".gv");
  /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 110 * @param countryCode country code
116 String countryCode,
128 && countryCode == null) {
  /packages/apps/Dialer/java/com/android/dialer/assisteddialing/
CountryCodeProvider.java 65 public boolean isSupportedCountryCode(String countryCode) {
66 return supportedCountryCodes.contains(countryCode);
  /packages/apps/Dialer/java/com/android/dialer/smartdial/util/
SmartDialPrefix.java 233 String countryCode = "";
245 countryCode = number.substring(1, i);
246 if (isValidCountryCode(countryCode)) {
259 countryCode = "1";
270 if (countryCode.equals("") && normalizedNumber.length() == 10) {
276 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) {
290 return new PhoneNumberTokens(countryCode, countryCodeOffset, nanpNumberOffset);
294 private static boolean isValidCountryCode(String countryCode) {
298 return countryCodes.contains(countryCode);
588 final String countryCode;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/model/
SimCard.java 72 CharSequence displayName, String phoneNumber, String countryCode) {
78 mCountryCode = countryCode != null ? countryCode.toUpperCase(Locale.US) : null;
82 CharSequence displayName, String phoneNumber, String countryCode) {
83 this(simId, NO_SUBSCRIPTION_ID, carrierName, displayName, phoneNumber, countryCode);
  /packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
AssistedDialingSettingFragment.java 52 CharSequence countryDisplayName, CharSequence countryCode) {
54 countryDisplayName, countryCode);
61 abstract CharSequence countryCode();
135 if (countryCodeProvider.isSupportedCountryCode(tuple.countryCode().toString())) {
137 newValues.add(tuple.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;
  /packages/apps/Settings/src/com/android/settings/wifi/tether/
WifiTetherApBandPreferenceController.java 100 final String countryCode = mWifiManager.getCountryCode();
101 if (!mWifiManager.isDualBandSupported() || countryCode == null) {
  /packages/apps/Settings/src/com/android/settings/overlay/
SupportFeatureProvider.java 61 SupportPhone getSupportPhones(String countryCode, boolean isTollfree);
  /libcore/luni/src/main/java/libcore/icu/
TimeZoneNames.java 163 String countryCode = locale.getCountry();
166 if (line.startsWith(countryCode)) {
  /device/generic/goldfish/wifi/wifi_hal/
interface.h 57 wifi_error setCountryCode(const char* countryCode);
  /packages/apps/Dialer/java/com/android/dialer/calldetails/
CallDetailsHeaderViewHolder.java 112 private void updateAssistedDialingText(Integer countryCode) {
115 if (countryCode <= 0) {
124 R.string.assisted_dialing_country_code_entry, String.valueOf(countryCode)));
  /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
AsYouTypeFormatter.java 604 int countryCode = phoneUtil.extractCountryCode(nationalNumber, numberWithoutCountryCallingCode);
605 if (countryCode == 0) {
610 String newRegionCode = phoneUtil.getRegionCodeForCountryCode(countryCode);
612 currentMetadata = phoneUtil.getMetadataForNonGeographicalRegion(countryCode);
616 String countryCodeString = Integer.toString(countryCode);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneGenericNames.java 241 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary);
242 if (countryCode != null) {
245 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 239 String countryCode = ZoneMeta.getCanonicalCountry(canonicalTzID, isPrimary);
240 if (countryCode != null) {
243 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...]

Completed in 1167 milliseconds

1 2 3 4 5 6