HomeSort by relevance Sort by last modified time
    Searched refs:dialerPhoneNumber (Results 1 - 15 of 15) sorted by null

  /packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
PartitionedNumbers.java 23 import com.android.dialer.DialerPhoneNumber;
31 * Divides a set of {@link DialerPhoneNumber DialerPhoneNumbers} according to those that are valid
38 private final ImmutableMap<String, ImmutableSet<DialerPhoneNumber>>
40 private final ImmutableMap<String, ImmutableSet<DialerPhoneNumber>>
44 * Divides a set of {@link DialerPhoneNumber DialerPhoneNumbers} according to those that are valid
51 public PartitionedNumbers(@NonNull ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers) {
53 Map<String, Set<DialerPhoneNumber>> e164MapBuilder = new ArrayMap<>();
54 Map<String, Set<DialerPhoneNumber>> invalidMapBuilder = new ArrayMap<>();
56 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers)
    [all...]
DialerPhoneNumberUtil.java 24 import com.android.dialer.DialerPhoneNumber;
34 * Wrapper for selected methods in {@link PhoneNumberUtil} which uses the {@link DialerPhoneNumber}
49 * Parses the provided raw phone number into a {@link DialerPhoneNumber}.
54 public DialerPhoneNumber parse(@Nullable String numberToParse, @Nullable String defaultRegion) {
57 DialerPhoneNumber.Builder dialerPhoneNumber = DialerPhoneNumber.newBuilder();
60 dialerPhoneNumber.setCountryIso(defaultRegion);
65 return dialerPhoneNumber.build();
73 return dialerPhoneNumber.setNormalizedNumber(numberToParse).build()
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/
SpamPhoneLookup.java 23 import com.android.dialer.DialerPhoneNumber;
68 public ListenableFuture<SpamInfo> lookup(DialerPhoneNumber dialerPhoneNumber) {
70 spam.batchCheckSpamStatus(ImmutableSet.of(dialerPhoneNumber)),
73 .setIsSpam(Assert.isNotNull(spamStatusMap.get(dialerPhoneNumber)).isSpam())
79 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
89 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamInfo>> getMostRecentInfo(
90 ImmutableMap<DialerPhoneNumber, SpamInfo> existingInfoMap) {
93 ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> spamStatusMapFuture =
99 ImmutableMap.Builder<DialerPhoneNumber, SpamInfo> mostRecentSpamInfo
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
PhoneLookupDataSource.java 30 import com.android.dialer.DialerPhoneNumber;
100 ListenableFuture<ImmutableSet<DialerPhoneNumber>> phoneNumbers =
117 * a map from DialerPhoneNumber to PhoneLookupInfo
150 ListenableFuture<Map<DialerPhoneNumber, Set<Long>>> annotatedCallLogIdsByNumberFuture =
155 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> originalInfoMapFuture =
164 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> updatedInfoMapFuture =
174 Map<DialerPhoneNumber, Set<Long>> annotatedCallLogIdsByNumber =
176 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> originalInfoMap =
178 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> updatedInfoMap =
184 for (Entry<DialerPhoneNumber, PhoneLookupInfo> entry : originalInfoMap.entrySet())
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/historyitemactions/
HistoryItemPrimaryActionInfo.java 21 import com.android.dialer.DialerPhoneNumber;
34 public abstract DialerPhoneNumber number();
57 public abstract Builder setNumber(@Nullable DialerPhoneNumber dialerPhoneNumber);
SharedModules.java 26 import com.android.dialer.DialerPhoneNumber;
45 DialerPhoneNumber dialerPhoneNumber,
61 String normalizedNumber = dialerPhoneNumber.getNormalizedNumber();
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/
PhoneLookup.java 21 import com.android.dialer.DialerPhoneNumber;
42 ListenableFuture<T> lookup(DialerPhoneNumber dialerPhoneNumber);
48 ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers);
61 ListenableFuture<ImmutableMap<DialerPhoneNumber, T>> getMostRecentInfo(
62 ImmutableMap<DialerPhoneNumber, T> existingInfoMap);
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
CompositePhoneLookup.java 22 import com.android.dialer.DialerPhoneNumber;
80 public ListenableFuture<PhoneLookupInfo> lookup(DialerPhoneNumber dialerPhoneNumber) {
85 ListenableFuture<?> lookupFuture = phoneLookup.lookup(dialerPhoneNumber);
113 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
139 public ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> getMostRecentInfo(
140 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> existingInfoMap) {
144 List<ListenableFuture<ImmutableMap<DialerPhoneNumber, ?>>> futures = new ArrayList<>();
148 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> combinedFuture =
152 ImmutableMap.Builder<DialerPhoneNumber, PhoneLookupInfo> combinedMap
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
Cp2DefaultDirectoryPhoneLookup.java 31 import com.android.dialer.DialerPhoneNumber;
92 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) {
93 return backgroundExecutorService.submit(() -> lookupInternal(dialerPhoneNumber));
96 private Cp2Info lookupInternal(DialerPhoneNumber dialerPhoneNumber) {
97 String number = dialerPhoneNumber.getNormalizedNumber();
107 new PartitionedNumbers(ImmutableSet.of(dialerPhoneNumber));
139 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
226 ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers)
    [all...]
Cp2ExtendedDirectoryPhoneLookup.java 26 import com.android.dialer.DialerPhoneNumber;
68 public ListenableFuture<Cp2Info> lookup(DialerPhoneNumber dialerPhoneNumber) {
71 directoryIds -> queryCp2ForDirectoryContact(dialerPhoneNumber, directoryIds),
115 DialerPhoneNumber dialerPhoneNumber, List<Long> directoryIds) {
121 String number = dialerPhoneNumber.getNormalizedNumber();
205 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
210 public ListenableFuture<ImmutableMap<DialerPhoneNumber, Cp2Info>> getMostRecentInfo(
211 ImmutableMap<DialerPhoneNumber, Cp2Info> existingInfoMap)
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/
PhoneLookupHistoryRecorder.java 22 import com.android.dialer.DialerPhoneNumber;
58 ListenableFuture<DialerPhoneNumber> numberFuture =
71 dialerPhoneNumber ->
74 .lookup(dialerPhoneNumber),
  /packages/apps/Dialer/java/com/android/dialer/calllog/ui/
RealtimeRowProcessor.java 25 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) {
132 queuedPhoneLookupHistoryWrites.put(dialerPhoneNumber, phoneLookupInfo);
142 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> currentBatch =
154 for (Entry<DialerPhoneNumber, PhoneLookupInfo> entry : currentBatch.entrySet()) {
155 DialerPhoneNumber dialerPhoneNumber = entry.getKey()
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/spam/
SpamStub.java 19 import com.android.dialer.DialerPhoneNumber;
73 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> batchCheckSpamStatus(
74 ImmutableSet<DialerPhoneNumber> dialerPhoneNumbers) {
77 ImmutableMap.Builder<DialerPhoneNumber, SpamStatus> resultBuilder =
79 for (DialerPhoneNumber dialerPhoneNumber : dialerPhoneNumbers) {
81 dialerPhoneNumber,
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DialerBlockedNumberPhoneLookup.java 23 import com.android.dialer.DialerPhoneNumber;
68 public ListenableFuture<DialerBlockedNumberInfo> lookup(DialerPhoneNumber dialerPhoneNumber) {
73 () -> queryNumbers(ImmutableSet.of(dialerPhoneNumber)).get(dialerPhoneNumber));
77 public ListenableFuture<Boolean> isDirty(ImmutableSet<DialerPhoneNumber> phoneNumbers) {
84 public ListenableFuture<ImmutableMap<DialerPhoneNumber, DialerBlockedNumberInfo>>
85 getMostRecentInfo(ImmutableMap<DialerPhoneNumber, DialerBlockedNumberInfo> existingInfoMap) {
110 private ImmutableMap<DialerPhoneNumber, DialerBlockedNumberInfo> queryNumbers(
111 ImmutableSet<DialerPhoneNumber> numbers)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
SystemCallLogDataSource.java 42 import com.android.dialer.DialerPhoneNumber;
319 DialerPhoneNumber dialerPhoneNumber =
322 contentValues.put(AnnotatedCallLog.NUMBER, dialerPhoneNumber.toByteArray());
331 AnnotatedCallLog.NUMBER, DialerPhoneNumber.getDefaultInstance().toByteArray());

Completed in 344 milliseconds