HomeSort by relevance Sort by last modified time
    Searched defs:countryIso (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsUsageMonitorShortCodeTest.java 39 final String countryIso;
43 ShortCodeTest(String countryIso, String destAddress, int category) {
44 this.countryIso = countryIso;
472 assertEquals("country: " + test.countryIso + " number: " + test.address,
473 test.category, monitor.checkDestination(test.address, test.countryIso));
  /packages/apps/Contacts/src/com/android/contacts/util/
TelephonyManagerUtils.java 53 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase();
55 if (countryIso == null) {
56 countryIso = locale.getCountry();
57 Log.w(LOG_TAG, "No CountryDetector; falling back to countryIso based on locale: "
58 + countryIso);
60 return countryIso;
  /packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
NumberWithCountryIso.java 31 public final String countryIso;
33 public NumberWithCountryIso(String number, String countryIso) {
35 this.countryIso = countryIso;
47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
53 int countryHashCode = countryIso == null ? 0 : countryIso.hashCode();
ContactInfoRequest.java 37 public final String countryIso;
62 String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) {
65 this.countryIso = countryIso;
87 if (!TextUtils.equals(countryIso, other.countryIso)) {
107 return Objects.hash(sequenceNumber, number, countryIso, callLogInfo, type);
  /packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockedNumbersUtil.java 35 String countryIso = Locale.getDefault().getCountry();
36 if (countryIso == null || countryIso.length() != 2) {
37 countryIso = "US";
39 return countryIso;
  /packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
BlockedNumbersAdapter.java 55 final String countryIso =
67 countryIso,
68 PhoneNumberUtils.formatNumber(number, countryIso),
87 updateView(view, number, countryIso);
  /cts/tests/tests/telephony/src/android/telephony/cts/
SmsUsageMonitorShortCodeTest.java 60 final String countryIso;
64 ShortCodeTest(String countryIso, String destAddress, int category) {
65 this.countryIso = countryIso;
505 assertEquals("country: " + test.countryIso + " number: " + test.address,
506 test.category, monitor.checkDestination(test.address, test.countryIso));
  /packages/apps/Dialer/java/com/android/dialer/app/list/
BlockedListSearchAdapter.java 72 final String countryIso = GeoUtil.getCurrentCountryIso(mContext);
82 mFilteredNumberAsyncQueryHandler.isBlockedNumber(onCheckListener, number, countryIso);
BlockedListSearchFragment.java 166 final String countryIso = GeoUtil.getCurrentCountryIso(getContext());
175 countryIso,
176 PhoneNumberUtils.formatNumber(number, countryIso),
197 mFilteredNumberAsyncQueryHandler.isBlockedNumber(onCheckListener, number, countryIso);
  /packages/apps/Dialer/java/com/android/incallui/spam/
NumberInCallHistoryTask.java 48 private final String countryIso;
51 @NonNull Context context, @NonNull Listener listener, String number, String countryIso) {
55 this.countryIso = countryIso;
71 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
SpamNotificationService.java 84 String countryIso = GeoUtil.getCurrentCountryIso(this);
98 countryIso,
102 new FilteredNumberAsyncQueryHandler(this).blockNumber(null, number, countryIso);
110 countryIso,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
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) {
103 return getPhoneNumberUtil().parse(number, countryIso);
117 public String getGeocodedLocationFor(String number, String countryIso) {
118 PhoneNumber structuredPhoneNumber = parsePhoneNumber(number, countryIso);
  /packages/apps/Dialer/java/com/android/dialer/phonenumberutil/
PhoneNumberHelper.java 112 String countryIso = getCurrentCountryIso(context, locale);
117 "parsing '" + LogUtil.sanitizePii(number) + "' for countryIso '" + countryIso + "'...");
118 pn = util.parse(number, countryIso);
148 String countryIso = telephonyManager.getNetworkCountryIso();
149 if (TextUtils.isEmpty(countryIso)) {
150 countryIso = locale.getCountry();
153 "No CountryDetector; falling back to countryIso based on locale: " + countryIso);
155 countryIso = countryIso.toUpperCase()
    [all...]
  /packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
TelecomUtils.java 189 String countryIso = getTelephonyManager(context).getSimCountryIso().toUpperCase(Locale.US);
190 if (countryIso.length() != 2) {
191 countryIso = Locale.getDefault().getCountry();
192 if (countryIso == null || countryIso.length() != 2) {
193 countryIso = "US";
198 + number + ", country: " + countryIso);
200 String e164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
201 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso);
  /packages/apps/Car/Stream/src/com/android/car/stream/telecom/
TelecomUtils.java 332 String countryIso = getSimRegionCode(context);
333 String e164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
334 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso);
349 String countryIso = telephonyManager.getSimCountryIso();
350 if (TextUtils.isEmpty(countryIso) || countryIso.length() != 2) {
351 countryIso = Locale.getDefault().getCountry();
352 if (countryIso == null || countryIso.length() != 2) {
353 countryIso = "US"
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/calllog/
CallLogNotificationsQueryHelper.java 57 String countryIso) {
61 mCurrentCountryIso = countryIso;
67 String countryIso = GeoUtil.getCurrentCountryIso(context);
71 new ContactInfoHelper(context, countryIso),
72 countryIso);
163 @Nullable String number, int numberPresentation, @Nullable String countryIso) {
164 return getContactInfo(number, numberPresentation, countryIso).name;
173 @Nullable String number, int numberPresentation, @Nullable String countryIso) {
174 if (countryIso == null) {
175 countryIso = mCurrentCountryIso
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/blocking/
FilteredNumberCompat.java 194 * @param countryIso (optional) The country iso to use to format the number.
199 Context context, String number, @Nullable String e164Number, @Nullable String countryIso) {
204 e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
207 contentValues.put(getCountryIsoColumnName(context), countryIso);
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
PhoneCallDetails.java 45 public String countryIso;
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
TelecomUtils.java 213 String countryIso = getTelephonyManager(context).getSimCountryIso().toUpperCase(Locale.US);
214 if (countryIso.length() != 2) {
215 countryIso = Locale.getDefault().getCountry();
216 if (countryIso == null || countryIso.length() != 2) {
217 countryIso = "US";
221 + number + ", country: " + countryIso);
222 String e164 = PhoneNumberUtils.formatNumberToE164(number, countryIso);
223 String formattedNumber = PhoneNumberUtils.formatNumber(number, e164, countryIso);
  /packages/services/Telephony/src/com/android/services/telephony/
ConferenceParticipantConnection.java 73 String countryIso = getCountryIso(parentConnection.getCall().getPhone());
74 address = getParticipantAddress(participant.getHandle(), countryIso);
217 * @param countryIso The country ISO of the current subscription; used when formatting the
222 public static Uri getParticipantAddress(Uri address, String countryIso) {
259 if (!TextUtils.isEmpty(countryIso)) {
260 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
  /frameworks/base/services/core/java/com/android/server/location/
ComprehensiveCountryDetector.java 222 String countryIso = null;
224 countryIso = mTelephonyManager.getNetworkCountryIso();
225 if (!TextUtils.isEmpty(countryIso)) {
226 return new Country(countryIso, Country.COUNTRY_SOURCE_NETWORK);
243 String countryIso = null;
244 countryIso = mTelephonyManager.getSimCountryIso();
245 if (!TextUtils.isEmpty(countryIso)) {
246 return new Country(countryIso, Country.COUNTRY_SOURCE_SIM);
321 + ", countryISO: " + detectedCountry.getCountryIso() + ")")
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 590 String countryIso = getCurrentCountryIso(context, locale);
594 + "' for countryIso '" + countryIso + "'...");
595 pn = util.parse(number, countryIso);
616 String countryIso = null;
622 countryIso = country.getCountryIso();
627 if (countryIso == null) {
628 countryIso = locale.getCountry();
629 Rlog.w(TAG, "No CountryDetector; falling back to countryIso based on locale: "
630 + countryIso);
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
SystemCallLogDataSource.java 222 String countryIso = cursor.getString(countryIsoColumn);
225 dialerPhoneNumberUtil.parse(numberAsStr, countryIso).toByteArray();
  /packages/services/Telecomm/src/com/android/server/telecom/ui/
MissedCallNotifierImpl.java 452 String countryIso = telephonyManager.getNetworkCountryIso().toUpperCase();
454 if (countryIso == null) {
455 countryIso = Locale.getDefault().getCountry();
456 Log.w(this, "No CountryDetector; falling back to countryIso based on locale: "
457 + countryIso);
459 return countryIso;
  /frameworks/base/core/java/android/provider/
CallLog.java 265 public static final String COUNTRY_ISO = "countryiso";
    [all...]

Completed in 558 milliseconds

1 2