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.java58 import android.provider.ContactsContract.PhoneLookup;
157 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
163 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
174 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
180 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
189 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
193 .appendQueryParameter(PhoneLookup.QUERY_PARAMETER_SIP_ADDRESS, in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
736 assertProjection(PhoneLookup.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testPhoneLookupProjection()
738 PhoneLookup._ID, in testPhoneLookupProjection()
739 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/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DContactUtils.java19 import static android.provider.ContactsContract.PhoneLookup.CONTENT_FILTER_URI;
58 ContactsContract.PhoneLookup.DISPLAY_NAME,
59 ContactsContract.PhoneLookup.CONTACT_ID,
61 ContactsContract.PhoneLookup.PHOTO_ID,
62 ContactsContract.PhoneLookup.PHOTO_THUMBNAIL_URI,
63 ContactsContract.PhoneLookup.PHOTO_FILE_ID,
64 ContactsContract.PhoneLookup.PHOTO_URI
125 cursor.getColumnIndex(ContactsContract.PhoneLookup.DISPLAY_NAME)); in getPerson()
127 cursor.getString(cursor.getColumnIndex(ContactsContract.PhoneLookup.PHOTO_URI)); in getPerson()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java34 import android.provider.ContactsContract.PhoneLookup;
326 Uri.withAppendedPath(PhoneLookup.CONTENT_FILTER_URI, Uri.encode(number)), in lookupNumberInBackground()
328 PhoneLookup.DISPLAY_NAME, in lookupNumberInBackground()
329 PhoneLookup.DISPLAY_NAME_ALTERNATIVE, in lookupNumberInBackground()
330 PhoneLookup.PHOTO_URI, in lookupNumberInBackground()
331 PhoneLookup.TYPE, in lookupNumberInBackground()
332 PhoneLookup.LABEL, in lookupNumberInBackground()
333 PhoneLookup.LOOKUP_KEY, in lookupNumberInBackground()
338 int nameColumn = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME); in lookupNumberInBackground()
339 int altNameColumn = cursor.getColumnIndex(PhoneLookup.DISPLAY_NAME_ALTERNATIVE); in lookupNumberInBackground()
[all …]
/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.proto12 // to an implementation of PhoneLookup. For example, field
26 // android.provider.ContactsContract.PhoneLookup.DISPLAY_NAME_PRIMARY
32 // android.provider.ContactsContract.PhoneLookup.PHOTO_THUMBNAIL_URI
38 // android.provider.ContactsContract.PhoneLookup.PHOTO_URI
44 // android.provider.ContactsContract.PhoneLookup.PHOTO_ID
50 // android.provider.ContactsContract.PhoneLookup.LABEL
58 // android.provider.ContactsContract.PhoneLookup.CONTACT_ID
66 // android.provider.ContactsContract.PhoneLookup.LOOKUP_KEY
74 // android.provider.ContactsContract.PhoneLookup, to which carrier
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java23 import android.provider.ContactsContract.PhoneLookup;
77 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in removeNonStarMatchesFromCursor()
126 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in matchingNumberStartsWithStar()
172 final int numberIndex = cursor.getColumnIndex(PhoneLookup.NUMBER); in removeNoMatchPhoneNumber()
DContactsProvider2.java101 import android.provider.ContactsContract.PhoneLookup;
859 .add(PhoneLookup.DATA_ID, Data._ID)
860 .add(PhoneLookup.NUMBER, SipAddress.SIP_ADDRESS)
861 .add(PhoneLookup.TYPE, "0")
862 .add(PhoneLookup.LABEL, "NULL")
863 .add(PhoneLookup.NORMALIZED_NUMBER, "NULL")
909 .add(PhoneLookup._ID, "contacts_view." + Contacts._ID)
910 .add(PhoneLookup.CONTACT_ID, "contacts_view." + Contacts._ID)
911 .add(PhoneLookup.DATA_ID, PhoneLookup.DATA_ID)
912 .add(PhoneLookup.LOOKUP_KEY, "contacts_view." + Contacts.LOOKUP_KEY)
[all …]
/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/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/phonelookup/emergency/
DEmergencyPhoneLookup.java23 import com.android.dialer.phonelookup.PhoneLookup;
41 public class EmergencyPhoneLookup implements PhoneLookup<EmergencyInfo> {
/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/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java31 import android.provider.ContactsContract.PhoneLookup;
547 Uri.withAppendedPath(PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI, number), in processCpbrCommand()
549 PhoneLookup.DISPLAY_NAME, PhoneLookup.TYPE in processCpbrCommand()
/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/spam/
DSpamPhoneLookup.java26 import com.android.dialer.phonelookup.PhoneLookup;
42 public final class SpamPhoneLookup implements PhoneLookup<SpamInfo> {
/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/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