Searched refs:countryCode (Results 1 - 12 of 12) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsNumberUtils.java | 109 public int countryCode; field in class:SmsNumberUtils.NumberEntry 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 [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | 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) { argument 70 if (countryCode == null) throw new IllegalArgumentException(); 71 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode);
|
H A D | PhoneNumberUtils.java | 2701 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { argument 2702 this.countryCallingCode = countryCode;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | 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) { argument 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/base/tools/layoutlib/bridge/src/libcore/icu/ |
H A D | ICU_Delegate.java | 131 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { argument
|
/frameworks/base/location/java/android/location/ |
H A D | Address.java | 267 public void setCountryCode(String countryCode) { argument 268 mCountryCode = countryCode; 453 sb.append(",countryCode=");
|
/frameworks/base/core/java/android/text/style/ |
H A D | TtsSpan.java | 1292 * @param countryCode The country code can be a series of digits 1296 public TelephoneBuilder setCountryCode(String countryCode) { argument 1297 return setStringArgument(TtsSpan.ARG_COUNTRY_CODE, countryCode);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pServiceImpl.java | 1167 String countryCode = (String) message.obj; 1168 countryCode = countryCode.toUpperCase(Locale.ROOT); 1170 countryCode.equals(mLastSetCountryCode) == false) { 1171 if (mWifiNative.setCountryCode(countryCode)) { 1172 mLastSetCountryCode = countryCode; 2726 String countryCode = Settings.Global.getString(mContext.getContentResolver(), 2728 if (countryCode != null && !countryCode.isEmpty()) { 2729 mP2pStateMachine.sendMessage(SET_COUNTRY_CODE, countryCode); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardProxy.java | 265 String countryCode = operator.substring(0,3); 266 if (countryCode != null) { 268 MccTable.countryCodeForMcc(Integer.parseInt(countryCode)));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 1067 * @param countryCode ISO 3166 country code. 1074 public void setCountryCode(String countryCode, boolean persist) { argument 1075 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + 1080 mWifiStateMachine.setCountryCode(countryCode, persist);
|
H A D | WifiNative.java | 585 public boolean setCountryCode(String countryCode) { argument 586 return doBooleanCommand("DRIVER COUNTRY " + countryCode.toUpperCase(Locale.ROOT));
|
H A D | WifiStateMachine.java | 2315 * @param countryCode following ISO 3166 format 2318 public void setCountryCode(String countryCode, boolean persist) { argument 2324 if (TextUtils.isEmpty(countryCode)) { 2327 sendMessage(CMD_SET_COUNTRY_CODE, countryCodeSequence, persist ? 1 : 0, countryCode); 3156 String countryCode = Settings.Global.getString(mContext.getContentResolver(), 3158 if (countryCode != null && !countryCode.isEmpty()) { 3159 setCountryCode(countryCode, false); 4753 String countryCode = mPersistedCountryCode; 4754 if (TextUtils.isEmpty(countryCode) [all...] |
Completed in 407 milliseconds