HomeSort by relevance Sort by last modified time
    Searched refs:Contacts (Results 226 - 250 of 329) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/
CalendarQueryService.java 46 import android.provider.ContactsContract.Contacts;
202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
  /development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/
CalendarQueryService.java 46 import android.provider.ContactsContract.Contacts;
202 Uri contactUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
  /frameworks/base/telephony/java/com/android/internal/telephony/
CallerInfo.java 28 import android.provider.ContactsContract.Contacts;
229 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) {
235 if (Contacts.isEnterpriseContactId(contactId)) {
498 * test, since we'll need a live contacts database to test against,
501 * the test might break whenever the contacts schema changes. But we
508 // - content://com.android.contacts/data/phones ==> use the "contact_id" column
509 // - content://com.android.contacts/phone_lookup ==> use the "_ID" column
510 // - content://com.android.contacts/data ==> use the "contact_id" column
519 // the contacts provider is slow or blocked (like during a sync.)
532 if (url.startsWith("content://com.android.contacts/data/phones"))
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
GroupUtil.java 17 package com.android.contacts.group;
27 import android.provider.ContactsContract.Contacts;
31 import com.android.contacts.ContactsUtils;
32 import com.android.contacts.GroupListLoader;
33 import com.android.contacts.activities.ContactSelectionActivity;
34 import com.android.contacts.list.ContactsSectionIndexer;
35 import com.android.contacts.list.UiIntentActions;
36 import com.android.contacts.model.account.GoogleAccountType;
167 /** Returns an Intent to pick contacts to add to a group. */
263 bundle.putStringArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES, newSections)
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
SearchContactViewHolder.java 24 import android.provider.ContactsContract.Contacts;
105 com.android.contacts.common.R.string.call_subject_type_and_number, label, number);
147 return Contacts.getLookupUri(contactId, lookupKey);
173 context.getDrawable(com.android.contacts.common.R.drawable.ic_phone_attach));
217 * and latency on slow networks, we only want to request capabilities for potential contacts the
222 * <li>There must be 4 or fewer contacts listed in the cursor.
238 if (cursor.getCount() <= 5) { // 4 contacts + 1 header row element
272 Contacts.getLookupUri(
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 30 import android.provider.ContactsContract.Contacts;
295 Uri baseUri = ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId);
296 Uri dataUri = Uri.withAppendedPath(baseUri, Contacts.Data.CONTENT_DIRECTORY);
  /packages/providers/ContactsProvider/tests2/src/com/android/providers/contacts/tests2/
AllUriTest.java 16 package com.android.providers.contacts.tests2;
24 import android.provider.ContactsContract.Contacts;
41 insert for 'content://com.android.contacts/contacts' failed: Aggregate contacts are created automatically
42 insert for 'content://com.android.contacts/raw_contacts/1/data' failed: mimetype is required
43 update for 'content://com.android.contacts/raw_contacts/1/stream_items/1' failed: Empty values
44 insert for 'content://com.android.contacts/data' failed: raw_contact_id is required
45 insert for 'content://com.android.contacts/settings' failed: Must specify both or neither of ACCOUNT_NAME and ACCOUNT_TYPE; URI: content://com.android.contacts/settings?account_type=1, calling user: com.android.providers.contacts.tests2, calling package:com. (…)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
Contacts_PhonesTest.java 17 package android.provider.cts.contacts;
20 import android.provider.Contacts.Phones;
ContactsContract_PhoneLookup.java 17 package android.provider.cts.contacts;
28 import android.provider.ContactsContract.Contacts;
31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
32 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
248 // We need this helper function to add a filter for specific contacts because
249 // otherwise tests will fail if performed on a device with existing contacts data
251 sb.append(Contacts._ID + " in ");
  /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
ExportTestProvider.java 24 import android.provider.ContactsContract.Contacts;
95 * which value in the ContentValue corresponds to the entry in Contacts database.
  /frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
LoaderCursorSupport.java 22 import android.provider.Contacts.People;
42 * Demonstration of the use of a CursorLoader to load and display contacts
145 // These are the Contacts rows that we will retrieve.
LoaderRetainedSupport.java 22 import android.provider.Contacts.People;
42 * Demonstration of the use of a CursorLoader to load and display contacts
139 // These are the Contacts rows that we will retrieve.
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapUtils.java 31 import android.provider.ContactsContract.Contacts;
204 Log.v(TAG, "Loading Contacts ...");
217 /* updatedList stores list of contacts which are added/updated after
218 * the time when contacts were last updated. (contactsLastUpdated
219 * indicates the time when contact/contacts were last updated and
224 String[] projection = {Contacts._ID, Contacts.CONTACT_LAST_UPDATED_TIMESTAMP};
226 .query(Contacts.CONTENT_URI, projection, null, null, null);
250 /* code to check if new contact/contacts are added */
260 /* When contact/contacts are deleted *
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ShortcutIntentBuilder.java 16 package com.android.contacts;
41 import android.provider.ContactsContract.Contacts;
52 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
53 import com.android.contacts.lettertiles.LetterTileDrawable;
54 import com.android.contacts.util.BitmapUtil;
55 import com.android.contacts.util.ImplicitIntentsUtil;
63 Contacts.DISPLAY_NAME,
64 Contacts.PHOTO_ID,
65 Contacts.LOOKUP_KEY
ContactPhotoManager.java 17 package com.android.contacts;
45 import android.provider.ContactsContract.Contacts;
46 import android.provider.ContactsContract.Contacts.Photo;
58 import com.android.contacts.lettertiles.LetterTileDrawable;
59 import com.android.contacts.util.BitmapUtil;
60 import com.android.contacts.util.PermissionsUtil;
61 import com.android.contacts.util.TrafficStatsTags;
62 import com.android.contacts.util.UriUtils;
277 * especially for non-local or temporary contacts that might not have a lookup key. This
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/list/
PhoneNumberListAdapter.java 16 package com.android.contacts.list;
28 import android.provider.ContactsContract.Contacts;
36 import com.android.contacts.CallUtil;
37 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
38 import com.android.contacts.ContactsUtils;
39 import com.android.contacts.GeoUtil;
40 import com.android.contacts.R;
41 import com.android.contacts.compat.CallableCompat;
42 import com.android.contacts.compat.CompatUtils;
43 import com.android.contacts.compat.DirectoryCompat
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/interactions/
PhoneNumberInteraction.java 38 import android.provider.ContactsContract.Contacts;
51 import com.android.contacts.common.Collapser;
52 import com.android.contacts.common.Collapser.Collapsible;
53 import com.android.contacts.common.MoreContactUtils;
54 import com.android.contacts.common.util.ContactDisplayUtils;
252 if (inputUriAsString.startsWith(Contacts.CONTENT_URI.toString())) {
253 if (!inputUriAsString.endsWith(Contacts.Data.CONTENT_DIRECTORY)) {
254 queryUri = Uri.withAppendedPath(uri, Contacts.Data.CONTENT_DIRECTORY);
  /packages/apps/Dialer/java/com/android/dialer/shortcuts/
IconFactory.java 88 ContactsContract.Contacts.openContactPhotoInputStream(
  /packages/apps/Contacts/src/com/android/contacts/util/
AccountFilterUtil.java 17 package com.android.contacts.util;
29 import android.provider.ContactsContract.Contacts;
36 import com.android.contacts.R;
37 import com.android.contacts.activities.ContactEditorActivity;
38 import com.android.contacts.list.AccountFilterActivity;
39 import com.android.contacts.list.ContactListFilter;
40 import com.android.contacts.list.ContactListFilterController;
41 import com.android.contacts.model.AccountTypeManager;
42 import com.android.contacts.model.Contact;
43 import com.android.contacts.model.account.AccountDisplayInfo
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GlobalSearchSupportTest.java 17 package com.android.providers.contacts;
26 import android.provider.ContactsContract.Contacts;
31 import com.android.providers.contacts.testutil.DataUtil;
32 import com.android.providers.contacts.testutil.RawContactUtil;
40 * adb shell am instrument -e class com.android.providers.contacts.GlobalSearchSupportTest -w \
41 * com.android.providers.contacts.tests/android.test.InstrumentationTestRunner
50 // Creating an AUTO_ADD group will exclude all ungrouped contacts from global search
63 // If the contact is not in the "my contacts" group, nothing should be found
163 * Tests that the contacts provider return the appropriate information from the golden
203 Contacts.getLookupUri(contact.getContactId(), contact.getLookupKey()
    [all...]
TestUtils.java 17 package com.android.providers.contacts;
24 import android.provider.ContactsContract.Contacts;
32 import com.android.providers.contacts.ContactsDatabaseHelper.Tables;
251 // Then propagate it to contacts too.
252 db.execSQL("UPDATE " + Tables.CONTACTS
253 + " SET " + Contacts.RAW_TIMES_CONTACTED + " = ("
256 + " WHERE " + Tables.CONTACTS + "._id = r." + RawContacts.CONTACT_ID
BaseContactsProvider2Test.java 17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.ContactsActor.PACKAGE_GREY;
20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.dumpCursor;
51 import android.provider.ContactsContract.Contacts;
62 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns;
63 import com.android.providers.contacts.ContactsDatabaseHelper.Tables;
64 import com.android.providers.contacts.testutil.CommonDatabaseUtils;
65 import com.android.providers.contacts.testutil.DataUtil;
66 import com.android.providers.contacts.testutil.RawContactUtil
    [all...]
  /packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/
TelecomUtils.java 129 Uri photoUri = ContentUris.withAppendedId(ContactsContract.Contacts.CONTENT_URI, id);
130 InputStream photoDataStream = ContactsContract.Contacts.openContactPhotoInputStream(
  /packages/apps/Dialer/java/com/android/dialer/database/
DialerDatabaseHelper.java 32 import android.provider.ContactsContract.Contacts;
39 import com.android.contacts.common.R;
40 import com.android.contacts.common.util.StopWatch;
356 * Removes rows in the smartdial database that matches the contacts that have been deleted by
420 * Removes potentially corrupted entries in the database. These contacts may be added before the
449 * Removes rows in the smartdial database that matches updated contacts.
452 * @param updatedContactCursor Cursor pointing to the list of recently updated contacts.
480 * Inserts updated contacts as rows to the smartdial table.
483 * @param updatedContactCursor Cursor pointing to the list of recently updated contacts.
605 * @param nameCursor Cursor pointing to the list of distinct updated contacts
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
AttentionManagementVerifierActivity.java 195 // charlie is not in contacts
    [all...]

Completed in 1211 milliseconds

1 2 3 4 5 6 7 8 91011>>