HomeSort by relevance Sort by last modified time
    Searched refs:Contacts (Results 126 - 150 of 310) sorted by null

1 2 3 4 56 7 8 91011>>

  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 214 Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
232 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
234 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
261 int idx = cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME);
263 idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
266 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java 214 Intent intent = new Intent(Intent.ACTION_PICK, ContactsContract.Contacts.CONTENT_URI);
232 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
234 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
261 int idx = cursor.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME);
263 idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
266 Uri photoUri = Uri.withAppendedPath(contactUri, ContactsContract.Contacts.Photo
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 17 package com.android.providers.contacts;
19 import com.android.providers.contacts.sqlite.DatabaseAnalyzer;
20 import com.android.providers.contacts.sqlite.SqlChecker;
21 import com.android.providers.contacts.sqlite.SqlChecker.InvalidSqlException;
22 import com.android.providers.contacts.util.PropertyUtils;
66 import android.provider.ContactsContract.Contacts;
67 import android.provider.ContactsContract.Contacts.Photo;
99 import com.android.providers.contacts.aggregation.util.CommonNicknameCache;
100 import com.android.providers.contacts.database.ContactsTableUtil;
101 import com.android.providers.contacts.database.DeletedContactsTableUtil
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
Contacts_PeopleTest.java 17 package android.provider.cts.contacts;
30 import android.provider.Contacts;
31 import android.provider.Contacts.GroupMembership;
32 import android.provider.Contacts.Groups;
33 import android.provider.Contacts.GroupsColumns;
34 import android.provider.Contacts.People;
71 mProvider = mContentResolver.acquireContentProviderClient(Contacts.AUTHORITY);
117 // Add the My Contacts group, since it is no longer automatically created.
137 cursor.getColumnIndex(android.provider.Contacts.GroupMembership.GROUP_ID);
139 cursor.getColumnIndex(android.provider.Contacts.GroupMembership.PERSON_ID)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EventLocationAdapter.java 29 import android.provider.ContactsContract.Contacts;
96 // Constants for contacts query:
101 Contacts.DISPLAY_NAME,
104 Contacts.PHOTO_ID,
111 // TODO: Only query visible contacts?
118 .append(Contacts.DISPLAY_NAME)
120 .append(Contacts.DISPLAY_NAME)
142 // The cache for contacts photos. We don't have to worry about clearing this, as a
234 InputStream imageStream = Contacts.openContactPhotoInputStream(
256 * Return filter for matching against contacts info and recent locations
288 List<Result> contacts = queryContacts(mResolver, filter, contactsAddresses); local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ContactsApplication.java 17 package com.android.contacts;
29 import android.provider.ContactsContract.Contacts;
32 import com.android.contacts.testing.InjectedServices;
33 import com.android.contacts.util.Constants;
128 // Warm up the preferences and the contacts provider. We delay initialization
129 // of the account type manager because we may not have the contacts group permission
132 getContentResolver().getType(ContentUris.withAppendedId(Contacts.CONTENT_URI, 1));
NonPhoneActivity.java 17 package com.android.contacts;
28 import android.provider.ContactsContract.Contacts;
33 import com.android.contacts.activities.RequestPermissionsActivity;
34 import com.android.contacts.util.ImplicitIntentsUtil;
91 intent.setType(Contacts.CONTENT_ITEM_TYPE);
DynamicShortcuts.java 16 package com.android.contacts;
46 import android.provider.ContactsContract.Contacts;
52 import com.android.contacts.activities.RequestPermissionsActivity;
53 import com.android.contacts.compat.CompatUtils;
54 import com.android.contacts.util.BitmapUtil;
55 import com.android.contacts.util.ImplicitIntentsUtil;
56 import com.android.contacts.util.PermissionsUtil;
67 * Contacts app.
69 * Currently it adds shortcuts for the top 3 contacts in the {@link Contacts#CONTENT_STREQUENT_URI
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionView.java 17 package com.android.contacts.editor;
21 import android.provider.ContactsContract.Contacts;
29 import com.android.contacts.ContactPhotoManager;
30 import com.android.contacts.R;
31 import com.android.contacts.editor.AggregationSuggestionEngine.Suggestion;
101 Contacts.getLookupUri(mSuggestion.contactId, mSuggestion.contactLookupKey),
  /packages/apps/Contacts/src/com/android/contacts/list/
LegacyPhoneNumberListAdapter.java 16 package com.android.contacts.list;
23 import android.provider.Contacts.People;
24 import android.provider.Contacts.Phones;
  /packages/apps/EmergencyInfo/tests/src/com/android/emergency/
ContactTestUtils.java 27 * Utils to create and delete contacts.
31 /** Deletes contacts that match the given name and phone number. */
45 cursor.getColumnIndex(ContactsContract.Contacts.LOOKUP_KEY));
46 Uri uri = Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_LOOKUP_URI,
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
HomeXLarge.java 70 startActivity(new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI));
105 startActivity(new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI));
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsDatabaseHelperUpgradeTest.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.TestUtils.createDatabaseSnapshot;
20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.executeSqlFromAssetFile;
28 import android.provider.ContactsContract.Contacts;
47 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns;
48 import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns;
49 import com.android.providers.contacts.ContactsDatabaseHelper.AggregationExceptionColumns;
50 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
51 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns
    [all...]
