/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 109 public int countryCode; field in SmsNumberUtils.NumberEntry 200 int countryCode = numberEntry.countryCode; in formatNumber() local 203 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { in formatNumber() 380 int countryCode = -1; in checkInternationalNumberPlan() local 388 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 389 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 392 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { in checkInternationalNumberPlan() 393 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() 400 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { in checkInternationalNumberPlan() 401 numberEntry.countryCode = countryCode; in checkInternationalNumberPlan() [all …]
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneData.java | 386 final String countryCode = fields[0]; in loadTzsInZoneTab() local 399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { in loadTzsInZoneTab() 406 String country = mCountryCodeToNameMap.get(countryCode); in loadTzsInZoneTab() 408 country = getCountryNames(lang, countryCode); in loadTzsInZoneTab() 409 mCountryCodeToNameMap.put(countryCode, country); in loadTzsInZoneTab() 482 private String getCountryNames(String lang, String countryCode) { in getCountryNames() argument 485 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { in getCountryNames() 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames() 491 if (!countryCode.equals(countryDisplayName)) { in getCountryNames() 506 if (mBackupCountryCodes[i].equals(countryCode)) { in getCountryNames() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 69 public PhoneNumberFormattingTextWatcher(String countryCode) { in PhoneNumberFormattingTextWatcher() argument 70 if (countryCode == null) throw new IllegalArgumentException(); in PhoneNumberFormattingTextWatcher() 71 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
|
D | PhoneNumberUtils.java | 2701 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument 2702 this.countryCallingCode = countryCode; in CountryCallingCodeAndNewIndex()
|
/frameworks/base/location/java/android/location/ |
D | Address.java | 267 public void setCountryCode(String countryCode) { in setCountryCode() argument 268 mCountryCode = countryCode; in setCountryCode()
|
/frameworks/base/tools/layoutlib/bridge/src/libcore/icu/ |
D | ICU_Delegate.java | 131 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1167 String countryCode = (String) message.obj; in processMessage() local 1168 countryCode = countryCode.toUpperCase(Locale.ROOT); in processMessage() 1170 countryCode.equals(mLastSetCountryCode) == false) { in processMessage() 1171 if (mWifiNative.setCountryCode(countryCode)) { in processMessage() 1172 mLastSetCountryCode = countryCode; in processMessage() 2726 String countryCode = Settings.Global.getString(mContext.getContentResolver(), in initializeP2pSettings() local 2728 if (countryCode != null && !countryCode.isEmpty()) { in initializeP2pSettings() 2729 mP2pStateMachine.sendMessage(SET_COUNTRY_CODE, countryCode); in initializeP2pSettings()
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 1296 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() argument 1297 return setStringArgument(TtsSpan.ARG_COUNTRY_CODE, countryCode); in setCountryCode()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccCardProxy.java | 265 String countryCode = operator.substring(0,3); in handleMessage() local 266 if (countryCode != null) { in handleMessage() 268 MccTable.countryCodeForMcc(Integer.parseInt(countryCode))); in handleMessage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1074 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument 1075 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + in setCountryCode() 1080 mWifiStateMachine.setCountryCode(countryCode, persist); in setCountryCode()
|
D | WifiNative.java | 585 public boolean setCountryCode(String countryCode) { in setCountryCode() argument 586 return doBooleanCommand("DRIVER COUNTRY " + countryCode.toUpperCase(Locale.ROOT)); in setCountryCode()
|
D | WifiStateMachine.java | 2318 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument 2324 if (TextUtils.isEmpty(countryCode)) { in setCountryCode() 2327 sendMessage(CMD_SET_COUNTRY_CODE, countryCodeSequence, persist ? 1 : 0, countryCode); in setCountryCode() 3156 String countryCode = Settings.Global.getString(mContext.getContentResolver(), in setCountryCode() local 3158 if (countryCode != null && !countryCode.isEmpty()) { in setCountryCode() 3159 setCountryCode(countryCode, false); in setCountryCode() 4753 String countryCode = mPersistedCountryCode; in processMessage() local 4754 if (TextUtils.isEmpty(countryCode) == false) { in processMessage() 4757 countryCode); in processMessage() local 4764 sequenceNum, 0, countryCode); in processMessage()
|