Home
last modified time | relevance | path

Searched refs:countryCode (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsNumberUtils.java109 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/net/wifi/service/java/com/android/server/wifi/
DWifiCountryCode.java127 public synchronized boolean setCountryCode(String countryCode) { in setCountryCode() argument
128 if (DBG) Log.d(TAG, "Receive set country code request: " + countryCode); in setCountryCode()
130 if (TextUtils.isEmpty(countryCode)) { in setCountryCode()
136 mTelephonyCountryCode = countryCode.toUpperCase(); in setCountryCode()
DSoftApManager.java80 String countryCode, in SoftApManager() argument
90 mCountryCode = countryCode; in SoftApManager()
DWifiNative.java440 public boolean setCountryCode(String countryCode) { in setCountryCode() argument
441 return mSupplicantStaIfaceHal.setCountryCode(countryCode); in setCountryCode()
1187 public boolean setCountryCodeHal(String countryCode) { in setCountryCodeHal() argument
1188 return mWifiVendorHal.setCountryCodeHal(countryCode); in setCountryCodeHal()
DWifiVendorHal.java1585 public boolean setCountryCodeHal(String countryCode) { in setCountryCodeHal() argument
1586 if (countryCode == null) return boolResult(false); in setCountryCodeHal()
1587 if (countryCode.length() != 2) return boolResult(false); in setCountryCodeHal()
1590 code = NativeUtil.stringToByteArray(countryCode); in setCountryCodeHal()
DWifiServiceImpl.java1898 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument
1899 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + in setCountryCode()
1904 mCountryCode.setCountryCode(countryCode); in setCountryCode()
DWifiStateMachine.java911 BackupManagerProxy backupManagerProxy, WifiCountryCode countryCode, in WifiStateMachine() argument
972 mCountryCode = countryCode; in WifiStateMachine()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneData.java386 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/
DPhoneNumberFormattingTextWatcher.java69 public PhoneNumberFormattingTextWatcher(String countryCode) { in PhoneNumberFormattingTextWatcher() argument
70 if (countryCode == null) throw new IllegalArgumentException(); in PhoneNumberFormattingTextWatcher()
71 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
DPhoneNumberUtils.java2943 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument
2944 this.countryCallingCode = countryCode; in CountryCallingCodeAndNewIndex()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java113 String countryCode, in updateApChannelConfig() argument
125 && countryCode == null) { in updateApChannelConfig()
/frameworks/base/location/java/android/location/
DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() argument
268 mCountryCode = countryCode; in setCountryCode()
/frameworks/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java134 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative() argument
/frameworks/base/core/java/android/text/style/
DTtsSpan.java1306 public TelephoneBuilder setCountryCode(String countryCode) { in setCountryCode() argument
1307 return setStringArgument(TtsSpan.ARG_COUNTRY_CODE, countryCode); in setCountryCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccCardProxy.java264 String countryCode = operator.substring(0,3); in handleMessage() local
265 if (countryCode != null) { in handleMessage()
267 MccTable.countryCodeForMcc(Integer.parseInt(countryCode))); in handleMessage()