Home
last modified time | relevance | path

Searched refs:countryIso (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/calllog/
DContactInfoHelper.java52 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber() argument
64 sipInfo = queryContactInfoForPhoneNumber(username, countryIso); in lookupNumber()
70 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso); in lookupNumber()
89 updatedInfo.formattedNumber = formatPhoneNumber(number, null, countryIso); in lookupNumber()
169 private ContactInfo queryContactInfoForPhoneNumber(String number, String countryIso) { in queryContactInfoForPhoneNumber() argument
171 if (!TextUtils.isEmpty(countryIso)) { in queryContactInfoForPhoneNumber()
174 String numberE164 = PhoneNumberUtils.formatNumberToE164(number, countryIso); in queryContactInfoForPhoneNumber()
185 info.formattedNumber = formatPhoneNumber(number, null, countryIso); in queryContactInfoForPhoneNumber()
202 String countryIso) { in formatPhoneNumber() argument
210 if (TextUtils.isEmpty(countryIso)) { in formatPhoneNumber()
[all …]
DCallLogAdapter.java65 public final String countryIso; field in CallLogAdapter.NumberWithCountryIso
67 public NumberWithCountryIso(String number, String countryIso) { in NumberWithCountryIso() argument
69 this.countryIso = countryIso; in NumberWithCountryIso()
78 && TextUtils.equals(countryIso, other.countryIso); in equals()
84 ^ (countryIso == null ? 0 : countryIso.hashCode()); in hashCode()
116 public final String countryIso; field in CallLogAdapter.ContactInfoRequest
120 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) { in ContactInfoRequest() argument
122 this.countryIso = countryIso; in ContactInfoRequest()
135 if (!TextUtils.equals(countryIso, other.countryIso)) return false; in equals()
146 result = prime * result + ((countryIso == null) ? 0 : countryIso.hashCode()); in hashCode()
[all …]
DCallLogFragment.java394 String countryIso = cursor.getString(CallLogQuery.COUNTRY_ISO); in callSelectedEntry() local
395 number = mAdapter.getBetterNumberFromContacts(number, countryIso); in callSelectedEntry()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDefaultCallLogInsertionHelper.java61 String countryIso = getCurrentCountryIso(); in addComputedValues() local
62 values.put(Calls.COUNTRY_ISO, countryIso); in addComputedValues()
65 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); in addComputedValues()
79 private PhoneNumber parsePhoneNumber(String number, String countryIso) { in parsePhoneNumber() argument
81 return getPhoneNumberUtil().parse(number, countryIso); in parsePhoneNumber()
95 public String getGeocodedLocationFor(String number, String countryIso) { in getGeocodedLocationFor() argument
96 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso); in getGeocodedLocationFor()
DCallLogInsertionHelper.java28 public String getGeocodedLocationFor(String number, String countryIso); in getGeocodedLocationFor() argument
/packages/apps/Contacts/src/com/android/contacts/
DPhoneCallDetails.java32 public final String countryIso; field in PhoneCallDetails
63 String countryIso, String geocode, int[] callTypes, long date, long duration) { in PhoneCallDetails() argument
64 this(number, formattedNumber, countryIso, geocode, callTypes, date, duration, "", 0, "", in PhoneCallDetails()
70 String countryIso, String geocode, int[] callTypes, long date, long duration, in PhoneCallDetails() argument
75 this.countryIso = countryIso; in PhoneCallDetails()
DCallDetailActivity.java601 String countryIso = callCursor.getString(COUNTRY_ISO_COLUMN_INDEX); in getPhoneCallDetailsForUri() local
604 if (TextUtils.isEmpty(countryIso)) { in getPhoneCallDetailsForUri()
605 countryIso = mDefaultCountryIso; in getPhoneCallDetailsForUri()
620 ? mContactInfoHelper.lookupNumber(number, countryIso) in getPhoneCallDetailsForUri()
637 return new PhoneCallDetails(number, formattedNumber, countryIso, geocode, in getPhoneCallDetailsForUri()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogAdapterTest.java58 public ContactInfo lookupNumber(String number, String countryIso) { in setUp()
96 assertEquals(TEST_COUNTRY_ISO, request.countryIso); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest()
198 public final String countryIso; field in CallLogAdapterTest.TestCallLogAdapter.Request
202 public Request(String number, String countryIso, ContactInfo callLogInfo, in Request() argument
205 this.countryIso = countryIso; in Request()
219 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, in enqueueRequest() argument
221 requests.add(new Request(number, countryIso, callLogInfo, immediate)); in enqueueRequest()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java190 public String getGeocodedLocationFor(String number, String countryIso) {
DCallLogProviderTest.java349 public String getGeocodedLocationFor(String number, String countryIso) { in createCallLogInsertionHelper()