HomeSort by relevance Sort by last modified time
    Searched defs:contacts (Results 26 - 50 of 70) sorted by null

12 3

  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContract_ProviderStatus.java 17 package android.provider.cts.contacts;
27 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
DataUtil.java 17 package android.provider.cts.contacts;
ContactsContract_DeletedContacts.java 17 package android.provider.cts.contacts;
19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
26 import android.provider.cts.contacts.CommonDatabaseUtils;
27 import android.provider.cts.contacts.DatabaseAsserts;
28 import android.provider.cts.contacts.DeletedContactUtil;
29 import android.provider.cts.contacts.RawContactUtil;
ContactsContract_PhotoTest.java 17 package android.provider.cts.contacts;
24 import android.provider.ContactsContract.Contacts;
25 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
26 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
27 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri()));
67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true));
68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false));
78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri()));
79 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true))
    [all...]
RawContactUtil.java 17 package android.provider.cts.contacts;
ContactsContract_AggregationSuggestionsTest.java 17 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
27 import android.provider.ContactsContract.Contacts.AggregationSuggestions;
29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
33 * CTS tests for {@link android.provider.ContactsContract.Contacts.AggregationSuggestions} APIs.
37 = new String[] {Contacts.DISPLAY_NAME, Contacts._ID};
73 values.put(Contacts._ID, contactIds[0]);
74 values.put(Contacts.DISPLAY_NAME, "first1 last1");
95 values.put(Contacts._ID, contactIds[0])
    [all...]
ContactsContract_AllUriTest.java 17 package android.provider.cts.contacts;
25 import android.provider.ContactsContract.Contacts;
55 {"content://com.android.contacts/contacts", "sud"},
56 {"content://com.android.contacts/contacts/1", "sud"},
57 {"content://com.android.contacts/contacts/1/data", "t"},
58 {"content://com.android.contacts/contacts/1/entities", "t"}
    [all...]
ContactsContract_ContactCountsTest.java 17 package android.provider.cts.contacts;
29 import android.provider.ContactsContract.Contacts;
31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
32 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
42 final String[] TEST_PROJECTION = new String[] {Contacts.DISPLAY_NAME};
61 final Cursor cursor = mResolver.query(Contacts.CONTENT_URI, TEST_PROJECTION,
65 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS));
66 assertFalse(extras.containsKey(Contacts.EXTRA_ADDRESS_BOOK_INDEX_TITLES));
74 final Uri uri = Contacts.CONTENT_URI.buildUpon()
75 .appendQueryParameter(Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true").build()
    [all...]
ContactsContract_DataUsageTest.java 17 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
28 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
163 values.put(Contacts.LAST_TIME_CONTACTED, 123);
167 values.put(Contacts.LAST_TIME_CONTACTED, 123);
171 values.put(Contacts.TIMES_CONTACTED, 456);
175 values.put(Contacts.TIMES_CONTACTED, 456);
180 values.put(Contacts.LAST_TIME_CONTACTED, 123);
181 values.put(Contacts.TIMES_CONTACTED, 456)
    [all...]
ContactsContract_IsSuperPrimaryName.java 17 package android.provider.cts.contacts;
27 import android.provider.ContactsContract.Contacts;
29 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
36 * aggregated contacts. Additionally, this needs to test the affect that aggregating contacts
71 // Setup: two raw contacts. One with a super primary name. One without.
94 // Execute: aggregate the two raw contacts together
97 // Sanity check: two contacts are aggregate
    [all...]
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 ");
ContactsContract_PinnedPositionsTest.java 17 package android.provider.cts.contacts;
19 import static android.provider.cts.contacts.ContactUtil.newContentValues;
30 import android.provider.ContactsContract.Contacts;
33 import android.provider.cts.contacts.CommonDatabaseUtils;
34 import android.provider.cts.contacts.ContactUtil;
35 import android.provider.cts.contacts.DatabaseAsserts;
36 import android.provider.cts.contacts.RawContactUtil;
59 * values are correctly propogated to the contact's constituent raw contacts.
70 newContentValues(Contacts.PINNED, unpinned, Contacts.STARRED, 0))
    [all...]
