Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DI18nPhoneNumberWrapper.java49 private I18nPhoneNumberWrapper(String rawNumber, in I18nPhoneNumberWrapper() argument
52 mRawNumber = rawNumber; in I18nPhoneNumberWrapper()
54 ? rawNumber in I18nPhoneNumberWrapper()
116 String rawNumber = source.readString();
119 return new I18nPhoneNumberWrapper(rawNumber, i18nPhoneNumber);
144 public I18nPhoneNumberWrapper get(@NonNull Context context, @NonNull String rawNumber) { in get() argument
150 WeakReference<I18nPhoneNumberWrapper> existingReference = mRecycledPool.get(rawNumber); in get()
154 i18nPhoneNumberWrapper = create(context, rawNumber); in get()
155 mRecycledPool.put(rawNumber, new WeakReference<>(i18nPhoneNumberWrapper)); in get()
162 private I18nPhoneNumberWrapper create(@NonNull Context context, @NonNull String rawNumber) { in create() argument
[all …]
DPhoneNumber.java93 public static PhoneNumber newInstance(Context context, String rawNumber, int type, in newInstance() argument
97 context, rawNumber); in newInstance()
/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/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/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/phonenumberproto/
DDialerPhoneNumberUtil.java181 private boolean isServiceNumber(@NonNull String rawNumber) { in isServiceNumber() argument
182 return rawNumber.contains("#") || rawNumber.startsWith("*"); in isServiceNumber()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DContactUtils.java170 String rawNumber = cursor.getString(0); in getCanonicalAddressesFromRecipientIds() local
171 if (!TextUtils.isEmpty(rawNumber)) { in getCanonicalAddressesFromRecipientIds()
172 return rawNumber; in getCanonicalAddressesFromRecipientIds()
/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()