Home
last modified time | relevance | path

Searched refs:e164Number (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlocking.java80 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in block() local
81 if (e164Number != null) { in block()
82 values.put(BlockedNumbers.COLUMN_E164_NUMBER, e164Number); in block()
112 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in unblock() local
113 if (e164Number != null) { in unblock()
119 .is("=", e164Number)) in unblock()
152 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso);
153 if (e164Number != null) {
154 e164Numbers.add(e164Number);
DFilteredNumbersUtil.java290 public static boolean canBlockNumber(Context context, String e164Number, String number) { in canBlockNumber() argument
291 String blockableNumber = getBlockableNumber(context, e164Number, number); in canBlockNumber()
304 Context context, @Nullable String e164Number, String number) { in getBlockableNumber() argument
306 return e164Number; in getBlockableNumber()
308 return TextUtils.isEmpty(e164Number) ? number : e164Number; in getBlockableNumber()
DFilteredNumberAsyncQueryHandler.java148 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in isBlockedNumber() local
149 String formattedNumber = FilteredNumbersUtil.getBlockableNumber(context, e164Number, number); in isBlockedNumber()
192 getIsBlockedNumberSelection(e164Number != null) + " = ?", in isBlockedNumber()
219 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getBlockedIdSynchronous() local
220 String formattedNumber = FilteredNumbersUtil.getBlockableNumber(context, e164Number, number); in getBlockedIdSynchronous()
235 getIsBlockedNumberSelection(e164Number != null) + " = ?", in getBlockedIdSynchronous() argument
DFilteredNumberCompat.java202 Context context, String number, @Nullable String e164Number, @Nullable String countryIso) { in newBlockNumberContentValues() argument
206 if (e164Number == null) { in newBlockNumberContentValues()
207 e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in newBlockNumberContentValues()
209 contentValues.put(getE164NumberColumnName(context), e164Number); in newBlockNumberContentValues() local
DBlockNumberDialogFragment.java175 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in onActivityCreated() local
176 if (!FilteredNumbersUtil.canBlockNumber(getContext(), e164Number, number)) { in onActivityCreated()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberBackupAgent.java136 writeString(dataOutputStream, blockedNumber.e164Number); in addToBackup()
228 blockedNumber.e164Number); in writeToProvider()
260 final String e164Number; field in BlockedNumberBackupAgent.BackedUpBlockedNumber
262 BackedUpBlockedNumber(int id, String originalNumber, String e164Number) { in BackedUpBlockedNumber() argument
265 this.e164Number = e164Number; in BackedUpBlockedNumber()
272 id, originalNumber, e164Number); in toString()
DBlockedNumberProvider.java161 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, in insertBlockedNumber() local
163 cv.put(BlockedNumberContract.BlockedNumbers.COLUMN_E164_NUMBER, e164Number); in insertBlockedNumber()
391 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); in unblock() local
392 if (!TextUtils.isEmpty(e164Number)) { in unblock()
394 selectionArgs = new String[]{phoneNumber, e164Number}; in unblock()
409 final String e164Number = Utils.getE164Number(getContext(), phoneNumber, null); in isEmergencyNumber() local
411 || PhoneNumberUtils.isEmergencyNumber(e164Number); in isEmergencyNumber()
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java182 String e164Number = in onDisconnect() local
185 if (!FilteredNumbersUtil.canBlockNumber(context, e164Number, call.getNumber()) in onDisconnect()
189 if (e164Number == null) { in onDisconnect()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogListItemViewHolder.java1173 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in updateBlockReportActions() local
1176 || !FilteredNumbersUtil.canBlockNumber(context, e164Number, number) in updateBlockReportActions()
1254 String e164Number = PhoneNumberUtils.formatNumberToE164(number, countryIso); in onCreateContextMenu() local
1259 && FilteredNumbersUtil.canBlockNumber(context, e164Number, number) in onCreateContextMenu()
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java754 private void assertContents(int rowId, String originalNumber, String e164Number) {
763 assertEquals(e164Number,