ContactsContract_RawContactsTest.java 17 package android.provider.cts.contacts;
27 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
28 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
29 import android.provider.cts.contacts.account.StaticAccountAuthenticator;
ContactsContract_StatusUpdatesTest.java 17 package android.provider.cts.contacts;
ContactsContract_StructuredPhoneticName.java 17 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
30 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestContact;
31 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestData;
32 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
71 contact.assertColumn(Contacts.DISPLAY_NAME_SOURCE,
103 // Execute: aggregate the two raw contacts together
107 // Sanity check: two contacts are aggregated
114 contact.assertColumn(Contacts.DISPLAY_NAME, "name");
140 // Execute: aggregate the two raw contacts togethe
    [all...]
ContactsProvider2_AccountRemovalTest.java 17 package android.provider.cts.contacts;
23 import android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
24 import android.provider.cts.contacts.account.StaticAccountAuthenticator;
92 * Contact has merged raw contacts from a single account. Contact should be deleted upon
103 * Contact has merged raw contacts from different accounts. Contact should not be deleted when
180 assertWithinTimeoutLimit(start, "Contacts " + Arrays.toString(remaining.toArray()) +
197 // All contacts in delete log. Pass.
201 * Polls every so often to see if all contacts have been deleted. If not deleted in the
211 assertWithinTimeoutLimit(start, "Contacts have not been deleted after account"
223 // All contacts deleted. Pass
    [all...]
DatabaseAsserts.java 17 package android.provider.cts.contacts;
25 import android.provider.ContactsContract.Contacts;
26 import android.provider.cts.contacts.account.StaticAccountAuthenticator;
DummyGalProvider.java 17 package android.provider.cts.contacts;
26 import android.provider.ContactsContract.Contacts;
29 import android.provider.cts.contacts.account.StaticAccountAuthenticator;
42 public static final String AUTHORITY = "android.provider.cts.contacts.dgp";
67 sURIMatcher.addURI(AUTHORITY, "contacts/filter/*", GAL_FILTER);
69 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/entities", GAL_CONTACT);
70 // sURIMatcher.addURI(AUTHORITY, "contacts/lookup/*/#/entities", GAL_CONTACT_WITH_ID);
126 * See com.android.providers.contacts.ContactDirectoryManager.
196 projection = new String[]{Contacts.DISPLAY_NAME};
204 if (Contacts.DISPLAY_NAME.equals(column))
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/account/
ContactsContract_Subquery.java 17 package android.provider.cts.contacts.account;
23 import android.provider.ContactsContract.Contacts;
25 import android.provider.cts.contacts.ContactsContract_TestDataBuilder;
26 import android.provider.cts.contacts.ContactsContract_TestDataBuilder.TestRawContact;
56 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, null, null, null)) {
61 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null,
67 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null,
StaticAccountAuthenticator.java 17 package android.provider.cts.contacts.account;
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
PollingsQueue.java 77 public synchronized void add(int type, List<Contacts.Item> list) {
82 List<Contacts.Item> contacts = new ArrayList<Contacts.Item>(); local
83 contacts.clear();
85 Contacts.Item item = list.get(i);
88 for(int j = 0; j < contacts.size(); j++) {
89 Contacts.Item item0 = contacts.get(j);
102 Contacts.Item item0 = task.mContacts.get(k)
    [all...]
PollingAction.java 124 List<Contacts.Item> contacts = mPollingTask.mContacts; local
125 for (int i = 0; i < contacts.size(); i++) {
126 Contacts.Item item = contacts.get(i);
131 logger.debug("No contacts in polling task, no action.");
  /developers/build/prebuilts/gradle/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
60 private static final String[] PROJECTION = {ContactsContract.Contacts._ID,
61 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY};
65 private static final String ORDER = ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + " ASC";
107 * Restart the Loader to query the Contacts content provider to display the first contact.
118 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /developers/samples/android/system/RuntimePermissions/Application/src/main/java/com/example/android/system/runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
60 private static final String[] PROJECTION = {ContactsContract.Contacts._ID,
61 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY};
65 private static final String ORDER = ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + " ASC";
107 * Restart the Loader to query the Contacts content provider to display the first contact.
118 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]
  /development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/contacts/
ContactsFragment.java 17 package com.example.android.system.runtimepermissions.contacts;
45 * This Fragment is only used to illustrate that access to the Contacts ContentProvider API has
50 * This fragments demonstrates a basic use case for accessing the Contacts Provider. The
52 * https://developer.android.com/training/contacts-provider/retrieve-names.html
56 private static final String TAG = "Contacts";
64 private static final String[] PROJECTION = {ContactsContract.Contacts._ID,
65 ContactsContract.Contacts.DISPLAY_NAME_PRIMARY};
69 private static final String ORDER = ContactsContract.Contacts.DISPLAY_NAME_PRIMARY + " ASC";
109 * Restart the Loader to query the Contacts content provider to display the first contact.
120 return new CursorLoader(getActivity(), ContactsContract.Contacts.CONTENT_URI, PROJECTION
    [all...]

Completed in 777 milliseconds

12 3