/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/ |
D | PhoneLookupDataSource.java | 193 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); in fill() 195 for (Long id : annotatedCallLogIdsByNumber.get(dialerPhoneNumber)) { in fill() 208 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); in fill() 210 if (!originalInfoMap.get(dialerPhoneNumber).equals(upToDateInfo)) { in fill() 211 for (Long id : annotatedCallLogIdsByNumber.get(dialerPhoneNumber)) { in fill() 217 String normalizedNumber = dialerPhoneNumber.getNormalizedNumber(); in fill() 365 DialerPhoneNumber dialerPhoneNumber; in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() local 367 dialerPhoneNumber = in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() 373 Set<Long> ids = idsByNumber.get(dialerPhoneNumber); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() 376 idsByNumber.put(dialerPhoneNumber, ids); in collectIdAndNumberFromAnnotatedCallLogAndPendingInserts() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/ |
D | Cp2DefaultDirectoryPhoneLookup.java | 98 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 102 return backgroundExecutorService.submit(() -> lookupInternal(dialerPhoneNumber)); in lookup() 105 private Cp2Info lookupInternal(DialerPhoneNumber dialerPhoneNumber) { in lookupInternal() argument 106 String number = dialerPhoneNumber.getNormalizedNumber(); in lookupInternal() 116 new PartitionedNumbers(ImmutableSet.of(dialerPhoneNumber)); in lookupInternal() 511 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); 518 if (updatedContacts.containsKey(dialerPhoneNumber)) { 521 .addAllCp2ContactInfo(updatedContacts.get(dialerPhoneNumber)); 524 } else if (deletedPhoneNumbers.contains(dialerPhoneNumber)) { 526 } else if (unprocessableNumbers.contains(dialerPhoneNumber)) { [all …]
|
D | Cp2ExtendedDirectoryPhoneLookup.java | 89 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 97 directoryIds -> queryCp2ForDirectoryContact(dialerPhoneNumber, directoryIds), in lookup() 162 DialerPhoneNumber dialerPhoneNumber, List<Long> directoryIds) { 168 String number = dialerPhoneNumber.getNormalizedNumber();
|
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/ |
D | PartitionedNumbers.java | 56 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers) { in PartitionedNumbers() 62 if (dialerPhoneNumber.getIsValid() && dialerPhoneNumber.getPostDialPortion().isEmpty()) { in PartitionedNumbers() 63 String validE164 = dialerPhoneNumber.getNormalizedNumber(); in PartitionedNumbers() 69 currentNumbers.add(dialerPhoneNumber); in PartitionedNumbers() 71 String invalidNumber = dialerPhoneNumber.getNormalizedNumber(); in PartitionedNumbers() 77 currentNumbers.add(dialerPhoneNumber); in PartitionedNumbers()
|
D | DialerPhoneNumberUtil.java | 60 DialerPhoneNumber.Builder dialerPhoneNumber = DialerPhoneNumber.newBuilder(); in parse() local 63 dialerPhoneNumber.setCountryIso(defaultRegion); in parse() 68 return dialerPhoneNumber.build(); in parse() 76 return dialerPhoneNumber.setNormalizedNumber(numberToParse).build(); in parse() 81 dialerPhoneNumber.setPostDialPortion(postDialPortion); in parse() 98 return dialerPhoneNumber.setNormalizedNumber(validNumber).setIsValid(true).build(); in parse() 103 return dialerPhoneNumber.setNormalizedNumber(networkPortion + postDialPortion).build(); in parse()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/ |
D | CompositePhoneLookup.java | 109 public ListenableFuture<PhoneLookupInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 114 ListenableFuture<?> lookupFuture = phoneLookup.lookup(dialerPhoneNumber); in lookup() 189 for (DialerPhoneNumber dialerPhoneNumber : existingInfoMap.keySet()) { in getMostRecentInfo() 193 Object subInfo = map.get(dialerPhoneNumber); in getMostRecentInfo() 198 dialerPhoneNumber.getNormalizedNumber())); in getMostRecentInfo() 202 combinedMap.put(dialerPhoneNumber, combinedInfo.build()); in getMostRecentInfo() 221 (dialerPhoneNumber, phoneLookupInfo) -> 222 phoneLookup.getSubMessage(existingInfoMap.get(dialerPhoneNumber)));
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/ |
D | SpamPhoneLookup.java | 67 public ListenableFuture<SpamInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 69 spam.batchCheckSpamStatus(ImmutableSet.of(dialerPhoneNumber)), in lookup() 72 .setIsSpam(Assert.isNotNull(spamStatusMap.get(dialerPhoneNumber)).isSpam()) in lookup() 103 DialerPhoneNumber dialerPhoneNumber = dialerPhoneNumberAndSpamStatus.getKey(); in getMostRecentInfo() local 106 dialerPhoneNumber, SpamInfo.newBuilder().setIsSpam(spamStatus.isSpam()).build()); in getMostRecentInfo()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cequint/ |
D | CequintPhoneLookup.java | 77 dialerPhoneNumber -> in lookup() 83 Assert.isNotNull(dialerPhoneNumber).getNormalizedNumber(), in lookup() 90 public ListenableFuture<CequintInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 99 appContext, dialerPhoneNumber.getNormalizedNumber()))); in lookup()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/ |
D | RealtimeRowProcessor.java | 130 DialerPhoneNumber dialerPhoneNumber, PhoneLookupInfo phoneLookupInfo) { in queuePhoneLookupHistoryWrite() argument 132 queuedPhoneLookupHistoryWrites.put(dialerPhoneNumber, phoneLookupInfo); in queuePhoneLookupHistoryWrite() 155 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); in writePhoneLookupHistory() 161 String normalizedNumber = dialerPhoneNumber.getNormalizedNumber(); in writePhoneLookupHistory()
|
/packages/apps/Dialer/java/com/android/dialer/spam/stub/ |
D | SpamStub.java | 52 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers) { in batchCheckSpamStatus() 53 resultBuilder.put(dialerPhoneNumber, SimpleSpamStatus.notSpam()); in batchCheckSpamStatus() 60 public ListenableFuture<SpamStatus> checkSpamStatus(DialerPhoneNumber dialerPhoneNumber) { in checkSpamStatus() argument
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/voicemail/ |
D | VoicemailDataSource.java | 81 DialerPhoneNumber dialerPhoneNumber; in fill() local 83 dialerPhoneNumber = in fill() 90 phoneAccountHandle, dialerPhoneNumber.getNormalizedNumber())) { in fill()
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/emergency/ |
D | EmergencyPhoneLookup.java | 55 public ListenableFuture<EmergencyInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 61 appContext, dialerPhoneNumber.getNormalizedNumber())) in lookup()
|
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/ |
D | BlockingCommand.java | 96 (dialerPhoneNumber) -> in run() 99 .lookup(dialerPhoneNumber), in run()
|
/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | CallLogCacheUpdater.java | 108 DialerPhoneNumber dialerPhoneNumber = 126 Calls.CACHED_NORMALIZED_NUMBER, dialerPhoneNumber.getNormalizedNumber())
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/ |
D | CnapPhoneLookup.java | 73 public ListenableFuture<CnapInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument 80 .is("=", dialerPhoneNumber.getNormalizedNumber())) in lookup()
|
/packages/apps/Dialer/java/com/android/dialer/spam/ |
D | Spam.java | 50 ListenableFuture<SpamStatus> checkSpamStatus(DialerPhoneNumber dialerPhoneNumber); in checkSpamStatus() argument
|
/packages/apps/Dialer/java/com/android/dialer/phonelookup/ |
D | PhoneLookup.java | 83 ListenableFuture<T> lookup(DialerPhoneNumber dialerPhoneNumber); in lookup() argument
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
D | SystemCallLogDataSource.java | 326 DialerPhoneNumber dialerPhoneNumber = in handleInsertsAndUpdates() local 329 contentValues.put(AnnotatedCallLog.NUMBER, dialerPhoneNumber.toByteArray()); in handleInsertsAndUpdates()
|