/packages/apps/Dialer/src/com/android/dialer/contactinfo/ |
H A D | NumberWithCountryIso.java | 30 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 D | ContactInfoRequest.java | 31 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 D | ContactInfoCache.java | 79 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/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | TelephonyManagerUtils.java | 55 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase(); 57 if (countryIso == null) { 58 countryIso = locale.getCountry(); 59 Log.w(LOG_TAG, "No CountryDetector; falling back to countryIso based on locale: " 60 + countryIso); 62 return countryIso;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CallLogInsertionHelper.java | 28 public String getGeocodedLocationFor(String number, String countryIso); argument
|
H A D | 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) { argument 103 return getPhoneNumberUtil().parse(number, countryIso); 117 public String getGeocodedLocationFor(String number, String countryIso) { argument 118 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
|
H A D | ContactsDatabaseHelper.java | 4249 final String countryIso = c.getString(2); 4253 .formatNumberToE164(unNormalizedNumber, countryIso);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | ContactInfoHelper.java | 72 * @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 D | CallLogAsyncTaskUtil.java | 143 final String countryIso = cursor.getString(CallDetailQuery.COUNTRY_ISO_COLUMN_INDEX); 159 ? contactInfoHelper.lookupNumber(number, countryIso) 182 details.countryIso = !TextUtils.isEmpty(countryIso) ? countryIso
|
H A D | CallLogAdapter.java | 480 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 D | CallLogAdapterTest.java | 63 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));
|
H A D | CallLogListItemHelperTest.java | 317 details.countryIso = TEST_COUNTRY_ISO;
|
H A D | PhoneCallDetailsHelperTest.java | 388 details.countryIso = TEST_COUNTRY_ISO;
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | PhoneCallDetails.java | 37 public String countryIso; field in class:PhoneCallDetails
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallerInfo.java | 484 String countryIso = TelephonyManagerUtils.getCurrentCountryIso(context, locale); 488 + "' for countryIso '" + countryIso + "'..."); 489 pn = util.parse(number, countryIso);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | BaseVoicemailProviderTest.java | 200 public String getGeocodedLocationFor(String number, String countryIso) {
|
H A D | CallLogProviderTest.java | 468 public String getGeocodedLocationFor(String number, String countryIso) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
H A D | ContactLoader.java | 876 final String countryIso = GeoUtil.getCurrentCountryIso(getContext()); 887 phoneDataItem.computeFormattedPhoneNumber(countryIso);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 1003 public void setPhoneNumber(String text, String countryIso) { argument
|