Home
last modified time | relevance | path

Searched refs:DialerPhoneNumber (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2DefaultDirectoryPhoneLookup.java32 import com.android.dialer.DialerPhoneNumber;
98 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
105 private Cp2Info lookupInternal(DialerPhoneNumber dialerPhoneNumber) { in lookupInternal()
149 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
245 ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers) {
459 public ListenableFuture<ImmutableMap<DialerPhoneNumber, Cp2Info>> getMostRecentInfo(
460 ImmutableMap<DialerPhoneNumber, Cp2Info> existingInfoMap) {
476 ListenableFuture<Set<DialerPhoneNumber>> deletedPhoneNumbersFuture =
484 ArraySet<DialerPhoneNumber> unprocessableNumbers =
486 Map<DialerPhoneNumber, Cp2Info> existingInfoMapToProcess = existingInfoMap;
[all …]
DMissingPermissionsOperations.java21 import com.android.dialer.DialerPhoneNumber;
64 ImmutableSet<DialerPhoneNumber> phoneNumbers, in isDirtyForMissingPermissions()
72 .map(DialerPhoneNumber::getNormalizedNumber) in isDirtyForMissingPermissions()
119 ListenableFuture<ImmutableMap<DialerPhoneNumber, Cp2Info>> getMostRecentInfoForMissingPermissions( in getMostRecentInfoForMissingPermissions() argument
120 ImmutableMap<DialerPhoneNumber, Cp2Info> existingInfoMap) { in getMostRecentInfoForMissingPermissions()
123 ImmutableMap.Builder<DialerPhoneNumber, Cp2Info> clearedInfos = ImmutableMap.builder(); in getMostRecentInfoForMissingPermissions()
124 for (DialerPhoneNumber number : existingInfoMap.keySet()) { in getMostRecentInfoForMissingPermissions()
DCp2ExtendedDirectoryPhoneLookup.java25 import com.android.dialer.DialerPhoneNumber;
89 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
162 DialerPhoneNumber dialerPhoneNumber, List<Long> directoryIds) {
247 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
259 public ListenableFuture<ImmutableMap<DialerPhoneNumber, Cp2Info>> getMostRecentInfo(
260 ImmutableMap<DialerPhoneNumber, Cp2Info> existingInfoMap) {
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
DPhoneLookupDataSource.java30 import com.android.dialer.DialerPhoneNumber;
108 ListenableFuture<ImmutableSet<DialerPhoneNumber>> phoneNumbers = in isDirty()
158 ListenableFuture<Map<DialerPhoneNumber, Set<Long>>> annotatedCallLogIdsByNumberFuture = in fill()
163 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> originalInfoMapFuture = in fill()
172 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> updatedInfoMapFuture = in fill()
182 Map<DialerPhoneNumber, Set<Long>> annotatedCallLogIdsByNumber = in fill()
184 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> originalInfoMap = in fill()
186 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> updatedInfoMap = in fill()
192 for (Entry<DialerPhoneNumber, PhoneLookupInfo> entry : originalInfoMap.entrySet()) { in fill()
193 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); in fill()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
DPartitionedNumbers.java23 import com.android.dialer.DialerPhoneNumber;
38 private final ImmutableMap<String, ImmutableSet<DialerPhoneNumber>>
40 private final ImmutableMap<String, ImmutableSet<DialerPhoneNumber>>
51 public PartitionedNumbers(@NonNull ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers) { in PartitionedNumbers()
53 Map<String, Set<DialerPhoneNumber>> e164MapBuilder = new ArrayMap<>(); in PartitionedNumbers()
54 Map<String, Set<DialerPhoneNumber>> invalidMapBuilder = new ArrayMap<>(); in PartitionedNumbers()
56 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers) { in PartitionedNumbers()
64 Set<DialerPhoneNumber> currentNumbers = e164MapBuilder.get(validE164); in PartitionedNumbers()
72 Set<DialerPhoneNumber> currentNumbers = invalidMapBuilder.get(invalidNumber); in PartitionedNumbers()
104 public ImmutableSet<DialerPhoneNumber> dialerPhoneNumbersForValidE164(String validE164) { in dialerPhoneNumbersForValidE164()
[all …]
DDialerPhoneNumberUtil.java24 import com.android.dialer.DialerPhoneNumber;
57 public DialerPhoneNumber parse(@Nullable String numberToParse, @Nullable String defaultRegion) { in parse()
60 DialerPhoneNumber.Builder dialerPhoneNumber = DialerPhoneNumber.newBuilder(); in parse()
125 @NonNull DialerPhoneNumber firstNumberIn, @NonNull DialerPhoneNumber secondNumberIn) { in isMatch()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
DCompositePhoneLookup.java23 import com.android.dialer.DialerPhoneNumber;
109 public ListenableFuture<PhoneLookupInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
148 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
172 public ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> getMostRecentInfo( in getMostRecentInfo() argument
173 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> existingInfoMap) { in getMostRecentInfo()
178 List<ListenableFuture<ImmutableMap<DialerPhoneNumber, ?>>> futures = new ArrayList<>(); in getMostRecentInfo()
182 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> combinedFuture = in getMostRecentInfo()
187 ImmutableMap.Builder<DialerPhoneNumber, PhoneLookupInfo> combinedMap = in getMostRecentInfo()
189 for (DialerPhoneNumber dialerPhoneNumber : existingInfoMap.keySet()) { in getMostRecentInfo()
192 ImmutableMap<DialerPhoneNumber, ?> map = allMaps.get(i); in getMostRecentInfo()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DSystemBlockedNumberPhoneLookup.java25 import com.android.dialer.DialerPhoneNumber;
68 public ListenableFuture<SystemBlockedNumberInfo> lookup(@NonNull DialerPhoneNumber number) { in lookup()
76 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
83 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SystemBlockedNumberInfo>>
84 getMostRecentInfo(ImmutableMap<DialerPhoneNumber, SystemBlockedNumberInfo> existingInfoMap) { in getMostRecentInfo() argument
93 private ImmutableMap<DialerPhoneNumber, SystemBlockedNumberInfo> queryNumbers( in queryNumbers()
94 ImmutableSet<DialerPhoneNumber> numbers) { in queryNumbers()
98 Set<DialerPhoneNumber> blockedNumbers = new ArraySet<>(); in queryNumbers()
135 ImmutableMap.Builder<DialerPhoneNumber, SystemBlockedNumberInfo> result = in queryNumbers()
138 for (DialerPhoneNumber number : numbers) { in queryNumbers()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/
DSpamPhoneLookup.java22 import com.android.dialer.DialerPhoneNumber;
67 public ListenableFuture<SpamInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
78 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
88 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamInfo>> getMostRecentInfo( in getMostRecentInfo() argument
89 ImmutableMap<DialerPhoneNumber, SpamInfo> existingInfoMap) { in getMostRecentInfo()
92 ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> spamStatusMapFuture = in getMostRecentInfo()
98 ImmutableMap.Builder<DialerPhoneNumber, SpamInfo> mostRecentSpamInfo = in getMostRecentInfo()
101 for (Entry<DialerPhoneNumber, SpamStatus> dialerPhoneNumberAndSpamStatus : in getMostRecentInfo()
103 DialerPhoneNumber dialerPhoneNumber = dialerPhoneNumberAndSpamStatus.getKey(); in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
DPhoneLookup.java22 import com.android.dialer.DialerPhoneNumber;
61 ListenableFuture<DialerPhoneNumber> numberFuture = in lookup()
83 ListenableFuture<T> lookup(DialerPhoneNumber dialerPhoneNumber); in lookup()
89 ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers); in isDirty()
102 ListenableFuture<ImmutableMap<DialerPhoneNumber, T>> getMostRecentInfo( in getMostRecentInfo() argument
103 ImmutableMap<DialerPhoneNumber, T> existingInfoMap); in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/spam/stub/
DSpamStub.java20 import com.android.dialer.DialerPhoneNumber;
46 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> batchCheckSpamStatus( in batchCheckSpamStatus()
47 ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers) { in batchCheckSpamStatus()
50 ImmutableMap.Builder<DialerPhoneNumber, SpamStatus> resultBuilder = in batchCheckSpamStatus()
52 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers) { in batchCheckSpamStatus()
60 public ListenableFuture<SpamStatus> checkSpamStatus(DialerPhoneNumber dialerPhoneNumber) { in checkSpamStatus()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DRealtimeRowProcessor.java25 import com.android.dialer.DialerPhoneNumber;
75 private final Map<DialerPhoneNumber, PhoneLookupInfo> cache = new ArrayMap<>();
77 private final Map<DialerPhoneNumber, PhoneLookupInfo> queuedPhoneLookupHistoryWrites =
130 DialerPhoneNumber dialerPhoneNumber, PhoneLookupInfo phoneLookupInfo) { in queuePhoneLookupHistoryWrite()
142 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> currentBatch = in writePhoneLookupHistory()
154 for (Entry<DialerPhoneNumber, PhoneLookupInfo> entry : currentBatch.entrySet()) { in writePhoneLookupHistory()
155 DialerPhoneNumber dialerPhoneNumber = entry.getKey(); in writePhoneLookupHistory()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cequint/
DCequintPhoneLookup.java22 import com.android.dialer.DialerPhoneNumber;
65 ListenableFuture<DialerPhoneNumber> dialerPhoneNumberFuture = in lookup()
90 public ListenableFuture<CequintInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
103 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
108 public ListenableFuture<ImmutableMap<DialerPhoneNumber, CequintInfo>> getMostRecentInfo( in getMostRecentInfo() argument
109 ImmutableMap<DialerPhoneNumber, CequintInfo> existingInfoMap) { in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/emergency/
DEmergencyPhoneLookup.java20 import com.android.dialer.DialerPhoneNumber;
55 public ListenableFuture<EmergencyInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
66 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
71 public ListenableFuture<ImmutableMap<DialerPhoneNumber, EmergencyInfo>> getMostRecentInfo( in getMostRecentInfo() argument
72 ImmutableMap<DialerPhoneNumber, EmergencyInfo> existingInfoMap) { in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/
DCnapPhoneLookup.java23 import com.android.dialer.DialerPhoneNumber;
73 public ListenableFuture<CnapInfo> lookup(DialerPhoneNumber dialerPhoneNumber) { in lookup()
121 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) { in isDirty()
126 public ListenableFuture<ImmutableMap<DialerPhoneNumber, CnapInfo>> getMostRecentInfo( in getMostRecentInfo() argument
127 ImmutableMap<DialerPhoneNumber, CnapInfo> existingInfoMap) { in getMostRecentInfo()
/packages/apps/Dialer/java/com/android/dialer/spam/
DSpam.java23 import com.android.dialer.DialerPhoneNumber;
41 ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> batchCheckSpamStatus( in batchCheckSpamStatus()
42 ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers); in batchCheckSpamStatus()
50 ListenableFuture<SpamStatus> checkSpamStatus(DialerPhoneNumber dialerPhoneNumber); in checkSpamStatus()
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java26 import com.android.dialer.DialerPhoneNumber;
259 DialerPhoneNumber.parseFrom(annotatedCallLogRow.getBlob(numberColumn))); in mergeRow()
359 DialerPhoneNumber groupPhoneNumber = coalescedRowBuilder.getNumber(); in meetsDialerPhoneNumberCriteria()
361 DialerPhoneNumber rowPhoneNumber; in meetsDialerPhoneNumberCriteria()
367 rowPhoneNumber = DialerPhoneNumber.parseFrom(rowPhoneNumberBytes); in meetsDialerPhoneNumberCriteria()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/voicemail/
DVoicemailDataSource.java24 import com.android.dialer.DialerPhoneNumber;
81 DialerPhoneNumber dialerPhoneNumber; in fill()
84 DialerPhoneNumber.parseFrom(values.getAsByteArray(AnnotatedCallLog.NUMBER)); in fill()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DVoicemailCursorLoader.java24 import com.android.dialer.DialerPhoneNumber;
83 DialerPhoneNumber number; in toVoicemailEntry()
85 number = DialerPhoneNumber.parseFrom(cursor.getBlob(NUMBER)); in toVoicemailEntry()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DCallLogCacheUpdater.java29 import com.android.dialer.DialerPhoneNumber;
108 DialerPhoneNumber dialerPhoneNumber =
110 values, AnnotatedCallLog.NUMBER, DialerPhoneNumber.getDefaultInstance());
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DBlockingCommand.java21 import com.android.dialer.DialerPhoneNumber;
90 ListenableFuture<DialerPhoneNumber> dialerPhoneNumberFuture = in run()
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java37 import com.android.dialer.DialerPhoneNumber;
326 DialerPhoneNumber dialerPhoneNumber = in handleInsertsAndUpdates()
338 AnnotatedCallLog.NUMBER, DialerPhoneNumber.getDefaultInstance().toByteArray()); in handleInsertsAndUpdates()
/packages/apps/Dialer/java/com/android/dialer/calldetails/proto/
Dcall_details_header_info.proto17 optional com.android.dialer.DialerPhoneNumber dialer_phone_number = 1;
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
Dblock_report_spam_dialog_info.proto18 // See DialerPhoneNumber#normalized_number.
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
Dhistory_item_bottom_sheet_header_info.proto22 optional com.android.dialer.DialerPhoneNumber number = 1;

12