Home
last modified time | relevance | path

Searched refs:PhoneNumberHelper (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogGroupBuilder.java33 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
199 if (PhoneNumberHelper.isUriNumber(number1) || PhoneNumberHelper.isUriNumber(number2)) { in equalNumbers()
207 if (PhoneNumberHelper.numberHasSpecialChars(number1) in equalNumbers()
208 || PhoneNumberHelper.numberHasSpecialChars(number2)) { in equalNumbers()
209 return PhoneNumberHelper.sameRawNumbers(number1, number2); in equalNumbers()
DCallLogListItemViewHolder.java91 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
530 if (!PhoneNumberHelper.canPlaceCallsTo(number, numberPresentation)) { in updatePrimaryActionButton()
592 boolean canPlaceCallToNumber = PhoneNumberHelper.canPlaceCallsTo(number, numberPresentation); in bindActionButtons()
602 if (PhoneNumberHelper.isLocalEmergencyNumber(context, number)) { in bindActionButtons()
1233 if (PhoneNumberHelper.canPlaceCallsTo(number, numberPresentation) in onCreateContextMenu()
1235 && !PhoneNumberHelper.isSipNumber(number)) { in onCreateContextMenu()
1256 boolean canPlaceCallToNumber = PhoneNumberHelper.canPlaceCallsTo(number, numberPresentation); in onCreateContextMenu()
DLegacyVoicemailNotifier.java39 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
155 PhoneNumberHelper.formatNumber( in getNotificationText()
DCallLogNotificationsQueryHelper.java45 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
209 contactInfo.formattedNumber = PhoneNumberHelper.formatNumber(context, number, countryIso); in getContactInfo()
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DContactInfoHelper.java42 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
155 String.valueOf(PhoneNumberHelper.isUriNumber(number))); in getContactInfoLookupUri()
216 if (PhoneNumberHelper.isUriNumber(number)) { in lookupNumber()
222 String username = PhoneNumberHelper.getUsernameFromUriNumber(number); in lookupNumber()
343 PhoneNumberHelper.updateCursorToMatchContactLookupUri( in lookupContactFromUri()
453 if (PhoneNumberHelper.isUriNumber(number)) { in formatPhoneNumber()
459 return PhoneNumberHelper.formatNumber(context, number, normalizedNumber, countryIso); in formatPhoneNumber()
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java37 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
207 PhoneNumberHelper.updateCursorToMatchContactLookupUri(cursor, columnIndex, contactRef); in getCallerInfo()
341 if (!previousResult.contactExists && PhoneNumberHelper.isUriNumber(number)) { in doSecondaryLookupIfNecessary()
342 String username = PhoneNumberHelper.getUsernameFromUriNumber(number); in doSecondaryLookupIfNecessary()
506 geoDescription = PhoneNumberHelper.getGeoDescription(context, number, countryIso); in updateGeoDescription()
DCallerInfoUtils.java31 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
90 info.countryIso = PhoneNumberHelper.getCurrentCountryIso(context, call.getAccountHandle()); in buildCallerInfo()
95 if (!PhoneNumberHelper.isUriNumber(number)) { in buildCallerInfo()
191 number = PhoneNumberHelper.getDisplayNameForRestrictedNumber(context).toString(); in modifyForSpecialCnapCases()
DContactInfoCache.java55 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
187 isSipCall = PhoneNumberHelper.isUriNumber(number); in populateCacheEntry()
214 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry()
227 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry()
252 displayNumber = PhoneNumberHelper.formatNumber(context, number, info.countryIso); in populateCacheEntry()
291 name = PhoneNumberHelper.getDisplayNameForRestrictedNumber(context); in getPresentationString()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhoneNumberDisplayUtil.java25 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
41 if (PhoneNumberHelper.isLegacyUnknownNumbers(number)) { in getDisplayName()
53 return Optional.of(PhoneNumberHelper.getDisplayNameForRestrictedNumber(appContext)); in getNameForPresentation()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhoneNumberHelper.java26 public class PhoneNumberHelper { class
28 private static final String LOG_TAG = PhoneNumberHelper.class.getSimpleName();
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DPhoneDataItem.java22 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
57 PhoneNumberHelper.formatNumber( in computeFormattedPhoneNumber()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/emergency/
DEmergencyPhoneLookup.java26 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
60 PhoneNumberHelper.isLocalEmergencyNumber( in lookup()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersAdapter.java30 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
69 PhoneNumberHelper.formatNumber(getContext(), number, countryIso), in bindView()
DNumbersAdapter.java35 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
126 return PhoneNumberHelper.getGeoDescription(context, info.number, countryIso); in getNumberTypeOrLocation()
/packages/apps/Dialer/java/com/android/dialer/util/
DCallUtil.java26 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
49 if (PhoneNumberHelper.isUriNumber(number)) { in getCallUri()
/packages/apps/Dialer/java/com/android/dialer/speeddial/
DSuggestionViewHolder.java28 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
58 PhoneNumberHelper.formatNumber( in bind()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/
DModules.java30 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
50 if (PhoneNumberHelper.canPlaceCallsTo( in fromRow()
/packages/apps/Dialer/java/com/android/dialer/assisteddialing/
DConstraints.java26 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
209 && !PhoneNumberHelper.isLocalEmergencyNumber(context, numberToCheck);
/packages/apps/Contacts/src/com/android/contacts/
DCallUtil.java36 import com.android.contacts.util.PhoneNumberHelper;
136 if (PhoneNumberHelper.isUriNumber(number)) { in getCallUri()
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsHeaderViewHolder.java43 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
166 if (PhoneNumberHelper.isLocalEmergencyNumber(context, contact.getNumber())) { in updateContactInfo()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2ExtendedDirectoryPhoneLookup.java37 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
234 String.valueOf(PhoneNumberHelper.isUriNumber(number)))
/packages/apps/Dialer/java/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java49 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
285 PhoneNumberHelper.formatNumberForDisplay( in getView()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogViewHolder.java44 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
291 if (!PhoneNumberHelper.canPlaceCallsTo( in setCallButon()
/packages/apps/Messaging/src/android/support/v7/mms/
DPhoneNumberHelper.java30 public class PhoneNumberHelper { class
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java47 import com.android.dialer.phonenumberutil.PhoneNumberHelper;
268 PhoneNumberHelper.formatNumber( in getDisplayNumber()

12