Searched defs:countryIso (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/contactinfo/
H A DNumberWithCountryIso.java30 public final String countryIso; field in class:NumberWithCountryIso
32 public NumberWithCountryIso(String number, String countryIso) { argument
34 this.countryIso = countryIso;
43 && TextUtils.equals(countryIso, other.countryIso);
49 int countryHashCode = countryIso == null ? 0 : countryIso.hashCode();
H A DContactInfoRequest.java31 public final String countryIso; field in class:ContactInfoRequest
35 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) { argument
37 this.countryIso = countryIso;
50 if (!TextUtils.equals(countryIso, other.countryIso)) return false;
61 result = prime * result + ((countryIso == null) ? 0 : countryIso.hashCode());
H A DContactInfoCache.java79 needRedraw |= queryContactInfo(req.number, req.countryIso, req.callLogInfo);
147 public ContactInfo getValue(String number, String countryIso, ContactInfo cachedContactInfo) { argument
148 NumberWithCountryIso numberCountryIso = new NumberWithCountryIso(number, countryIso);
158 enqueueRequest(number, countryIso, cachedContactInfo, true);
164 enqueueRequest(number, countryIso, cachedContactInfo, false);
170 enqueueRequest(number, countryIso, cachedContactInfo, false);
192 private boolean queryContactInfo(String number, String countryIso, ContactInfo callLogInfo) { argument
193 final ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
202 NumberWithCountryIso numberCountryIso = new NumberWithCountryIso(number, countryIso);
222 mContactInfoHelper.updateCallLogContactInfo(number, countryIso, inf
294 enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, boolean immediate) argument
329 injectContactInfoForTest( String number, String countryIso, ContactInfo contactInfo) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCallLogInsertionHelper.java28 public String getGeocodedLocationFor(String number, String countryIso); argument
H A DDefaultCallLogInsertionHelper.java68 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) { argument
103 return getPhoneNumberUtil().parse(number, countryIso);
117 public String getGeocodedLocationFor(String number, String countryIso) { argument
118 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
/packages/apps/Dialer/src/com/android/dialer/
H A DPhoneCallDetails.java37 public String countryIso; field in class:PhoneCallDetails
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DContactInfoHelper.java72 * @param countryIso the country associated with this number
74 public ContactInfo lookupNumber(String number, String countryIso) { argument
89 sipInfo = queryContactInfoForPhoneNumber(username, countryIso);
95 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso);
114 updatedInfo.formattedNumber = formatPhoneNumber(number, null, countryIso);
116 number, countryIso);
234 private ContactInfo queryContactInfoForPhoneNumber(String number, String countryIso) { argument
239 if (!TextUtils.isEmpty(countryIso)) {
242 String numberE164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
254 info.formattedNumber = formatPhoneNumber(number, null, countryIso);
277 formatPhoneNumber(String number, String normalizedNumber, String countryIso) argument
299 updateCallLogContactInfo(String number, String countryIso, ContactInfo updatedInfo, ContactInfo callLogInfo) argument
[all...]
H A DCallLogAdapter.java480 final String countryIso = c.getString(CallLogQuery.COUNTRY_ISO);
491 info = mContactInfoCache.getValue(number, countryIso, cachedContactInfo);
500 details.countryIso = countryIso;
691 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { argument
693 mContactInfoCache.injectContactInfoForTest(number, countryIso, contactInfo);
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
H A DCallLogAdapterTest.java63 public ContactInfo lookupNumber(String number, String countryIso) {
103 assertEquals(TEST_COUNTRY_ISO, request.countryIso);
220 public final String countryIso; field in class:CallLogAdapterTest.TestContactInfoCache.Request
224 public Request(String number, String countryIso, ContactInfo callLogInfo, argument
227 this.countryIso = countryIso;
241 protected void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, argument
243 requests.add(new Request(number, countryIso, callLogInfo, immediate));
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactListItemView.java1003 public void setPhoneNumber(String text, String countryIso) { argument

Completed in 5886 milliseconds