GroupsTest.java 17 package com.android.providers.contacts;
30 import android.provider.ContactsContract.Contacts;
37 import com.android.providers.contacts.testutil.RawContactUtil;
46 * adb shell am instrument -e class com.android.providers.contacts.GroupsTest -w \
47 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
81 // Create a handful of contacts
92 // Add phone numbers to specific contacts
99 // Add contacts to various mixture of groups. Grey will have all
100 // contacts, Red only with phone numbers, Green with no phones, and Blue
101 // with no contacts at all
    [all...]
ContactsProvider2TransactionTest.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.TestUtils.cv;
27 import android.provider.ContactsContract.Contacts;
38 * the profile db and the contacts db.
69 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the
80 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks.
99 // Update all raw contacts.
103 // Make sure we only COMMIT on the contacts DB, but there was no transaction on the
109 // Update all profile raw contacts.
114 // on the contacts db. AbstractContactsProvider does that to avoid deadlocks
    [all...]
FastScrollingIndexCacheTest.java 17 package com.android.providers.contacts;
21 import android.provider.ContactsContract.Contacts;
27 import com.android.providers.contacts.util.MockSharedPreferences;
48 private static final Uri URI_A = Contacts.CONTENT_URI;
62 actual.getStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES));
64 actual.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
AbstractContactAggregator.java 17 package com.android.providers.contacts.aggregation;
20 import com.android.providers.contacts.ContactLookupKey;
21 import com.android.providers.contacts.ContactsDatabaseHelper;
22 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns;
23 import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns;
24 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
25 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
26 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupColumns;
27 import com.android.providers.contacts.ContactsDatabaseHelper.NameLookupType;
28 import com.android.providers.contacts.ContactsDatabaseHelper.PhoneLookupColumns
    [all...]
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
EABDbUtil.java 44 import android.provider.ContactsContract.Contacts;
60 // Get the last stored contact changed timestamp and sync only delta contacts.
65 ContactsContract.Contacts._ID,
66 ContactsContract.Contacts.HAS_PHONE_NUMBER,
67 ContactsContract.Contacts.DISPLAY_NAME,
68 ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP };
69 String selection = ContactsContract.Contacts.HAS_PHONE_NUMBER + "> '0' AND "
70 + ContactsContract.Contacts.CONTACT_LAST_UPDATED_TIMESTAMP
72 String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " asc";
75 cursor = contentResolver.query(Contacts.CONTENT_URI, projection, selection
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
ContactsSelectInstrumentation.java 48 // First start the activity we are instrumenting -- the contacts
61 Intent.ACTION_VIEW, ContactsContract.Contacts.CONTENT_ITEM_TYPE), null, true);
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListManagedCursor.java 24 import android.provider.Contacts.People;
  /packages/apps/Settings/src/com/android/settings/applications/
EnterpriseDefaultApps.java 35 CONTACTS(new Intent[] {
36 buildIntent(Intent.ACTION_PICK, null, null, ContactsContract.Contacts.CONTENT_TYPE)}),
  /packages/apps/UnifiedEmail/src/com/android/mail/
SenderInfoLoader.java 31 import android.provider.ContactsContract.Contacts;
32 import android.provider.ContactsContract.Contacts.Photo;
68 * 99 since the contacts provider may wrap our query in its own and insert more params.
137 // Contacts that are designed to be visible outside of search will be returned last.
138 // Therefore, these contacts will be given precedence below, if possible.
157 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
245 return Contacts.IN_DEFAULT_DIRECTORY + " ASC, " + Data._ID;
  /packages/experimental/PermissionApp/src/foo/bar/permission/
PermissionActivity.java 67 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY
75 ContactsContract.Contacts._ID,
76 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY
133 ContactsContract.Contacts.CONTENT_URI,
  /development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
ContactDetailFragment.java 31 import android.provider.ContactsContract.Contacts;
32 import android.provider.ContactsContract.Contacts.Photo;
61 * This fragment displays details of a specific contact from the contacts provider. It shows the
130 * is null. This will re-initialize all the views and start the queries to the system contacts
146 // Contacts.Data.CONTENT_DIRECTORY to map to the provided contact. It's done
147 // differently for these earlier versions because Contacts.Data.CONTENT_DIRECTORY works
149 mContactUri = Contacts.lookupContact(getActivity().getContentResolver(),
167 // Starts two queries to to retrieve contact information from the Contacts Provider.
174 // in the contacts list. This should only happen in a two-pane layout when the user
330 final Uri uri = Uri.withAppendedPath(mContactUri, Contacts.Data.CONTENT_DIRECTORY)
    [all...]
  /cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DirectoryProvider.java 34 import android.provider.ContactsContract.Contacts;
91 mURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER);
92 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT);
93 mURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID);
164 if (column.equals(Contacts._ID)) {
166 } else if (column.equals(Contacts.DISPLAY_NAME)) {
169 } else if (column.equals(Contacts.PHOTO_THUMBNAIL_URI)) {
172 } else if (column.equals(Contacts.PHOTO_URI)) {

Completed in 1433 milliseconds

1 2 3 4 56 7 8 91011>>