Searched defs:countryIso (Results 1 - 21 of 21) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCallLogInsertionHelper.java28 public String getGeocodedLocationFor(String number, String countryIso); argument
H A DDefaultCallLogInsertionHelper.java68 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);
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
H A DNumberWithCountryIso.java31 public final String countryIso; field in class:NumberWithCountryIso
33 public NumberWithCountryIso(String number, String countryIso) { argument
35 this.countryIso = countryIso;
47 return TextUtils.equals(number, other.number) && TextUtils.equals(countryIso, other.countryIso);
53 int countryHashCode = countryIso == null ? 0 : countryIso.hashCode();
H A DContactInfoRequest.java37 public final String countryIso; field in class:ContactInfoRequest
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);
61 ContactInfoRequest( String number, String countryIso, ContactInfo callLogInfo, @TYPE int type) argument
H A DContactInfoCache.java106 String countryIso,
109 NumberWithCountryIso numberCountryIso = new NumberWithCountryIso(number, countryIso);
122 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ true, requestType);
128 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType);
134 enqueueRequest(number, countryIso, callLogContactInfo, /* immediate */ false, requestType);
164 info = mContactInfoHelper.lookupNumber(request.number, request.countryIso);
178 request.countryIso,
186 info = mContactInfoHelper.lookupNumberInRemoteDirectory(request.number, request.countryIso);
197 new NumberWithCountryIso(request.number, request.countryIso);
218 request.number, request.countryIso, inf
104 getValue( String number, String countryIso, ContactInfo callLogContactInfo, boolean remoteLookupIfNotFoundLocally) argument
295 enqueueRequest( String number, String countryIso, ContactInfo callLogInfo, boolean immediate, @ContactInfoRequest.TYPE int type) argument
325 injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) argument
[all...]
/packages/apps/Dialer/java/com/android/incallui/spam/
H A DNumberInCallHistoryTask.java48 private final String countryIso; field in class:NumberInCallHistoryTask
51 @NonNull Context context, @NonNull Listener listener, String number, String countryIso) {
55 this.countryIso = countryIso;
71 String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
50 NumberInCallHistoryTask( @onNull Context context, @NonNull Listener listener, String number, String countryIso) argument
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DBlockReportSpamListener.java57 final String countryIso,
75 countryIso,
90 countryIso);
101 final String countryIso,
119 countryIso,
134 countryIso);
145 final String countryIso,
163 countryIso,
188 final String countryIso,
203 countryIso,
54 onBlockReportSpam( String displayNumber, final String number, final String countryIso, final int callType, @NonNull final ContactSource.Type contactSourceType) argument
98 onBlock( String displayNumber, final String number, final String countryIso, final int callType, @NonNull final ContactSource.Type contactSourceType) argument
142 onUnblock( String displayNumber, final String number, final String countryIso, final int callType, final ContactSource.Type contactSourceType, final boolean isSpam, final Integer blockId) argument
185 onReportNotSpam( String displayNumber, final String number, final String countryIso, final int callType, final ContactSource.Type contactSourceType) argument
[all...]
H A DCallLogNotificationsQueryHelper.java57 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
53 CallLogNotificationsQueryHelper( Context context, NewCallsQuery newCallsQuery, ContactInfoHelper contactInfoHelper, String countryIso) argument
162 getName( @ullable String number, int numberPresentation, @Nullable String countryIso) argument
172 getContactInfo( @ullable String number, int numberPresentation, @Nullable String countryIso) argument
231 public final String countryIso; field in class:CallLogNotificationsQueryHelper.NewCall
234 NewCall( Uri callsUri, @Nullable Uri voicemailUri, String number, int numberPresentation, String accountComponentName, String accountId, String transcription, String countryIso, long dateMs) argument
[all...]
H A DCallLogListItemViewHolder.java183 public String countryIso; field in class:CallLogListItemViewHolder
408 displayNumber, number, countryIso, callType, info.sourceType);
418 displayNumber, number, countryIso, callType, info.sourceType);
425 displayNumber, number, countryIso, callType, info.sourceType, isSpam, blockId);
430 displayNumber, number, countryIso, callType, info.sourceType);
844 displayNumber, number, countryIso, callType, info.sourceType);
854 displayNumber, number, countryIso, callType, info.sourceType);
860 displayNumber, number, countryIso, callType, info.sourceType, isSpam, blockId);
864 displayNumber, number, countryIso, callType, info.sourceType);
1005 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
1151 onBlockReportSpam( String displayNumber, String number, String countryIso, int callType, ContactSource.Type contactSourceType) argument
1158 onBlock( String displayNumber, String number, String countryIso, int callType, ContactSource.Type contactSourceType) argument
1165 onUnblock( String displayNumber, String number, String countryIso, int callType, ContactSource.Type contactSourceType, boolean isSpam, Integer blockId) argument
1174 onReportNotSpam( String displayNumber, String number, String countryIso, int callType, ContactSource.Type contactSourceType) argument
[all...]
H A DCallLogAdapter.java833 views.number, views.countryIso);
845 .checkSpamStatusSynchronous(views.number, views.countryIso);
942 details.countryIso = cursor.getString(CallLogQuery.COUNTRY_ISO);
965 views.countryIso = details.countryIso;
1032 details.countryIso,
1314 void injectContactInfoForTest(String number, String countryIso, ContactInfo contactInfo) { argument
1316 mContactInfoCache.injectContactInfoForTest(number, countryIso, contactInfo);
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
H A DNumbersAdapter.java59 public void updateView(View view, String number, String countryIso) { argument
69 ContactInfo info = mContactInfoHelper.lookupNumber(number, countryIso);
/packages/apps/Dialer/java/com/android/dialer/spam/
H A DSpamBindingsStub.java57 public void checkSpamStatus(String number, String countryIso, Listener listener) { argument
62 public void checkUserMarkedNonSpamStatus(String number, String countryIso, Listener listener) { argument
67 public void checkUserMarkedSpamStatus(String number, String countryIso, Listener listener) { argument
72 public void checkGlobalSpamListStatus(String number, String countryIso, Listener listener) { argument
77 public boolean checkSpamStatusSynchronous(String number, String countryIso) { argument
84 String countryIso,
92 String countryIso,
100 String countryIso,
108 String countryIso,
82 reportSpamFromAfterCallNotification( String number, String countryIso, int callType, ReportingLocation.Type from, ContactLookupResult.Type contactLookupResultType) argument
90 reportSpamFromCallHistory( String number, String countryIso, int callType, ReportingLocation.Type from, ContactSource.Type contactSourceType) argument
98 reportNotSpamFromAfterCallNotification( String number, String countryIso, int callType, ReportingLocation.Type from, ContactLookupResult.Type contactLookupResultType) argument
106 reportNotSpamFromCallHistory( String number, String countryIso, int callType, ReportingLocation.Type from, ContactSource.Type contactSourceType) argument
H A DSpamBindings.java45 * @param countryIso The country ISO of the call.
48 void checkSpamStatus(String number, String countryIso, Listener listener); argument
52 * @param countryIso The country ISO of the call.
56 String number, @Nullable String countryIso, @NonNull Listener listener);
60 * @param countryIso The country ISO of the call.
64 String number, @Nullable String countryIso, @NonNull Listener listener);
68 * @param countryIso The country ISO of the call.
72 String number, @Nullable String countryIso, @NonNull Listener listener);
78 * @param countryIso The country ISO of the call.
81 boolean checkSpamStatusSynchronous(String number, String countryIso); argument
55 checkUserMarkedNonSpamStatus( String number, @Nullable String countryIso, @NonNull Listener listener) argument
63 checkUserMarkedSpamStatus( String number, @Nullable String countryIso, @NonNull Listener listener) argument
71 checkGlobalSpamListStatus( String number, @Nullable String countryIso, @NonNull Listener listener) argument
95 reportSpamFromAfterCallNotification( String number, String countryIso, int callType, ReportingLocation.Type from, ContactLookupResult.Type contactLookupResultType) argument
114 reportSpamFromCallHistory( String number, String countryIso, int callType, ReportingLocation.Type from, ContactSource.Type contactSourceType) argument
133 reportNotSpamFromAfterCallNotification( String number, String countryIso, int callType, ReportingLocation.Type from, ContactLookupResult.Type contactLookupResultType) argument
152 reportNotSpamFromCallHistory( String number, String countryIso, int callType, ReportingLocation.Type from, ContactSource.Type contactSourceType) argument
[all...]
/packages/services/Telephony/src/com/android/services/telephony/
H A DConferenceParticipantConnection.java73 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) { argument
259 if (!TextUtils.isEmpty(countryIso)) {
260 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
/packages/apps/Dialer/java/com/android/dialer/blocking/
H A DFilteredNumberCompat.java194 * @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);
198 newBlockNumberContentValues( Context context, String number, @Nullable String e164Number, @Nullable String countryIso) argument
H A DBlockNumberDialogFragment.java63 String countryIso,
70 blockId, number, countryIso, displayNumber, parentViewId);
80 String countryIso,
92 args.putString(ARG_COUNTRY_ISO, countryIso);
60 show( Integer blockId, String number, String countryIso, String displayNumber, Integer parentViewId, FragmentManager fragmentManager, Callback callback) argument
77 newInstance( Integer blockId, String number, String countryIso, String displayNumber, Integer parentViewId) argument
H A DFilteredNumberAsyncQueryHandler.java119 final OnCheckBlockedListener listener, @Nullable final String number, String countryIso) {
148 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
204 public Integer getBlockedIdSynchronous(@Nullable String number, String countryIso) { argument
220 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
277 final OnBlockNumberListener listener, String number, @Nullable String countryIso) {
278 blockNumber(listener, null, number, countryIso);
286 @Nullable String countryIso) {
290 context, number, normalizedNumber, countryIso));
118 isBlockedNumber( final OnCheckBlockedListener listener, @Nullable final String number, String countryIso) argument
276 blockNumber( final OnBlockNumberListener listener, String number, @Nullable String countryIso) argument
282 blockNumber( final OnBlockNumberListener listener, @Nullable String normalizedNumber, String number, @Nullable String countryIso) argument
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneCallDetails.java45 public String countryIso; field in class:PhoneCallDetails
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DContactInfoHelper.java207 public ContactInfo lookupNumber(String number, String countryIso) { argument
208 return lookupNumber(number, countryIso, -1);
220 * @param countryIso the country associated with this number
225 public ContactInfo lookupNumber(String number, String countryIso, long directoryId) { argument
241 info = queryContactInfoForPhoneNumber(username, countryIso, directoryId);
246 info = queryContactInfoForPhoneNumber(number, countryIso, directoryId);
258 updatedInfo = createEmptyContactInfoForNumber(number, countryIso);
266 private ContactInfo createEmptyContactInfoForNumber(String number, String countryIso) { argument
269 contactInfo.formattedNumber = formatPhoneNumber(number, null, countryIso);
270 contactInfo.normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso);
279 lookupNumberInRemoteDirectory(String number, String countryIso) argument
416 queryContactInfoForPhoneNumber( String number, String countryIso, long directoryId) argument
459 formatPhoneNumber(String number, String normalizedNumber, String countryIso) argument
481 updateCallLogContactInfo( String number, String countryIso, ContactInfo updatedInfo, ContactInfo callLogInfo) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java1269 public void setPhoneNumber(String text, String countryIso) { argument
/packages/apps/Dialer/java/com/android/dialer/app/dialpad/
H A DDialpadFragment.java207 * @param countryIso The country code representing the format to use if the provided normalized
213 static String getFormattedDigits(String dialString, String normalizedNumber, String countryIso) { argument
223 number = PhoneNumberUtils.formatNumber(number, normalizedNumber, countryIso);

Completed in 436 milliseconds