Home
last modified time | relevance | path

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

/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogAdapter.java119 public final String countryIso; field in CallLogAdapter.NumberWithCountryIso
121 public NumberWithCountryIso(String number, String countryIso) { in NumberWithCountryIso() argument
123 this.countryIso = countryIso; in NumberWithCountryIso()
132 && TextUtils.equals(countryIso, other.countryIso); in equals()
138 ^ (countryIso == null ? 0 : countryIso.hashCode()); in hashCode()
200 public final String countryIso; field in CallLogAdapter.ContactInfoRequest
204 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) { in ContactInfoRequest() argument
206 this.countryIso = countryIso; in ContactInfoRequest()
219 if (!TextUtils.equals(countryIso, other.countryIso)) return false; in equals()
230 result = prime * result + ((countryIso == null) ? 0 : countryIso.hashCode()); in hashCode()
[all …]
DContactInfoHelper.java66 public ContactInfo lookupNumber(String number, String countryIso) { in lookupNumber() argument
78 sipInfo = queryContactInfoForPhoneNumber(username, countryIso); in lookupNumber()
84 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso); in lookupNumber()
103 updatedInfo.formattedNumber = formatPhoneNumber(number, null, countryIso); in lookupNumber()
105 number, countryIso); in lookupNumber()
214 private ContactInfo queryContactInfoForPhoneNumber(String number, String countryIso) { in queryContactInfoForPhoneNumber() argument
216 if (!TextUtils.isEmpty(countryIso)) { in queryContactInfoForPhoneNumber()
219 String numberE164 = PhoneNumberUtils.formatNumberToE164(number, countryIso); in queryContactInfoForPhoneNumber()
230 info.formattedNumber = formatPhoneNumber(number, null, countryIso); in queryContactInfoForPhoneNumber()
253 private String formatPhoneNumber(String number, String normalizedNumber, String countryIso) { in formatPhoneNumber() argument
[all …]
/packages/apps/Dialer/src/com/android/dialer/
DPhoneCallDetails.java38 public final String countryIso; field in PhoneCallDetails
94 CharSequence formattedNumber, String countryIso, String geocode, in PhoneCallDetails() argument
96 this (number, numberPresentation, formattedNumber, countryIso, geocode, in PhoneCallDetails()
102 CharSequence formattedNumber, String countryIso, String geocode, in PhoneCallDetails() argument
105 this(number, numberPresentation, formattedNumber, countryIso, geocode, callTypes, date, in PhoneCallDetails()
112 CharSequence formattedNumber, String countryIso, String geocode, in PhoneCallDetails() argument
120 this.countryIso = countryIso; in PhoneCallDetails()
DCallDetailActivity.java539 String countryIso = callCursor.getString(COUNTRY_ISO_COLUMN_INDEX); in getPhoneCallDetailsForUri() local
547 if (TextUtils.isEmpty(countryIso)) { in getPhoneCallDetailsForUri()
548 countryIso = mDefaultCountryIso; in getPhoneCallDetailsForUri()
564 ? mContactInfoHelper.lookupNumber(number, countryIso) in getPhoneCallDetailsForUri()
590 formattedNumber, countryIso, geocode, in getPhoneCallDetailsForUri()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDefaultCallLogInsertionHelper.java68 String countryIso = getCurrentCountryIso(); in addComputedValues() local
69 values.put(Calls.COUNTRY_ISO, countryIso); in addComputedValues()
72 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); in addComputedValues()
83 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in addComputedValues()
101 private PhoneNumber parsePhoneNumber(String number, String countryIso) { in parsePhoneNumber() argument
103 return getPhoneNumberUtil().parse(number, countryIso); in parsePhoneNumber()
117 public String getGeocodedLocationFor(String number, String countryIso) { in getGeocodedLocationFor() argument
118 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso); in getGeocodedLocationFor()
DCallLogInsertionHelper.java28 public String getGeocodedLocationFor(String number, String countryIso); in getGeocodedLocationFor() argument
DContactsDatabaseHelper.java4142 final String countryIso = c.getString(2); in upgradeToVersion903() local
4146 .formatNumberToE164(unNormalizedNumber, countryIso); in upgradeToVersion903()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogAdapterTest.java59 public ContactInfo lookupNumber(String number, String countryIso) { in setUp()
97 assertEquals(TEST_COUNTRY_ISO, request.countryIso); in testBindView_NoCallLogCacheNorMemoryCache_EnqueueRequest()
199 public final String countryIso; field in CallLogAdapterTest.TestCallLogAdapter.Request
203 public Request(String number, String countryIso, ContactInfo callLogInfo, in Request() argument
206 this.countryIso = countryIso; in Request()
220 protected void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, in enqueueRequest() argument
222 requests.add(new Request(number, countryIso, callLogInfo, immediate)); in enqueueRequest()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DTelephonyManagerUtils.java55 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); in getCurrentCountryIso() local
57 if (countryIso == null) { in getCurrentCountryIso()
58 countryIso = locale.getCountry(); in getCurrentCountryIso()
60 + countryIso); in getCurrentCountryIso()
62 return countryIso; in getCurrentCountryIso()
/packages/apps/InCallUI/src/com/android/incallui/
DCallerInfo.java484 String countryIso = TelephonyManagerUtils.getCurrentCountryIso(context, locale); in getGeoDescription() local
488 + "' for countryIso '" + countryIso + "'..."); in getGeoDescription()
489 pn = util.parse(number, countryIso); in getGeoDescription()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContactLoader.java876 final String countryIso = GeoUtil.getCurrentCountryIso(getContext()); in computeFormattedPhoneNumbers() local
887 phoneDataItem.computeFormattedPhoneNumber(countryIso); in computeFormattedPhoneNumbers()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java188 public String getGeocodedLocationFor(String number, String countryIso) {
DCallLogProviderTest.java465 public String getGeocodedLocationFor(String number, String countryIso) { in createCallLogInsertionHelper()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactListItemView.java963 public void setPhoneNumber(String text, String countryIso) { in setPhoneNumber() argument