HomeSort by relevance Sort by last modified time
    Searched refs:countryIso (Results 1 - 25 of 61) sorted by null

1 2 3

  /packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
NumberWithCountryIso.java 31 public final String countryIso;
33 public NumberWithCountryIso(String number, String countryIso) {
35 this.countryIso = countryIso;
47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
53 int countryHashCode = countryIso == null ? 0 : countryIso.hashCode();
ContactInfoRequest.java 37 public final String countryIso;
62 String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) {
65 this.countryIso = countryIso;
87 if (!TextUtils.equals(countryIso, other.countryIso)) {
107 return Objects.hash(sequenceNumber, number, countryIso, callLogInfo, type);
ContactInfoCache.java 106 String countryIso,
109 NumberWithCountryIso numberCountryIso = new NumberWithCountryIso(number, countryIso);
122 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ true, requestType);
128 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType);
134 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType);
164 info = mContactInfoHelper.lookupNumber(request.number, request.countryIso);
178 request.countryIso,
186 info = mContactInfoHelper.lookupNumberInRemoteDirectory(request.number, request.countryIso);
197 new NumberWithCountryIso(request.number, request.countryIso);
218 request.number, request.countryIso, info, request.callLogInfo)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/spam/
SpamBindings.java 45 * @param countryIso The country ISO of the call.
48 void checkSpamStatus(String number, String countryIso, Listener listener);
52 * @param countryIso The country ISO of the call.
56 String number, @Nullable String countryIso, @NonNull Listener listener);
60 * @param countryIso The country ISO of the call.
64 String number, @Nullable String countryIso, @NonNull Listener listener);
68 * @param countryIso The country ISO of the call.
72 String number, @Nullable String countryIso, @NonNull Listener listener);
78 * @param countryIso The country ISO of the call.
81 boolean checkSpamStatusSynchronous(String number, String countryIso);
    [all...]
