/packages/apps/Dialer/java/com/android/dialer/smartdial/util/ |
D | SmartDialPrefix.java | 233 String countryCode = ""; in parsePhoneNumber() local 245 countryCode = number.substring(1, i); in parsePhoneNumber() 246 if (isValidCountryCode(countryCode)) { in parsePhoneNumber() 259 countryCode = "1"; in parsePhoneNumber() 270 if (countryCode.equals("") && normalizedNumber.length() == 10) { in parsePhoneNumber() 276 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) { in parsePhoneNumber() 290 return new PhoneNumberTokens(countryCode, countryCodeOffset, nanpNumberOffset); in parsePhoneNumber() 294 private static boolean isValidCountryCode(String countryCode) { in isValidCountryCode() argument 298 return countryCodes.contains(countryCode); in isValidCountryCode() 588 final String countryCode; field in SmartDialPrefix.PhoneNumberTokens [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | ReverseGeocoder.java | 193 String countryCode = addr1CountryCode; in computeAddress() local 195 if (!countryCode.equals(currentCountry)) { in computeAddress() 196 closestCommonLocation += ", " + adminArea + " " + countryCode; in computeAddress() 245 String countryCode = addr1CountryCode; in computeAddress() local 246 if (!countryCode.equals(currentCountry)) { in computeAddress() 247 if (countryCode != null && countryCode.length() > 0) { in computeAddress() 248 closestCommonLocation += " " + countryCode; in computeAddress()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/ |
D | AssistedDialingSettingFragment.java | 48 CharSequence countryDisplayName, CharSequence countryCode) { in create() argument 50 countryDisplayName, countryCode); in create() 57 abstract CharSequence countryCode(); in countryCode() method in AssistedDialingSettingFragment.DisplayNameAndCountryCodeTuple 132 if (countryCodeProvider.isSupportedCountryCode(tuple.countryCode().toString())) { in updateCountryChoices() 134 newValues.add(tuple.countryCode()); in updateCountryChoices()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | SimCard.java | 72 CharSequence displayName, String phoneNumber, String countryCode) { in SimCard() argument 78 mCountryCode = countryCode != null ? countryCode.toUpperCase(Locale.US) : null; in SimCard() 82 CharSequence displayName, String phoneNumber, String countryCode) { in SimCard() argument 83 this(simId, NO_SUBSCRIPTION_ID, carrierName, displayName, phoneNumber, countryCode); in SimCard()
|
/packages/apps/Dialer/java/com/android/incallui/contactgrid/ |
D | TopRow.java | 197 String countryCode = in getLabelForDialing() local 205 countryCode, in getLabelForDialing() 220 String countryCode = in getLabelForDialing() local 224 countryCode, in getLabelForDialing()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadFragment.java | 549 public static void setCurrentCountryIsoForTesting(String countryCode) { in setCurrentCountryIsoForTesting() argument 550 currentCountryIsoForTesting = Optional.of(countryCode); in setCurrentCountryIsoForTesting() 1926 public DialerPhoneNumberFormattingTextWatcher doInBackground(@Nullable String countryCode) { in doInBackground() argument 1927 return new DialerPhoneNumberFormattingTextWatcher(countryCode); in doInBackground() 2054 private final String countryCode; field in DialpadFragment.DialerPhoneNumberFormattingTextWatcher 2056 DialerPhoneNumberFormattingTextWatcher(String countryCode) { in DialerPhoneNumberFormattingTextWatcher() argument 2057 super(countryCode); in DialerPhoneNumberFormattingTextWatcher() 2058 this.countryCode = countryCode; in DialerPhoneNumberFormattingTextWatcher() 2065 if (!Ascii.toUpperCase(countryCode).equals("AR")) { in afterTextChanged()
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
D | PhoneNumberFormattingTextWatcherCompat.java | 21 public static PhoneNumberFormattingTextWatcher newInstance(String countryCode) { in newInstance() argument 23 return new PhoneNumberFormattingTextWatcher(countryCode); in newInstance()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | PhoneNumberFormatter.java | 40 String countryCode, TextView textView, boolean formatAfterWatcherSet) { in TextWatcherLoadAsyncTask() argument 41 mCountryCode = countryCode; in TextWatcherLoadAsyncTask()
|
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ |
D | CountryCodeProvider.java | 61 public boolean isSupportedCountryCode(String countryCode) { in isSupportedCountryCode() argument 62 return supportedCountryCodes.contains(countryCode); in isSupportedCountryCode()
|
/packages/apps/Dialer/java/com/android/dialer/calldetails/ |
D | CallDetailsHeaderViewHolder.java | 129 private void updateAssistedDialingText(Integer countryCode) { in updateAssistedDialingText() argument 132 if (countryCode <= 0) { in updateAssistedDialingText() 141 R.string.assisted_dialing_country_code_entry, String.valueOf(countryCode))); in updateAssistedDialingText()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherApBandPreferenceController.java | 131 final String countryCode = mWifiManager.getCountryCode(); in is5GhzBandSupported() local 132 if (!mWifiManager.isDualBandSupported() || countryCode == null) { in is5GhzBandSupported()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherApBandPreferenceController.java | 131 final String countryCode = mWifiManager.getCountryCode(); in is5GhzBandSupported() local 132 if (!mWifiManager.isDualBandSupported() || countryCode == null) { in is5GhzBandSupported()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiTetherApBandPreferenceController.java | 154 String countryCode = getCarWifiManager().getCountryCode(); in is5GhzBandSupported() local 155 return getCarWifiManager().isDualBandSupported() && countryCode != null; in is5GhzBandSupported()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | SectionParser.java | 1971 String countryCode = new String(data, pos, 3); in parseDvbParentalRating() local 1978 ratings.put(countryCode, rating + 3); in parseDvbParentalRating()
|