Home
last modified time | relevance | path

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

/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()
483 private String getCountryNames(String lang, String countryCode) { in getCountryNames() argument
486 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { in getCountryNames()
489 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames()
492 if (!countryCode.equals(countryDisplayName)) { in getCountryNames()
507 if (mBackupCountryCodes[i].equals(countryCode)) { in getCountryNames()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java71 public PhoneNumberFormattingTextWatcher(String countryCode) { in PhoneNumberFormattingTextWatcher() argument
72 if (countryCode == null) throw new IllegalArgumentException(); in PhoneNumberFormattingTextWatcher()
73 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode); in PhoneNumberFormattingTextWatcher()
DPhoneNumberUtils.java2394 public CountryCallingCodeAndNewIndex(int countryCode, int newIndex) { in CountryCallingCodeAndNewIndex() argument
2395 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/base/tools/layoutlib/bridge/src/libcore/icu/
DICU_Delegate.java122 /*package*/ static String getDisplayCountryNative(String countryCode, String locale) { in getDisplayCountryNative() argument
/frameworks/base/wifi/java/android/net/wifi/
DWifiStateMachine.java1050 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument
1052 mPersistedCountryCode = countryCode; in setCountryCode()
1055 countryCode); in setCountryCode() local
1057 sendMessage(CMD_SET_COUNTRY_CODE, countryCode); in setCountryCode()
1279 String countryCode = Settings.Global.getString(mContext.getContentResolver(), in setCountryCode() local
1281 if (countryCode != null && !countryCode.isEmpty()) { in setCountryCode()
1282 setCountryCode(countryCode, false); in setCountryCode()
1909 String countryCode = mPersistedCountryCode; in processMessage() local
1910 if (TextUtils.isEmpty(countryCode) == false) { in processMessage()
1913 countryCode); in processMessage() local
[all …]
DWifiNative.java355 public boolean setCountryCode(String countryCode) { in setCountryCode() argument
356 return doBooleanCommand("DRIVER COUNTRY " + countryCode); in setCountryCode()
/frameworks/base/services/java/com/android/server/wifi/
DWifiService.java596 public void setCountryCode(String countryCode, boolean persist) { in setCountryCode() argument
597 Slog.i(TAG, "WifiService trying to set country code to " + countryCode + in setCountryCode()
602 mWifiStateMachine.setCountryCode(countryCode, persist); in setCountryCode()