/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
GroupMembershipDataItem.java | 21 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 25 * {@link ContactsContract.CommonDataKinds.GroupMembership}. 34 return getContentValues().getAsLong(GroupMembership.GROUP_ROW_ID); 38 return getContentValues().getAsString(GroupMembership.GROUP_SOURCE_ID);
|
DataItem.java | 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 57 if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_GroupMembershipTest.java | 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 53 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE) 54 .with(GroupMembership.GROUP_ROW_ID, group.getId()) 57 groupMembership.load(); 58 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId()); 59 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); 72 TestData groupMembership = rawContact.newDataRow(GroupMembership.CONTENT_ITEM_TYPE [all...] |
ContactsTest.java | 34 import android.provider.Contacts.GroupMembership; [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
EditorUiUtils.java | 20 import static android.provider.ContactsContract.CommonDataKinds.GroupMembership; 61 mimetypeLayoutMap.put(GroupMembership.CONTENT_ITEM_TYPE, -1);
|
GroupMembershipView.java | 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 352 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE); 395 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
|
RawContactEditorView.java | 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 266 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE); 293 } else if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) { 379 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForGroupMembership.java | 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 60 + " ON " + Tables.DATA + "." + GroupMembership.GROUP_ROW_ID 63 + " AND " + Tables.DATA + "." + GroupMembership.RAW_CONTACT_ID + "=?" 71 super(context, dbHelper, aggregator, GroupMembership.CONTENT_ITEM_TYPE); 116 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE); 149 boolean containsGroupSourceId = values.containsKey(GroupMembership.GROUP_SOURCE_ID); 150 boolean containsGroupId = values.containsKey(GroupMembership.GROUP_ROW_ID); 153 "you are not allowed to set both the GroupMembership.GROUP_SOURCE_ID " 154 + "and GroupMembership.GROUP_ROW_ID"); 160 "you must set exactly one of GroupMembership.GROUP_SOURCE_ID [all...] |
LegacyApiSupport.java | 38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 97 private static final int GROUPMEMBERSHIP = 20; 241 GroupMembership.CONTENT_ITEM_TYPE 300 matcher.addURI(authority, "groupmembership", GROUPMEMBERSHIP); 301 matcher.addURI(authority, "groupmembership/#", GROUPMEMBERSHIP_ID); 326 matcher.addURI(authority, "people/#/groupmembership", PEOPLE_GROUPMEMBERSHIP); 327 matcher.addURI(authority, "people/#/groupmembership/#", PEOPLE_GROUPMEMBERSHIP_ID); 466 sGroupMembershipProjectionMap.put(android.provider.Contacts.GroupMembership._ID, 467 android.provider.Contacts.GroupMembership._ID) [all...] |
ContactsDatabaseHelper.java | 48 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 185 // NOTE: This requires late binding of GroupMembership MIME-type 202 + "LEFT OUTER JOIN groups ON (groups._id = data." + GroupMembership.GROUP_ROW_ID 205 // NOTE: This requires late binding of GroupMembership MIME-type 237 + "'" + GroupMembership.CONTENT_ITEM_TYPE + "'" 251 + " ON (mimetypes.mimetype='" + GroupMembership.CONTENT_ITEM_TYPE + "' " 252 + " AND groups._id = data." + GroupMembership.GROUP_ROW_ID + ") "; 290 + "mimetypes.mimetype = '" + GroupMembership.CONTENT_ITEM_TYPE + "')" 450 + GroupMembership.GROUP_ROW_ID; 479 public static final String GROUP_ROW_ID = GroupMembership.GROUP_ROW_ID [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
GroupMemberLoader.java | 22 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 114 selection.append(Data.MIMETYPE + "=?" + " AND " + GroupMembership.GROUP_ROW_ID + "=?"); 120 selectionArgs.add(GroupMembership.CONTENT_ITEM_TYPE);
|
ContactSaveService.java | 39 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 592 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 593 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(groupUri)); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
DirectoryTest.java | 25 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 118 Data.MIMETYPE + "=? AND " + GroupMembership.GROUP_ROW_ID + "=?", 119 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) });
|
GlobalSearchSupportTest.java | 25 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 58 + " AND " + Data.MIMETYPE + "='" + GroupMembership.CONTENT_ITEM_TYPE + "'", null);
|
LegacyContactsProviderTest.java | 28 import android.provider.Contacts.GroupMembership; 666 assertSelection(GroupMembership.CONTENT_URI, values, "groupmembership", 667 GroupMembership._ID, ContentUris.parseId(membershipUri)); 669 Uri personsGroupsUri = Uri.withAppendedPath(personUri, GroupMembership.CONTENT_DIRECTORY); 685 values.put(GroupMembership.GROUP_ID, ContentUris.parseId(groupUri)); 686 values.put(GroupMembership.PERSON_ID, personId); 688 Uri personsGroupsUri = Uri.withAppendedPath(personUri, GroupMembership.CONTENT_DIRECTORY); [all...] |
BaseContactsProvider2Test.java | 37 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 363 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 364 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId); 371 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 372 values.put(GroupMembership.GROUP_ROW_ID, groupId); 378 Data.MIMETYPE + "=? AND " + GroupMembership.RAW_CONTACT_ID + "=?", 379 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(rawContactId) }); 661 assertNullOrEquals(c, rawContactId, GroupMembership.RAW_CONTACT_ID); 662 assertNullOrEquals(c, groupRowId, GroupMembership.GROUP_ROW_ID); 663 assertNullOrEquals(c, sourceId, GroupMembership.GROUP_SOURCE_ID) [all...] |
ContactsActor.java | 502 values.put(Data.MIMETYPE, CommonDataKinds.GroupMembership.CONTENT_ITEM_TYPE); 503 values.put(CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactOperations.java | 28 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 197 mValues.put(GroupMembership.GROUP_ROW_ID, groupId); 198 mValues.put(GroupMembership.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
GoogleSource.java | 37 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 66 // TODO: GOOGLE: GROUPMEMBERSHIP 210 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 237 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(results[1].uri)); 250 values.put(GroupMembership.GROUP_SOURCE_ID, assignToGroupSourceId);
|
EntityDelta.java | 34 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 704 if (values.containsKey(GroupMembership.GROUP_ROW_ID)) { 706 values.remove(GroupMembership.GROUP_SOURCE_ID);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ValuesDelta.java | 316 if (values.containsKey(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID)) { 318 values.remove(ContactsContract.CommonDataKinds.GroupMembership.GROUP_SOURCE_ID); 462 put(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId); 466 return getAsLong(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID);
|
/packages/services/Telephony/src/com/android/phone/ |
SimContacts.java | 36 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 192 builder.withValueBackReference(GroupMembership.RAW_CONTACT_ID, 0); 193 builder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE); 194 builder.withValue(GroupMembership.GROUP_SOURCE_ID, myGroupsId);
|
/frameworks/base/core/java/android/provider/ |
Contacts.java | 541 values.put(GroupMembership.PERSON_ID, personId); 542 values.put(GroupMembership.GROUP_ID, groupId); 543 return resolver.insert(GroupMembership.CONTENT_URI, values); 580 return resolver.query(GroupMembership.CONTENT_URI, null, "person=?", [all...] |
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasContactsSyncHandler.java | 17 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 55 ContactsContract.Data.MIMETYPE + "='" + GroupMembership.CONTENT_ITEM_TYPE + "' AND " + 56 GroupMembership.GROUP_ROW_ID + "=?"; 295 updateValues.put(GroupMembership.GROUP_ROW_ID, id); [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
ContactLoaderTest.java | 21 import android.provider.ContactsContract.CommonDataKinds.GroupMembership; 318 GroupMembership.GROUP_SOURCE_ID,
|