Home
last modified time | relevance | path

Searched refs:PhoneLookup (Results 1 – 25 of 39) sorted by relevance

12

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEnterpriseContactsCursorWrapperTest.java21 import android.provider.ContactsContract.PhoneLookup;
33 /* column 0 */ PhoneLookup._ID, in testWrappedResults()
34 /* column 1 */ PhoneLookup.CONTACT_ID, in testWrappedResults()
35 /* column 2 */ PhoneLookup.LOOKUP_KEY, in testWrappedResults()
36 /* column 3 */ PhoneLookup.DISPLAY_NAME, in testWrappedResults()
37 /* column 4 */ PhoneLookup.LAST_TIME_CONTACTED, in testWrappedResults()
38 /* column 5 */ PhoneLookup.TIMES_CONTACTED, in testWrappedResults()
39 /* column 6 */ PhoneLookup.STARRED, in testWrappedResults()
40 /* column 7 */ PhoneLookup.IN_DEFAULT_DIRECTORY, in testWrappedResults()
41 /* column 8 */ PhoneLookup.IN_VISIBLE_GROUP, in testWrappedResults()
[all …]
DContactsProvider2Test.java60 import android.provider.ContactsContract.PhoneLookup;
138 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
144 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
155 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
161 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
170 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
174 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
717 assertProjection(PhoneLookup.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testPhoneLookupProjection()
719 PhoneLookup._ID, in testPhoneLookupProjection()
720 PhoneLookup.CONTACT_ID, in testPhoneLookupProjection()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfo.java28 import android.provider.ContactsContract.PhoneLookup;
49 PhoneLookup.CONTACT_ID,
50 PhoneLookup.DISPLAY_NAME,
51 PhoneLookup.LOOKUP_KEY,
52 PhoneLookup.NUMBER,
53 PhoneLookup.NORMALIZED_NUMBER,
54 PhoneLookup.LABEL,
55 PhoneLookup.TYPE,
56 PhoneLookup.PHOTO_URI,
57 PhoneLookup.CUSTOM_RINGTONE,
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
DPhoneQuery.java21 import android.provider.ContactsContract.PhoneLookup;
55 PhoneLookup.CONTACT_ID,
56 PhoneLookup.DISPLAY_NAME,
57 PhoneLookup.TYPE,
58 PhoneLookup.LABEL,
59 PhoneLookup.NUMBER,
60 PhoneLookup.NORMALIZED_NUMBER,
61 PhoneLookup.PHOTO_ID,
62 PhoneLookup.LOOKUP_KEY,
63 PhoneLookup.PHOTO_URI
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2Projections.java24 import android.provider.ContactsContract.PhoneLookup;
52 PhoneLookup.DISPLAY_NAME_PRIMARY, // 0
53 PhoneLookup.PHOTO_THUMBNAIL_URI, // 1
54 PhoneLookup.PHOTO_URI, // 2
55 PhoneLookup.PHOTO_ID, // 3
56 PhoneLookup.TYPE, // 4
57 PhoneLookup.LABEL, // 5
58 PhoneLookup.NORMALIZED_NUMBER, // 6
59 PhoneLookup.CONTACT_ID, // 7
60 PhoneLookup.LOOKUP_KEY // 8
DCp2ExtendedDirectoryPhoneLookup.java34 import com.android.dialer.phonelookup.PhoneLookup;
58 public final class Cp2ExtendedDirectoryPhoneLookup implements PhoneLookup<Cp2Info> {
229 ContactsContract.PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI
233 ContactsContract.PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS,
/packages/apps/Dialer/java/com/android/dialer/phonelookup/composite/
DCompositePhoneLookup.java32 import com.android.dialer.phonelookup.PhoneLookup;
58 private final ImmutableList<PhoneLookup> phoneLookups;
67 ImmutableList<PhoneLookup> phoneLookups, in CompositePhoneLookup()
89 for (PhoneLookup<?> phoneLookup : phoneLookups) { in lookup()
113 for (PhoneLookup<?> phoneLookup : phoneLookups) { in lookup()
136 PhoneLookup phoneLookup = phoneLookups.get(i); in combineSubMessageFutures()
150 for (PhoneLookup<?> phoneLookup : phoneLookups) { in isDirty()
179 for (PhoneLookup phoneLookup : phoneLookups) { in getMostRecentInfo()
216 PhoneLookup<T> phoneLookup,
237 for (PhoneLookup<?> phoneLookup : phoneLookups) {
[all …]
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java31 import android.provider.ContactsContract.PhoneLookup;
60 PhoneLookup.DISPLAY_NAME,
61 PhoneLookup.TYPE,
62 PhoneLookup.LABEL,
63 PhoneLookup._ID
86 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getTypeFromNumber()
91 int typeColumn = cursor.getColumnIndex(PhoneLookup.TYPE); in getTypeFromNumber()
93 int labelColumn = cursor.getColumnIndex(PhoneLookup.LABEL); in getTypeFromNumber()
211 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getDisplayNameAndAvatarUri()
217 cursor = cr.query(uri, new String[]{PhoneLookup.DISPLAY_NAME, PhoneLookup.PHOTO_URI}, in getDisplayNameAndAvatarUri()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java31 import android.provider.ContactsContract.PhoneLookup;
101 PhoneLookup._ID, // 0
102 PhoneLookup.DISPLAY_NAME, // 1
103 PhoneLookup.PHOTO_THUMBNAIL_URI, // 2
104 PhoneLookup.NUMBER, // 3
105 PhoneLookup.TYPE, // 4
106 PhoneLookup.LABEL, // 5
107 PhoneLookup.LOOKUP_KEY, // 6
540 return PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI; in getPhoneLookupUri()
542 return PhoneLookup.CONTENT_FILTER_URI; in getPhoneLookupUri()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
Dphone_lookup_info.proto13 // to an implementation of PhoneLookup. For example, field
27 // android.provider.ContactsContract.PhoneLookup.DISPLAY_NAME_PRIMARY
33 // android.provider.ContactsContract.PhoneLookup.PHOTO_THUMBNAIL_URI
39 // android.provider.ContactsContract.PhoneLookup.PHOTO_URI
45 // android.provider.ContactsContract.PhoneLookup.PHOTO_ID
51 // android.provider.ContactsContract.PhoneLookup.LABEL
59 // android.provider.ContactsContract.PhoneLookup.CONTACT_ID
67 // android.provider.ContactsContract.PhoneLookup.LOOKUP_KEY
75 // android.provider.ContactsContract.PhoneLookup, to which carrier
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java31 import android.provider.ContactsContract.PhoneLookup;
64 PhoneLookup._ID,
65 PhoneLookup.LOOKUP_KEY,
138 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, ssp); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DUndemoteOutgoingCallReceiver.java27 import android.provider.ContactsContract.PhoneLookup;
82 final Uri contactUri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)); in getContactIdFromPhoneNumber()
88 .query(contactUri, new String[] {PhoneLookup._ID}, null, null, null); in getContactIdFromPhoneNumber()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java22 import android.provider.ContactsContract.PhoneLookup;
76 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in removeNonStarMatchesFromCursor()
125 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in matchingNumberStartsWithStar()
DContactsProvider2.java94 import android.provider.ContactsContract.PhoneLookup;
868 .add(PhoneLookup.DATA_ID, Data._ID)
869 .add(PhoneLookup.NUMBER, SipAddress.SIP_ADDRESS)
870 .add(PhoneLookup.TYPE, "0")
871 .add(PhoneLookup.LABEL, "NULL")
872 .add(PhoneLookup.NORMALIZED_NUMBER, "NULL")
918 .add(PhoneLookup._ID, "contacts_view." + Contacts._ID)
919 .add(PhoneLookup.CONTACT_ID, "contacts_view." + Contacts._ID)
920 .add(PhoneLookup.DATA_ID, PhoneLookup.DATA_ID)
921 .add(PhoneLookup.LOOKUP_KEY, "contacts_view." + Contacts.LOOKUP_KEY)
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/emergency/
DEmergencyPhoneLookup.java23 import com.android.dialer.phonelookup.PhoneLookup;
41 public class EmergencyPhoneLookup implements PhoneLookup<EmergencyInfo> {
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java27 import android.provider.ContactsContract.PhoneLookup;
532 Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, number), in processCpbrCommand()
534 PhoneLookup.DISPLAY_NAME, PhoneLookup.TYPE in processCpbrCommand()
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
DContactTestUtils.java35 Uri contactUri = Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI, in deleteContact()
42 cursor.getColumnIndex(ContactsContract.PhoneLookup.DISPLAY_NAME)); in deleteContact()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DShortcutUsageReporter.java30 import android.provider.ContactsContract.PhoneLookup;
118 Uri uri = Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(phoneNumber)); in queryForLookupKey()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cnap/
DCnapPhoneLookup.java29 import com.android.dialer.phonelookup.PhoneLookup;
42 public final class CnapPhoneLookup implements PhoneLookup<CnapInfo> {
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cequint/
DCequintPhoneLookup.java30 import com.android.dialer.phonelookup.PhoneLookup;
43 public class CequintPhoneLookup implements PhoneLookup<CequintInfo> {
/packages/apps/Dialer/java/com/android/dialer/phonelookup/spam/
DSpamPhoneLookup.java26 import com.android.dialer.phonelookup.PhoneLookup;
42 public final class SpamPhoneLookup implements PhoneLookup<SpamInfo> {
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java41 import android.provider.ContactsContract.PhoneLookup;
186 PhoneLookup.NUMBER,
187 PhoneLookup.DISPLAY_NAME,
188 PhoneLookup._ID
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DSmsMmsContacts.java24 import android.provider.ContactsContract.PhoneLookup;
179 Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, Uri.encode(phone)); in getContactNameFromPhone()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DCallLogPullRequest.java146 Uri uri = Uri.withAppendedPath(ContactsContract.PhoneLookup.CONTENT_FILTER_URI, in updateTimesContacted()
152 ContactsContract.PhoneLookup.CONTACT_ID)); in updateTimesContacted()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/blockednumber/
DSystemBlockedNumberPhoneLookup.java33 import com.android.dialer.phonelookup.PhoneLookup;
51 public class SystemBlockedNumberPhoneLookup implements PhoneLookup<SystemBlockedNumberInfo> {

12