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

  /packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
PhoneLookupInfoConsolidator.java 23 import com.android.dialer.phonelookup.PhoneLookupInfo;
24 import com.android.dialer.phonelookup.PhoneLookupInfo.BlockedState;
25 import com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info.Cp2ContactInfo;
26 import com.android.dialer.phonelookup.PhoneLookupInfo.PeopleApiInfo;
27 import com.android.dialer.phonelookup.PhoneLookupInfo.PeopleApiInfo.InfoType;
33 * Consolidates information from a {@link PhoneLookupInfo}.
35 * <p>For example, a single {@link PhoneLookupInfo} may contain different name information from many
68 * PhoneLookupInfo proto when we are supposed to stick with only one sub-message. For example, if
69 * a PhoneLookupInfo proto has both default_cp2_info and extended_cp2_info but only
81 private final PhoneLookupInfo phoneLookupInfo
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/
PhoneLookup.java 40 * PhoneLookupInfo.Cp2Info} sub-message.
66 * subMessage} into the provided {@code phoneLookupInfo} builder.
68 void setSubMessage(PhoneLookupInfo.Builder phoneLookupInfo, T subMessage);
72 * phoneLookupInfo}.
74 T getSubMessage(PhoneLookupInfo phoneLookupInfo);
  /packages/apps/Dialer/java/com/android/dialer/calllog/ui/
RealtimeRowProcessor.java 34 import com.android.dialer.phonelookup.PhoneLookupInfo;
75 private final Map<DialerPhoneNumber, PhoneLookupInfo> cache = new ArrayMap<>();
77 private final Map<DialerPhoneNumber, PhoneLookupInfo> queuedPhoneLookupHistoryWrites =
104 PhoneLookupInfo cachedPhoneLookupInfo = cache.get(row.number());
109 ListenableFuture<PhoneLookupInfo> phoneLookupInfoFuture =
113 phoneLookupInfo -> {
114 queuePhoneLookupHistoryWrite(row.number(), phoneLookupInfo);
115 cache.put(row.number(), phoneLookupInfo);
116 return applyPhoneLookupInfoToRow(phoneLookupInfo, row);
130 DialerPhoneNumber dialerPhoneNumber, PhoneLookupInfo phoneLookupInfo)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/calllogutils/
NumberAttributesConverter.java 22 import com.android.dialer.phonelookup.PhoneLookupInfo;
41 /** Converts {@link PhoneLookupInfo} to {@link NumberAttributes.Builder} */
42 public static NumberAttributes.Builder fromPhoneLookupInfo(PhoneLookupInfo phoneLookupInfo) {
44 new PhoneLookupInfoConsolidator(phoneLookupInfo);
  /packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
PhoneLookupDataSource.java 41 import com.android.dialer.phonelookup.PhoneLookupInfo;
77 private final Map<String, PhoneLookupInfo> phoneLookupHistoryRowsToUpdate = new ArrayMap<>();
117 * a map from DialerPhoneNumber to PhoneLookupInfo
119 * <li>If no PhoneLookupInfo is found (e.g. app data was cleared?) an empty value is used.
129 * <li>For each number, checks if the original PhoneLookupInfo differs from the new one
155 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> originalInfoMapFuture =
164 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> updatedInfoMapFuture =
171 Callable<ImmutableMap<Long, PhoneLookupInfo>> computeRowsToUpdate =
176 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> originalInfoMap =
178 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> updatedInfoMap
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DialerBlockedNumberPhoneLookup.java 35 import com.android.dialer.phonelookup.PhoneLookupInfo;
36 import com.android.dialer.phonelookup.PhoneLookupInfo.BlockedState;
37 import com.android.dialer.phonelookup.PhoneLookupInfo.DialerBlockedNumberInfo;
95 PhoneLookupInfo.Builder phoneLookupInfo, DialerBlockedNumberInfo subMessage) {
96 phoneLookupInfo.setDialerBlockedNumberInfo(subMessage);
100 public DialerBlockedNumberInfo getSubMessage(PhoneLookupInfo phoneLookupInfo) {
101 return phoneLookupInfo.getDialerBlockedNumberInfo();
SystemBlockedNumberPhoneLookup.java 37 import com.android.dialer.phonelookup.PhoneLookupInfo;
38 import com.android.dialer.phonelookup.PhoneLookupInfo.BlockedState;
39 import com.android.dialer.phonelookup.PhoneLookupInfo.Builder;
40 import com.android.dialer.phonelookup.PhoneLookupInfo.SystemBlockedNumberInfo;
158 public void setSubMessage(Builder phoneLookupInfo, SystemBlockedNumberInfo subMessage) {
159 phoneLookupInfo.setSystemBlockedNumberInfo(subMessage);
163 public SystemBlockedNumberInfo getSubMessage(PhoneLookupInfo phoneLookupInfo) {
164 return phoneLookupInfo.getSystemBlockedNumberInfo();
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/
SpamPhoneLookup.java 28 import com.android.dialer.phonelookup.PhoneLookupInfo;
29 import com.android.dialer.phonelookup.PhoneLookupInfo.SpamInfo;
132 public SpamInfo getSubMessage(PhoneLookupInfo phoneLookupInfo) {
133 return phoneLookupInfo.getSpamInfo();
137 public void setSubMessage(PhoneLookupInfo.Builder destination, SpamInfo subMessage) {
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
Cp2ExtendedDirectoryPhoneLookup.java 33 import com.android.dialer.phonelookup.PhoneLookupInfo;
34 import com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info;
216 public void setSubMessage(PhoneLookupInfo.Builder destination, Cp2Info subMessage) {
221 public Cp2Info getSubMessage(PhoneLookupInfo phoneLookupInfo) {
222 return phoneLookupInfo.getExtendedCp2Info();
Cp2DefaultDirectoryPhoneLookup.java 38 import com.android.dialer.phonelookup.PhoneLookupInfo;
39 import com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info;
40 import com.android.dialer.phonelookup.PhoneLookupInfo.Cp2Info.Cp2ContactInfo;
281 PhoneLookupInfo phoneLookupInfo;
283 phoneLookupInfo =
284 PhoneLookupInfo.parseFrom(cursor.getBlob(phoneLookupInfoColumn));
289 phoneLookupInfo.getDefaultCp2Info().getCp2ContactInfoList()) {
429 public void setSubMessage(PhoneLookupInfo.Builder destination, Cp2Info subMessage) {
434 public Cp2Info getSubMessage(PhoneLookupInfo phoneLookupInfo)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
CompositePhoneLookup.java 31 import com.android.dialer.phonelookup.PhoneLookupInfo;
32 import com.android.dialer.phonelookup.PhoneLookupInfo.Builder;
74 * Delegates to a set of dependent lookups to build a complete {@link PhoneLookupInfo}.
80 public ListenableFuture<PhoneLookupInfo> lookup(DialerPhoneNumber dialerPhoneNumber) {
91 ListenableFuture<PhoneLookupInfo> combinedFuture =
95 Builder mergedInfo = PhoneLookupInfo.newBuilder();
139 public ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> getMostRecentInfo(
140 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> existingInfoMap) {
148 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> combinedFuture =
152 ImmutableMap.Builder<DialerPhoneNumber, PhoneLookupInfo> combinedMap
    [all...]

Completed in 121 milliseconds