Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DConstraints.java74 @NonNull String userHomeCountryCode, in meetsPreconditions() argument
82 if (TextUtils.isEmpty(userHomeCountryCode)) { in meetsPreconditions()
92 userHomeCountryCode = userHomeCountryCode.toUpperCase(Locale.US); in meetsPreconditions()
95 Optional<PhoneNumber> parsedPhoneNumber = parsePhoneNumber(numberToCheck, userHomeCountryCode); in meetsPreconditions()
102 return areSupportedCountryCodes(userHomeCountryCode, userRoamingCountryCode) in meetsPreconditions()
103 && isUserRoaming(userHomeCountryCode, userRoamingCountryCode) in meetsPreconditions()
112 @NonNull String userHomeCountryCode, @NonNull String userRoamingCountryCode) { in isUserRoaming()
113 boolean result = !userHomeCountryCode.equals(userRoamingCountryCode); in isUserRoaming()
123 @NonNull String userHomeCountryCode, @NonNull String userRoamingCountryCode) { in areSupportedCountryCodes()
124 if (TextUtils.isEmpty(userHomeCountryCode)) { in areSupportedCountryCodes()
[all …]
DAssistedDialingMediatorImpl.java57 public Optional<String> userHomeCountryCode() { in userHomeCountryCode() method in AssistedDialingMediatorImpl
68 Optional<String> userHomeCountryCode = locationDetector.getUpperCaseUserHomeCountry(); in attemptAssistedDial() local
71 if (!userHomeCountryCode.isPresent() || !userRoamingCountryCode.isPresent()) { in attemptAssistedDial()
77 numberToTransform, userHomeCountryCode.get(), userRoamingCountryCode.get()); in attemptAssistedDial()
DNumberTransformer.java46 String numbertoTransform, String userHomeCountryCode, String userRoamingCountryCode) { in doAssistedDialingTransformation() argument
49 numbertoTransform, userHomeCountryCode, userRoamingCountryCode)) { in doAssistedDialingTransformation()
60 return phoneNumberUtil.parse(numbertoTransform, userHomeCountryCode); in doAssistedDialingTransformation()
91 .setUserHomeCountryCode(userHomeCountryCode) in doAssistedDialingTransformation()
DTransformationInfo.java50 public abstract String userHomeCountryCode(); in userHomeCountryCode() method in TransformationInfo
98 assistedDialingExtras.putString(USER_HOME_COUNTRY_CODE_KEY, userHomeCountryCode()); in toBundle()
DAssistedDialingMediator.java29 Optional<String> userHomeCountryCode(); in userHomeCountryCode() method
DAssistedDialingMediatorStub.java33 public Optional<String> userHomeCountryCode() { in userHomeCountryCode() method in AssistedDialingMediatorStub
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/ui/
DAssistedDialingSettingFragment.java93 Optional<String> userHomeCountryCode = assistedDialingMediator.userHomeCountryCode(); in updateCountryChooserSummary() local
94 if (userHomeCountryCode.isPresent()) { in updateCountryChooserSummary()
98 entries[countryChooserPref.findIndexOfValue(userHomeCountryCode.get())]; in updateCountryChooserSummary()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java206 state.assistedDialingExtras().userHomeCountryCode())); in getLabelForDialing()
225 state.assistedDialingExtras().userHomeCountryCode()); in getLabelForDialing()