/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogInsertionHelper.java | 28 public String getGeocodedLocationFor(String number, String countryIso);
|
DefaultCallLogInsertionHelper.java | 60 String countryIso = getCurrentCountryIso(); 61 values.put(Calls.COUNTRY_ISO, countryIso); 64 getGeocodedLocationFor(values.getAsString(Calls.NUMBER), countryIso)); 78 private PhoneNumber parsePhoneNumber(String number, String countryIso) { 80 return getPhoneNumberUtil().parse(number, countryIso); 94 public String getGeocodedLocationFor(String number, String countryIso) { 95 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
|
/packages/apps/Dialer/src/com/android/dialer/ |
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 | 605 String countryIso = callCursor.getString(COUNTRY_ISO_COLUMN_INDEX); 608 if (TextUtils.isEmpty(countryIso)) { 609 countryIso = mDefaultCountryIso; 624 ? mContactInfoHelper.lookupNumber(number, countryIso) 641 return new PhoneCallDetails(number, formattedNumber, countryIso, geocode, [all...] |
/packages/apps/Dialer/src/com/android/dialer/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 | 64 public final String countryIso; 66 public NumberWithCountryIso(String number, String countryIso) { 68 this.countryIso = countryIso; 77 && TextUtils.equals(countryIso, other.countryIso); 83 ^ (countryIso == null ? 0 : countryIso.hashCode()); 115 public final String countryIso; 119 public ContactInfoRequest(String number, String countryIso, ContactInfo callLogInfo) [all...] |
CallLogFragment.java | 483 String countryIso = cursor.getString(CallLogQuery.COUNTRY_ISO); 484 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/Dialer/tests/src/com/android/dialer/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 | 230 String countryIso = null; 232 countryIso = getCountryFromLocation(location); 234 if (countryIso != null) { 235 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 | 543 String countryIso = getCurrentCountryIso(context, locale); 547 + "' for countryIso '" + countryIso + "'..."); 548 pn = util.parse(number, countryIso); 568 String countryIso; 572 countryIso = detector.detectCountry().getCountryIso(); 574 countryIso = locale.getCountry(); 575 Rlog.w(TAG, "No CountryDetector; falling back to countryIso based on locale: " 576 + countryIso); 578 return countryIso; [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsUsageMonitorShortCodeTest.java | 34 final String countryIso; 38 ShortCodeTest(String countryIso, String destAddress, int category) { 39 this.countryIso = countryIso; 462 assertEquals("country: " + test.countryIso + " number: " + test.address, 463 test.category, monitor.checkDestination(test.address, test.countryIso));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsUsageMonitor.java | 391 public int checkDestination(String destAddress, String countryIso) { 394 if (PhoneNumberUtils.isEmergencyNumber(destAddress, countryIso)) { 404 if (countryIso != null) { 405 if (mCurrentCountry == null || !countryIso.equals(mCurrentCountry) || 409 mCurrentPatternMatcher = getPatternMatcherFromFile(countryIso); 412 mCurrentPatternMatcher = getPatternMatcherFromResource(countryIso); 414 mCurrentCountry = countryIso; 422 Rlog.e(TAG, "No patterns for \"" + countryIso + "\": using generic short code rule");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseVoicemailProviderTest.java | 190 public String getGeocodedLocationFor(String number, String countryIso) {
|
CallLogProviderTest.java | 409 public String getGeocodedLocationFor(String number, String countryIso) {
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberUtils.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
ContactLoader.java | [all...] |