Home
last modified time | relevance | path

Searched refs:countryCode (Results 1 – 13 of 13) 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/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.java2816 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument
2817 this.countryCallingCode = countryCode; in CountryCallingCodeAndNewIndex()
/frameworks/base/location/java/android/location/
DAddress.java267 public void setCountryCode(String countryCode) { in setCountryCode() argument
268 mCountryCode = countryCode; in setCountryCode()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1167 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()
2738 String countryCode = Settings.Global.getString(mContext.getContentResolver(), in initializeP2pSettings() local
2740 if (countryCode != null && !countryCode.isEmpty()) { in initializeP2pSettings()
2741 mP2pStateMachine.sendMessage(SET_COUNTRY_CODE, countryCode); in initializeP2pSettings()
/frameworks/base/tools/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.java265 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/
DWifiNative.java650 public boolean setCountryCode(String countryCode) { in setCountryCode() argument
651 if (countryCode != null) in setCountryCode()
652 return doBooleanCommand("DRIVER COUNTRY " + countryCode.toUpperCase(Locale.ROOT)); in setCountryCode()
DWifiServiceImpl.java1086 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument
1087 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + in setCountryCode()
1092 mWifiStateMachine.setCountryCode(countryCode, persist); in setCountryCode()
DWifiStateMachine.java2325 public synchronized void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument
2331 if (TextUtils.isEmpty(countryCode)) { in setCountryCode()
2337 if (countryCodeSequence == 0 || countryCode.equals(mSetCountryCode) == false) { in setCountryCode()
2340 mSetCountryCode = countryCode; in setCountryCode()
2342 countryCode); in setCountryCode()
2348 countryCode); in setCountryCode() local
3592 String countryCode = Settings.Global.getString(mContext.getContentResolver(), in setCountryCode() local
3594 if (countryCode != null && !countryCode.isEmpty()) { in setCountryCode()
3595 setCountryCode(countryCode, false); in setCountryCode()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...