• Home
  • Raw
  • Download

Lines Matching refs:groupId

816     public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel,  in createGroupRenameIntent()  argument
820 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupRenameIntent()
832 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in renameGroup() local
835 if (groupId == -1) { in renameGroup()
842 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in renameGroup()
853 public static Intent createGroupDeletionIntent(Context context, long groupId) { in createGroupDeletionIntent() argument
856 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupDeletionIntent()
862 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in deleteGroup() local
863 if (groupId == -1) { in deleteGroup()
867 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in deleteGroup()
909 public static Intent createGroupUpdateIntent(Context context, long groupId, String newLabel, in createGroupUpdateIntent() argument
914 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupUpdateIntent()
929 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in updateGroup() local
934 if (groupId == -1) { in updateGroup()
940 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in updateGroup()
950 addMembersToGroup(resolver, rawContactsToAdd, groupId); in updateGroup()
951 removeMembersFromGroup(resolver, rawContactsToRemove, groupId); in updateGroup()
959 long groupId) { in addMembersToGroup() argument
974 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)}); in addMembersToGroup()
983 insertBuilder.withValue(GroupMembership.GROUP_ROW_ID, groupId); in addMembersToGroup()
1007 String.valueOf(groupId), e); in addMembersToGroup()
1013 long groupId) { in removeMembersFromGroup() argument
1024 GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId)}); in removeMembersFromGroup()
1849 final long groupId = ContentUris.parseId(groupUri); in captureDeletionUndoData() local
1875 … new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) }, null); in captureDeletionUndoData()
1891 final long groupId = ContentUris.parseId(groupUri); in undoDeletion() local
1902 memberInsertions[i].put(GroupMembership.GROUP_ROW_ID, groupId); in undoDeletion()