SpamBindingsStub.java 57 public void checkSpamStatus(String number, String countryIso, Listener listener) {
62 public void checkUserMarkedNonSpamStatus(String number, String countryIso, Listener listener) {
67 public void checkUserMarkedSpamStatus(String number, String countryIso, Listener listener) {
72 public void checkGlobalSpamListStatus(String number, String countryIso, Listener listener) {
77 public boolean checkSpamStatusSynchronous(String number, String countryIso) {
84 String countryIso,
92 String countryIso,
100 String countryIso,
108 String countryIso,
  /packages/apps/Contacts/src/com/android/contacts/util/
TelephonyManagerUtils.java 53 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase();
55 if (countryIso == null) {
56 countryIso = locale.getCountry();
57 Log.w(LOG_TAG, "No CountryDetector; falling back to countryIso based on locale: "
58 + countryIso);
60 return countryIso;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CallLogInsertionHelper.java 28 public String getGeocodedLocationFor(String number, String countryIso);
DefaultCallLogInsertionHelper.java 68 String countryIso = getCurrentCountryIso();
69 values.put(Calls.COUNTRY_ISO, countryIso);
72 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso));
83 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
101 private PhoneNumber parsePhoneNumber(String number, String countryIso) {
103 return getPhoneNumberUtil().parse(number, countryIso);
117 public String getGeocodedLocationFor(String number, String countryIso) {
118 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
  /packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockedNumbersUtil.java 35 String countryIso = Locale.getDefault().getCountry();
36 if (countryIso == null || countryIso.length() != 2) {
37 countryIso = "US";
39 return countryIso;
  /frameworks/base/location/java/android/location/
Country.java 70 * @param countryIso the ISO 3166-1 two letters country code.
71 * @param source where the countryIso came from, could be one of below
81 public Country(final String countryIso, final int source) {
82 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK
86 mCountryIso = countryIso.toUpperCase(Locale.US);
91 private Country(final String countryIso, final int source, long timestamp) {
92 if (countryIso == null || source < COUNTRY_SOURCE_NETWORK
96 mCountryIso = countryIso.toUpperCase(Locale.US);
158 * the timestamp value and just checks for equivalence of countryIso and source values.
188 * and timestamp fields, return true if the countryIso fields are equa
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogNotificationsQueryHelper.java 57 String countryIso) {
61 mCurrentCountryIso = countryIso;
67 String countryIso = GeoUtil.getCurrentCountryIso(context);
71 new ContactInfoHelper(context, countryIso),
72 countryIso);
163 @Nullable String number, int numberPresentation, @Nullable String countryIso) {
164 return getContactInfo(number, numberPresentation, countryIso).name;
173 @Nullable String number, int numberPresentation, @Nullable String countryIso) {
174 if (countryIso == null) {
175 countryIso = mCurrentCountryIso
    [all...]
BlockReportSpamListener.java 57 final String countryIso,
75 countryIso,
90 countryIso);
101 final String countryIso,
119 countryIso,
134 countryIso);
145 final String countryIso,
163 countryIso,
188 final String countryIso,
203 countryIso,
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/spam/
NumberInCallHistoryTask.java 48 private final String countryIso;
51 @NonNull Context context, @NonNull Listener listener, String number, String countryIso) {
55 this.countryIso = countryIso;
71 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
SpamNotificationService.java 84 String countryIso = GeoUtil.getCurrentCountryIso(this);
98 countryIso,
102 new FilteredNumberAsyncQueryHandler(this).blockNumber(null, number, countryIso);
110 countryIso,
  /packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
PhoneNumberHelper.java 112 String countryIso = getCurrentCountryIso(context, locale);
117 "parsing '" + LogUtil.sanitizePii(number) + "' for countryIso '" + countryIso + "'...");
118 pn = util.parse(number, countryIso);
148 String countryIso = telephonyManager.getNetworkCountryIso();
149 if (TextUtils.isEmpty(countryIso)) {
150 countryIso = locale.getCountry();
153 "No CountryDetector; falling back to countryIso based on locale: " + countryIso);
155 countryIso = countryIso.toUpperCase()
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
BlockedNumbersAdapter.java 55 final String countryIso =
67 countryIso,
68 PhoneNumberUtils.formatNumber(number, countryIso),
87 updateView(view, number, countryIso);
  /packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
ContactInfoHelper.java 207 public ContactInfo lookupNumber(String number, String countryIso) {
208 return lookupNumber(number, countryIso, -1);
220 * @param countryIso the country associated with this number
225 public ContactInfo lookupNumber(String number, String countryIso, long directoryId) {
241 info = queryContactInfoForPhoneNumber(username, countryIso, directoryId);
246 info = queryContactInfoForPhoneNumber(number, countryIso, directoryId);
258 updatedInfo = createEmptyContactInfoForNumber(number, countryIso);
266 private ContactInfo createEmptyContactInfoForNumber(String number, String countryIso) {
269 contactInfo.formattedNumber = formatPhoneNumber(number, null, countryIso);
270 contactInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
    [all...]
  /packages/services/Telephony/src/com/android/services/telephony/
ConferenceParticipantConnection.java 73 String countryIso = getCountryIso(parentConnection.getCall().getPhone());
74 address = getParticipantAddress(participant.getHandle(), countryIso);
217 * @param countryIso The country ISO of the current subscription; used when formatting the
222 public static Uri getParticipantAddress(Uri address, String countryIso) {
259 if (!TextUtils.isEmpty(countryIso)) {
260 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
TelecomUtils.java 213 String countryIso = getTelephonyManager(context).getSimCountryIso().toUpperCase(Locale.US);
214 if (countryIso.length() != 2) {
215 countryIso = Locale.getDefault().getCountry();
216 if (countryIso == null || countryIso.length() != 2) {
217 countryIso = "US";
221 + number + ", country: " + countryIso);
222 String e164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
223 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso);
  /frameworks/base/services/core/java/com/android/server/location/
LocationBasedCountryDetector.java 246 String countryIso = null;
248 countryIso = getCountryFromLocation(location);
250 if (countryIso != null) {
251 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION);
ComprehensiveCountryDetector.java 222 String countryIso = null;
224 countryIso = mTelephonyManager.getNetworkCountryIso();
225 if (!TextUtils.isEmpty(countryIso)) {
226 return new Country(countryIso, Country.COUNTRY_SOURCE_NETWORK);
243 String countryIso = null;
244 countryIso = mTelephonyManager.getSimCountryIso();
245 if (!TextUtils.isEmpty(countryIso)) {
246 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM);
321 + ", countryISO: " + detectedCountry.getCountryIso() + ")")
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
CallLogProviderTestable.java 48 public String getGeocodedLocationFor(String number, String countryIso) {
  /packages/apps/Car/Stream/src/com/android/car/stream/telecom/
TelecomUtils.java 332 String countryIso = getSimRegionCode(context);
333 String e164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
334 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso);
349 String countryIso = telephonyManager.getSimCountryIso();
350 if (TextUtils.isEmpty(countryIso) || countryIso.length() != 2) {
351 countryIso = Locale.getDefault().getCountry();
352 if (countryIso == null || countryIso.length() != 2) {
353 countryIso = "US"
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/list/
BlockedListSearchAdapter.java 72 final String countryIso = GeoUtil.getCurrentCountryIso(mContext);
82 mFilteredNumberAsyncQueryHandler.isBlockedNumber(onCheckListener, number, countryIso);
  /packages/apps/Dialer/java/com/android/dialer/blocking/
FilteredNumberAsyncQueryHandler.java 119 final OnCheckBlockedListener listener, @Nullable final String number, String countryIso) {
148 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
204 public Integer getBlockedIdSynchronous(@Nullable String number, String countryIso) {
220 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
277 final OnBlockNumberListener listener, String number, @Nullable String countryIso) {
278 blockNumber(listener, null, number, countryIso);
286 @Nullable String countryIso) {
290 context, number, normalizedNumber, countryIso));

Completed in 1467 milliseconds

1 2 3