/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogInsertionHelper.java | 28 public String getGeocodedLocationFor(String number, String countryIso);
|
DefaultCallLogInsertionHelper.java | 61 String countryIso = getCurrentCountryIso(); 62 values.put(Calls.COUNTRY_ISO, countryIso); 65 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); 79 private PhoneNumber parsePhoneNumber(String number, String countryIso) { 81 return getPhoneNumberUtil().parse(number, countryIso); 95 public String getGeocodedLocationFor(String number, String countryIso) { 96 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
|
/packages/apps/Contacts/src/com/android/contacts/ |
PhoneCallDetails.java | 32 public final String countryIso; 63 String countryIso, String geocode, int[] callTypes, long date, long duration) { 64 this(number, formattedNumber, countryIso, geocode, callTypes, date, duration, "", 0, "", 70 String countryIso, String geocode, int[] callTypes, long date, long duration, 75 this.countryIso = countryIso;
|
CallDetailActivity.java | 557 String countryIso = callCursor.getString(COUNTRY_ISO_COLUMN_INDEX); 560 if (TextUtils.isEmpty(countryIso)) { 561 countryIso = mDefaultCountryIso; 576 ? mContactInfoHelper.lookupNumber(number, countryIso) 593 return new PhoneCallDetails(number, formattedNumber, countryIso, geocode, [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
ContactInfoHelper.java | 50 * @param countryIso the country associated with this number 52 public ContactInfo lookupNumber(String number, String countryIso) { 64 sipInfo = queryContactInfoForPhoneNumber(username, countryIso); 70 ContactInfo phoneInfo = queryContactInfoForPhoneNumber(number, countryIso); 89 updatedInfo.formattedNumber = formatPhoneNumber(number, null, countryIso); 169 private ContactInfo queryContactInfoForPhoneNumber(String number, String countryIso) { 171 if (!TextUtils.isEmpty(countryIso)) { 174 String numberE164 = PhoneNumberUtils.formatNumberToE164(number, countryIso); 185 info.formattedNumber = formatPhoneNumber(number, null, countryIso); 195 * @param countryIso the ISO 3166-1 two letters country code, the country' [all...] |
CallLogAdapter.java | 65 public final String countryIso; 67 public NumberWithCountryIso(String number, String countryIso) { 69 this.countryIso = countryIso; 78 && TextUtils.equals(countryIso, other.countryIso); 84 ^ (countryIso == null ? 0 : countryIso.hashCode()); 115 public final String countryIso; 119 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) [all...] |
CallLogFragment.java | 342 String countryIso = cursor.getString(CallLogQuery.COUNTRY_ISO); 343 number = mAdapter.getBetterNumberFromContacts(number, 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/Contacts/tests/src/com/android/contacts/calllog/ |
CallLogAdapterTest.java | 58 public ContactInfo lookupNumber(String number, String countryIso) { 96 assertEquals(TEST_COUNTRY_ISO, request.countryIso); 198 public final String countryIso; 202 public Request(String number, String countryIso, ContactInfo callLogInfo, 205 this.countryIso = countryIso; 219 void enqueueRequest(String number, String countryIso, ContactInfo callLogInfo, 221 requests.add(new Request(number, countryIso, callLogInfo, immediate));
|
/frameworks/base/services/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 228 String countryIso = null; 230 countryIso = getCountryFromLocation(location); 232 if (countryIso != null) { 233 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION);
|
ComprehensiveCountryDetector.java | 223 String countryIso = null; 225 countryIso = mTelephonyManager.getNetworkCountryIso(); 226 if (!TextUtils.isEmpty(countryIso)) { 227 return new Country(countryIso, Country.COUNTRY_SOURCE_NETWORK); 244 String countryIso = null; 245 countryIso = mTelephonyManager.getSimCountryIso(); 246 if (!TextUtils.isEmpty(countryIso)) { 247 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM); 322 + ", countryISO: " + detectedCountry.getCountryIso() + ")")
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 518 String countryIso = getCurrentCountryIso(context, locale); 522 + "' for countryIso '" + countryIso + "'..."); 523 pn = util.parse(number, countryIso); 543 String countryIso; 547 countryIso = detector.detectCountry().getCountryIso(); 549 countryIso = locale.getCountry(); 550 Log.w(TAG, "No CountryDetector; falling back to countryIso based on locale: " 551 + countryIso); 553 return countryIso; [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseVoicemailProviderTest.java | 190 public String getGeocodedLocationFor(String number, String countryIso) {
|
CallLogProviderTest.java | 349 public String getGeocodedLocationFor(String number, String countryIso) {
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | [all...] |