Searched refs:countryCode (Results 1 - 12 of 12) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsNumberUtils.java109 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 DPhoneNumberFormattingTextWatcher.java64 * 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 DPhoneNumberUtils.java2701 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { argument
2702 this.countryCallingCode = countryCode;
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneData.java386 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 DICU_Delegate.java131 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { argument
/frameworks/base/location/java/android/location/
H A DAddress.java267 public void setCountryCode(String countryCode) { argument
268 mCountryCode = countryCode;
453 sb.append(",countryCode=");
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java1292 * @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 DWifiP2pServiceImpl.java1167 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 DIccCardProxy.java265 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 DWifiServiceImpl.java1067 * @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 DWifiNative.java585 public boolean setCountryCode(String countryCode) { argument
586 return doBooleanCommand("DRIVER COUNTRY " + countryCode.toUpperCase(Locale.ROOT));
H A DWifiStateMachine.java2315 * @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