/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | Blocking.java | 80 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);
|
D | FilteredNumbersUtil.java | 290 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()
|
D | FilteredNumberAsyncQueryHandler.java | 148 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
|
D | FilteredNumberCompat.java | 202 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
|
D | BlockNumberDialogFragment.java | 175 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/ |
D | BlockedNumberBackupAgent.java | 136 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()
|
D | BlockedNumberProvider.java | 161 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() 410 final String e164Number = Utils.getE164Number(context, phoneNumber, null); in isEmergencyNumber() local 412 return tm.isEmergencyNumber(phoneNumber) || tm.isEmergencyNumber(e164Number); in isEmergencyNumber()
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamCallListListener.java | 182 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/ |
D | CallLogListItemViewHolder.java | 1173 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/ |
D | BlockedNumberProviderTest.java | 759 private void assertContents(int rowId, String originalNumber, String e164Number) { 768 assertEquals(e164Number,
|