HomeSort by relevance Sort by last modified time
    Searched full:rawcontacts (Results 26 - 50 of 142) sorted by null

12 3 4 5 6

  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
RawContactDeltaTests.java 31 import android.provider.ContactsContract.RawContacts;
71 contact.put(RawContacts.VERSION, 43);
72 contact.put(RawContacts._ID, contactId);
199 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
209 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
218 source.getValues().put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DISABLED);
239 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
244 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri());
254 assertEquals("Incorrect target", RawContacts.CONTENT_URI, oper.getUri())
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 64 import android.provider.ContactsContract.RawContacts;
303 assertProjection(RawContacts.CONTENT_URI, new String[]{
304 RawContacts._ID,
305 RawContacts.CONTACT_ID,
306 RawContacts.ACCOUNT_NAME,
307 RawContacts.ACCOUNT_TYPE,
308 RawContacts.DATA_SET,
309 RawContacts.ACCOUNT_TYPE_AND_DATA_SET,
310 RawContacts.SOURCE_ID,
311 RawContacts.BACKUP_ID
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator2.java 32 import android.provider.ContactsContract.RawContacts;
104 int aggregationMode = RawContacts.AGGREGATION_MODE_DEFAULT;
113 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) {
122 } else if (aggregationMode == RawContacts.AGGREGATION_MODE_DISABLED) {
155 || aggregationMode == RawContacts.AGGREGATION_MODE_SUSPENDED)) {
190 final String sql = "SELECT " + RawContacts._ID + " FROM " + Tables.RAW_CONTACTS +
192 " AND " + RawContacts._ID + "=?";
400 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=? AND " +
401 RawContacts.DELETED + "=0";
425 final String rawContacts = TextUtils.join(",", component)
    [all...]
ContactAggregator.java 26 import android.provider.ContactsContract.RawContacts;
87 int aggregationMode = RawContacts.AGGREGATION_MODE_DEFAULT;
100 if (aggregationMode == RawContacts.AGGREGATION_MODE_DEFAULT) {
126 "SELECT " + RawContacts._ID + ", " + RawContactsColumns.ACCOUNT_ID +
128 " WHERE " + RawContacts.CONTACT_ID + "=?" +
129 " AND " + RawContacts._ID + "!=?",
165 } else if (aggregationMode == RawContacts.AGGREGATION_MODE_DISABLED) {
184 || aggregationMode == RawContacts.AGGREGATION_MODE_SUSPENDED)) {
261 Data.RAW_CONTACT_ID + " IN (SELECT " + RawContacts._ID + " FROM " +
262 Tables.RAW_CONTACTS + " WHERE " + RawContacts.CONTACT_ID + "=?1)) AS a"
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
ContactLoaderTest.java 27 import android.provider.ContactsContract.RawContacts;
137 RawContacts.CONTENT_URI, RAW_CONTACT_ID);
163 RawContacts.CONTENT_URI, RAW_CONTACT_ID);
171 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE);
316 RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE,
317 RawContacts.DATA_SET,
318 RawContacts.DIRTY, RawContacts.VERSION, RawContacts.SOURCE_ID
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_AggregationSuggestionsTest.java 28 import android.provider.ContactsContract.RawContacts;
162 .with(RawContacts.ACCOUNT_TYPE, "test_account")
163 .with(RawContacts.ACCOUNT_NAME, "test_name")
172 .with(RawContacts.ACCOUNT_TYPE, "test_account")
173 .with(RawContacts.ACCOUNT_NAME, "test_name")
182 .with(RawContacts.ACCOUNT_TYPE, "test_account")
183 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_ProviderStatus.java 26 import android.provider.ContactsContract.RawContacts;
60 .with(RawContacts.ACCOUNT_TYPE, "test_account")
61 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_PhoneLookup.java 29 import android.provider.ContactsContract.RawContacts;
65 .with(RawContacts.ACCOUNT_TYPE, "test_account")
66 .with(RawContacts.ACCOUNT_NAME, "test_name")
79 .with(RawContacts.ACCOUNT_TYPE, "test_account")
80 .with(RawContacts.ACCOUNT_NAME, "test_name")
ContactsContract_StatusUpdatesTest.java 28 import android.provider.ContactsContract.RawContacts;
49 ops.add(ContentProviderOperation.newInsert(RawContacts.CONTENT_URI)
50 .withValue(RawContacts.ACCOUNT_TYPE, ACCOUNT_TYPE)
51 .withValue(RawContacts.ACCOUNT_NAME, ACCOUNT_NAME)
ContactsContract_SearchSnippetsTest.java 31 import android.provider.ContactsContract.RawContacts;
218 .with(RawContacts.ACCOUNT_TYPE, "test_account")
219 .with(RawContacts.ACCOUNT_NAME, "test_name")
232 .with(RawContacts.ACCOUNT_TYPE, "test_account")
233 .with(RawContacts.ACCOUNT_NAME, "test_name")
251 .with(RawContacts.ACCOUNT_TYPE, "test_account")
252 .with(RawContacts.ACCOUNT_NAME, "test_name")
  /packages/apps/Exchange/src/com/android/exchange/service/
ContactsSyncAdapterService.java 29 import android.provider.ContactsContract.RawContacts;
94 Uri uri = RawContacts.CONTENT_URI.buildUpon()
95 .appendQueryParameter(RawContacts.ACCOUNT_NAME, acct.name)
96 .appendQueryParameter(RawContacts.ACCOUNT_TYPE,
100 boolean changed = hasDirtyRows(getContentResolver(), uri, RawContacts.DIRTY);
103 .appendQueryParameter(RawContacts.ACCOUNT_NAME, acct.name)
104 .appendQueryParameter(RawContacts.ACCOUNT_TYPE,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
ContactsTableUtil.java 97 + " SELECT " + ContactsContract.RawContacts.CONTACT_ID
99 + " WHERE " + ContactsContract.RawContacts._ID
124 final String sql = "select " + ContactsContract.RawContacts.CONTACT_ID + ", count(1)"
126 + " where " + ContactsContract.RawContacts.CONTACT_ID + " ="
127 + " (select " + ContactsContract.RawContacts.CONTACT_ID
129 + " where " + ContactsContract.RawContacts._ID + " = ?)"
130 + " group by " + ContactsContract.RawContacts.CONTACT_ID;
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 37 import android.provider.ContactsContract.RawContacts;
79 public List<RawContact> rawContacts;
83 return "ID: " + contactId + " rawContacts: " + rawContacts + " name: " + name
279 RawContacts.ACCOUNT_TYPE,
280 RawContacts.ACCOUNT_NAME,
281 RawContacts.DATA_SET
389 suggestion.rawContacts = Lists.newArrayList();
401 suggestion.rawContacts.add(rawContact);
437 if (suggestion.rawContacts != null)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
AccountWithDataSet.java 27 import android.provider.ContactsContract.RawContacts;
55 private static final Uri RAW_CONTACTS_URI_LIMIT_1 = RawContacts.CONTENT_URI.buildUpon()
119 RawContacts.ACCOUNT_TYPE + " = ?" + " AND " + RawContacts.ACCOUNT_NAME + " = ?";
123 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " IS NULL";
126 selection = BASE_SELECTION + " AND " + RawContacts.DATA_SET + " = ?";
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 38 import android.provider.ContactsContract.RawContacts;
100 * @param rawContacts The list of contacts to update
106 List<RawContact> rawContacts, long groupId, long lastSyncMarker) {
114 for (final RawContact rawContact : rawContacts) {
128 // row for this contact so that the RawContacts.SOURCE_ID value
226 * @param rawContacts The list of users we want to update
228 public static void updateStatusMessages(Context context, List<RawContact> rawContacts) {
231 for (RawContact rawContact : rawContacts) {
415 Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
442 values.put(RawContacts.ACCOUNT_NAME, account.name)
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
EntitySet.java 32 import android.provider.ContactsContract.RawContacts;
65 EntityIterator iterator = RawContacts.newEntityIterator(resolver.query(
176 * {@link RawContacts} together.
210 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID);
217 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID);
228 * existing {@link RawContacts#_ID} value. Usually used when creating
233 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID);
242 * Find {@link RawContacts#_ID} of the requested {@link EntityDelta}.
249 return values.getAsLong(RawContacts._ID);
261 * Find index of given {@link RawContacts#_ID} when present
    [all...]
EntityDelta.java 33 import android.provider.ContactsContract.RawContacts;
49 * empty {@link Entity}, which then becomes an insert {@link RawContacts} case.
87 entity.mValues.setIdColumn(RawContacts._ID);
110 .getAsLong(RawContacts.VERSION);
111 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION);
353 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION);
357 .newAssertQuery(RawContacts.CONTENT_URI);
358 builder.withSelection(RawContacts._ID + "=" + beforeId, null);
359 builder.withValue(RawContacts.VERSION, beforeVersion);
384 mValues.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_SUSPENDED)
    [all...]
ContactLoader.java 21 import android.provider.ContactsContract.RawContacts;
29 * Loads a single Contact and all it constituent RawContacts.
117 cursor = resolver.query(RawContactsEntity.CONTENT_URI, null, RawContacts.CONTACT_ID
121 EntityIterator iterator = RawContacts.newEntityIterator(cursor);
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactMultiDeletionInteraction.java 38 import android.provider.ContactsContract.RawContacts;
63 RawContacts._ID,
64 RawContacts.ACCOUNT_TYPE,
65 RawContacts.DATA_SET,
66 RawContacts.CONTACT_ID,
165 builder.append(RawContacts.CONTACT_ID + " =?");
171 return new CursorLoader(mContext, RawContacts.CONTENT_URI, RAW_CONTACT_PROJECTION,
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregator2Test.java 34 import android.provider.ContactsContract.RawContacts;
    [all...]
ContactAggregatorTest.java 34 import android.provider.ContactsContract.RawContacts;
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
android.provider.ContactsContract.RawContacts.StreamItems.html 10 android.provider.ContactsContract.RawContacts.StreamItems
74 Class android.provider.<A HREF="../../../../reference/android/provider/ContactsContract.RawContacts.StreamItems.html" target="_top"><font size="+2"><code>ContactsContract.RawContacts.StreamItems</code></font></A>
88 <A NAME="android.provider.ContactsContract.RawContacts.StreamItems.CONTENT_DIRECTORY"></A>
89 <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/provider/ContactsContract.RawContacts.StreamItems.html#CONTENT_DIRECTORY" target="_top"><code>CONTENT_DIRECTORY</code></font></A></nobr> </TD>
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 69 import android.provider.ContactsContract.RawContacts;
332 + SettingsColumns.CONCRETE_ACCOUNT_TYPE + "," + RawContacts.CONTACT_ID;
348 final String OUTER_RAW_CONTACTS_ID = OUTER_RAW_CONTACTS + "." + RawContacts._ID;
363 " WHERE " + RawContacts.CONTACT_ID + "=" + ContactsColumns.CONCRETE_ID +
364 " GROUP BY " + RawContacts.CONTACT_ID;
414 Tables.RAW_CONTACTS + "." + RawContacts.SOURCE_ID;
416 Tables.RAW_CONTACTS + "." + RawContacts.BACKUP_ID;
418 Tables.RAW_CONTACTS + "." + RawContacts.VERSION;
420 Tables.RAW_CONTACTS + "." + RawContacts.DIRTY;
422 Tables.RAW_CONTACTS + "." + RawContacts.DELETED
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
AccountImageHelper.java 27 import android.provider.ContactsContract.RawContacts;
99 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI,
104 intent.setDataAndType(uri, RawContacts.CONTENT_ITEM_TYPE);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 37 import android.provider.ContactsContract.RawContacts;
74 * Loads a single Contact and all it constituent RawContacts.
133 RawContacts.ACCOUNT_NAME,
134 RawContacts.ACCOUNT_TYPE,
135 RawContacts.DATA_SET,
136 RawContacts.DIRTY,
137 RawContacts.VERSION,
138 RawContacts.SOURCE_ID,
139 RawContacts.SYNC1,
140 RawContacts.SYNC2
    [all...]

Completed in 461 milliseconds

12 3 4 5 6