Home
last modified time | relevance | path

Searched refs:rawNumber (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/telecom/
DTelecomCallUtil.java87 String rawNumber = getNumber(call); in getNormalizedNumber() local
88 if (TextUtils.isEmpty(rawNumber)) { in getNormalizedNumber()
91 return Optional.of(PhoneNumberUtils.normalizeNumber(rawNumber)); in getNormalizedNumber()
105 String rawNumber = getNumber(call); in getValidE164Number() local
106 if (TextUtils.isEmpty(rawNumber)) { in getValidE164Number()
110 PhoneNumberUtils.formatNumberToE164(rawNumber, GeoUtil.getCurrentCountryIso(appContext))); in getValidE164Number()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DUtils.java71 @Nullable String rawNumber, @Nullable String incomingE16Number) { in getE164Number() argument
72 if (rawNumber != null && rawNumber.contains("@")) { in getE164Number()
73 return rawNumber; in getE164Number()
78 if (TextUtils.isEmpty(rawNumber)) { in getE164Number()
82 PhoneNumberUtils.formatNumberToE164(rawNumber, getCurrentCountryIso(context)); in getE164Number()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DDeviceInfoUtils.java180 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumber() local
182 if (!TextUtils.isEmpty(rawNumber)) { in getFormattedPhoneNumber()
183 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber()
197 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumbers() local
199 if (!TextUtils.isEmpty(rawNumber)) { in getFormattedPhoneNumbers()
200 sb.append(PhoneNumberUtils.formatNumber(rawNumber)).append("\n"); in getFormattedPhoneNumbers()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersAdapter.java43 final String rawNumber = cursor.getString(cursor.getColumnIndex( in bindView() local
45 final String formattedNumber = BlockedNumbersUtil.formatNumber(rawNumber); in bindView()
63 showDeleteBlockedNumberDialog(context, rawNumber, formattedNumber); in bindView()
68 private void showDeleteBlockedNumberDialog(final Context context, final String rawNumber, in showDeleteBlockedNumberDialog() argument
80 deleteBlockedNumber(context, rawNumber); in showDeleteBlockedNumberDialog()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/list/
DSearchAdapter.java48 private String rawNumber; field in SearchAdapter
118 TextUtils.isEmpty(rawNumber) ? query : rawNumber); in onBindViewHolder()
143 public void setQuery(String query, @Nullable String rawNumber) { in setQuery() argument
145 this.rawNumber = rawNumber; in setQuery()
DNewSearchFragment.java116 private String rawNumber; field in NewSearchFragment
155 adapter.setQuery(query, rawNumber); in onCreateView()
262 public void setRawNumber(String rawNumber) { in setRawNumber() argument
263 this.rawNumber = rawNumber; in setRawNumber()
268 return rawNumber; in getRawNumber()
275 adapter.setQuery(query, rawNumber); in setQuery()
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
DDialerPhoneNumberUtil.java181 private boolean isServiceNumber(@NonNull String rawNumber) { in isServiceNumber() argument
182 return rawNumber.contains("#") || rawNumber.startsWith("*"); in isServiceNumber()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java344 String rawNumber) {
345 if (TextUtils.isEmpty(rawNumber)) {
352 queryPhoneLookup(new String[] {ContactsContract.PhoneLookup.CONTACT_ID}, rawNumber)) {
861 private Cursor queryPhoneLookup(String[] projection, String rawNumber) {
864 ContactsContract.PhoneLookup.CONTENT_FILTER_URI, Uri.encode(rawNumber));
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java2072 String rawNumber = getRawNumber(s); in afterTextChanged() local
2073 Matcher matcher = AR_DOMESTIC_CALL_MOBILE_NUMBER_PATTERN.matcher(rawNumber); in afterTextChanged()
2082 if (rawNumber.contentEquals(s)) { in afterTextChanged()
2090 s.replace(0, s.length(), rawNumber); in afterTextChanged()