Home
last modified time | relevance | path

Searched refs:dialerPhoneNumber (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java193 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/
DCp2DefaultDirectoryPhoneLookup.java98 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 …]
DCp2ExtendedDirectoryPhoneLookup.java89 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/
DPartitionedNumbers.java56 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()
DDialerPhoneNumberUtil.java60 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/
DCompositePhoneLookup.java109 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/
DSpamPhoneLookup.java67 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/
DCequintPhoneLookup.java77 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/
DRealtimeRowProcessor.java130 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/
DSpamStub.java52 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/
DVoicemailDataSource.java81 DialerPhoneNumber dialerPhoneNumber; in fill() local
83 dialerPhoneNumber = in fill()
90 phoneAccountHandle, dialerPhoneNumber.getNormalizedNumber())) { in fill()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/emergency/
DEmergencyPhoneLookup.java55 public ListenableFuture<EmergencyInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument
61 appContext, dialerPhoneNumber.getNormalizedNumber())) in lookup()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java96 (dialerPhoneNumber) -> in run()
99 .lookup(dialerPhoneNumber), in run()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DCallLogCacheUpdater.java108 DialerPhoneNumber dialerPhoneNumber =
126 Calls.CACHED_NORMALIZED_NUMBER, dialerPhoneNumber.getNormalizedNumber())
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/
DCnapPhoneLookup.java73 public ListenableFuture<CnapInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup() argument
80 .is("=", dialerPhoneNumber.getNormalizedNumber())) in lookup()
/packages/apps/Dialer/java/com/android/dialer/spam/
DSpam.java50 ListenableFuture<SpamStatus> checkSpamStatus(DialerPhoneNumber dialerPhoneNumber); in checkSpamStatus() argument
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
DPhoneLookup.java83 ListenableFuture<T> lookup(DialerPhoneNumber dialerPhoneNumber); in lookup() argument
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java326 DialerPhoneNumber dialerPhoneNumber = in handleInsertsAndUpdates() local
329 contentValues.put(AnnotatedCallLog.NUMBER, dialerPhoneNumber.toByteArray()); in handleInsertsAndUpdates()