HomeSort by relevance Sort by last modified time
    Searched refs:GroupMembership (Results 1 - 25 of 51) sorted by null

1 2 3

  /packages/apps/ContactsCommon/src/com/android/contacts/common/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;
61 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...]
Contacts_PeopleTest.java 31 import android.provider.Contacts.GroupMembership;
135 cursor.getColumnIndex(android.provider.Contacts.GroupMembership.GROUP_ID);
137 cursor.getColumnIndex(android.provider.Contacts.GroupMembership.PERSON_ID);
ContactsContract_DataTest.java 31 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
87 GroupMembership.GROUP_SOURCE_ID,
301 GroupMembership.GROUP_SOURCE_ID},
394 GroupMembership.GROUP_SOURCE_ID,
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForGroupMembership.java 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
59 + " ON " + Tables.DATA + "." + GroupMembership.GROUP_ROW_ID
62 + " AND " + Tables.DATA + "." + GroupMembership.RAW_CONTACT_ID + "=?"
70 super(context, dbHelper, aggregator, GroupMembership.CONTENT_ITEM_TYPE);
115 .getMimeTypeId(GroupMembership.CONTENT_ITEM_TYPE);
148 boolean containsGroupSourceId = values.containsKey(GroupMembership.GROUP_SOURCE_ID);
149 boolean containsGroupId = values.containsKey(GroupMembership.GROUP_ROW_ID);
152 "you are not allowed to set both the GroupMembership.GROUP_SOURCE_ID "
153 + "and GroupMembership.GROUP_ROW_ID");
159 "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 52 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
190 // NOTE: This requires late binding of GroupMembership MIME-type
207 + "LEFT OUTER JOIN groups ON (groups._id = data." + GroupMembership.GROUP_ROW_ID
210 // NOTE: This requires late binding of GroupMembership MIME-type
242 + "'" + GroupMembership.CONTENT_ITEM_TYPE + "'"
256 + " ON (mimetypes.mimetype='" + GroupMembership.CONTENT_ITEM_TYPE + "' "
257 + " AND groups._id = data." + GroupMembership.GROUP_ROW_ID + ") ";
304 + "mimetypes.mimetype = '" + GroupMembership.CONTENT_ITEM_TYPE + "')"
498 + GroupMembership.GROUP_ROW_ID;
527 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 40 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
720 values.put(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE);
721 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) });
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...]
GlobalSearchSupportTest.java 25 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
58 + " AND " + Data.MIMETYPE + "='" + GroupMembership.CONTENT_ITEM_TYPE + "'", null);
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
InvisibleContactUtil.java 22 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
61 GroupMembershipDataItem groupMembership = (GroupMembershipDataItem) dataItem;
62 final Long groupId = groupMembership.getGroupRowId();
86 GroupMembership.CONTENT_ITEM_TYPE);
  /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/Contacts/src/com/android/contacts/editor/
EditorUiUtils.java 19 import static android.provider.ContactsContract.CommonDataKinds.GroupMembership;
97 mimetypeLayoutMap.put(GroupMembership.CONTENT_ITEM_TYPE, -1);
203 case GroupMembership.CONTENT_ITEM_TYPE:
RawContactEditorView.java 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
245 mGroupMembershipKind = type.getKindForMimetype(GroupMembership.CONTENT_ITEM_TYPE);
288 } else if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
338 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
GroupMembershipView.java 23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
371 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
416 ArrayList<ValuesDelta> entries = mState.getMimeEntries(GroupMembership.CONTENT_ITEM_TYPE);
CompactKindSectionView.java 29 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
321 } else if (GroupMembership.CONTENT_ITEM_TYPE.equals(mimeType)) {
441 final boolean isGroupKindSection = GroupMembership.CONTENT_ITEM_TYPE.equals(
  /packages/services/Telephony/src/com/android/phone/
SimContacts.java 38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
193 builder.withValueBackReference(GroupMembership.RAW_CONTACT_ID, 0);
194 builder.withValue(Data.MIMETYPE, GroupMembership.CONTENT_ITEM_TYPE);
195 builder.withValue(GroupMembership.GROUP_SOURCE_ID, myGroupsId);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ValuesDelta.java 320 if (values.containsKey(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID)) {
322 values.remove(ContactsContract.CommonDataKinds.GroupMembership.GROUP_SOURCE_ID);
486 put(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId);
490 return getAsLong(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID);
  /frameworks/base/core/java/android/provider/
Contacts.java 540 values.put(GroupMembership.PERSON_ID, personId);
541 values.put(GroupMembership.GROUP_ID, groupId);
542 return resolver.insert(GroupMembership.CONTENT_URI, values);
579 return resolver.query(GroupMembership.CONTENT_URI, null, "person=?",
    [all...]

Completed in 2689 milliseconds

1 2 3