Home
last modified time | relevance | path

Searched refs:groupId (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java66 public GroupSelectionItem(long groupId, String title, boolean checked) { in GroupSelectionItem() argument
67 this.mGroupId = groupId; in GroupSelectionItem()
247 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in updateView() local
250 mFavoritesGroupId = groupId; in updateView()
253 mDefaultGroupId = groupId; in updateView()
260 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId in updateView()
261 && hasMembership(groupId)) { in updateView()
317 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in onClick() local
318 if (groupId != mFavoritesGroupId in onClick()
319 && (groupId != mDefaultGroupId || mDefaultGroupVisible)) { in onClick()
[all …]
DRawContactEditorView.java375 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID); in getDefaultGroupId() local
378 return groupId; in getDefaultGroupId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java121 final long groupId = cursor.getLong(Projections.COL_ID); in testGroupSummary() local
125 if (groupId == groupGrey) { in testGroupSummary()
129 } else if (groupId == groupRed) { in testGroupSummary()
133 } else if (groupId == groupGreen) { in testGroupSummary()
137 } else if (groupId == groupBlue) { in testGroupSummary()
182 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion1() local
183 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion1()
196 long groupId = createGroup(mAccount, "g1", "gt1"); in testGroupDeletion2() local
197 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testGroupDeletion2()
255 final long groupId = this.createGroup(sTestAccount, GROUP_ID, GROUP_ID, 1); in testDelayVisibleTransaction() local
[all …]
DDirectoryTest.java102 long groupId = createGroup(account, "sid", "def", in testForwardingToLocalInvisibleContacts() local
119 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) }); in testForwardingToLocalInvisibleContacts()
DContactsActor.java153 public static UserInfo createUserInfo(String name, int id, int groupId, int flags) { in createUserInfo() argument
157 ui.profileGroupId = groupId; in createUserInfo()
690 public long createGroupMembership(long rawContactId, long groupId) { in createGroupMembership() argument
695 values.put(CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId); in createGroupMembership()
DBaseContactsProvider2Test.java400 protected Uri insertGroupMembership(long rawContactId, Long groupId) { in insertGroupMembership() argument
404 values.put(GroupMembership.GROUP_ROW_ID, groupId); in insertGroupMembership()
1593 final long groupId = createGroup(mAccount, "gsid1", "title1");
1596 insertGroupMembership(rawContactId, groupId);
DContactsProvider2Test.java3908 long groupId = createGroup(null, "testGroup", "Test Group"); in testQueryContactGroup() local
3912 "west@acme.com", StatusUpdates.OFFLINE, 0, 0, groupId, in testQueryContactGroup()
4350 long groupId = assertSingleGroup(NO_LONG, mAccount, "gsid1", null); in testGroupCreationAfterMembershipInsert() local
4352 rawContactId1, groupId, "gsid1"); in testGroupCreationAfterMembershipInsert() local
9634 long groupId, int chatMode) { in createContact() argument
9636 timesContacted, starred, groupId, chatMode, false); in createContact()
9641 long groupId, int chatMode, boolean isUserProfile) { in createContact() argument
9643 presenceStatus, timesContacted, starred, groupId, chatMode, isUserProfile)); in createContact()
9648 long groupId, int chatMode) { in createRawContact() argument
9650 timesContacted, starred, groupId, chatMode); in createRawContact()
[all …]
DLegacyContactsProviderTest.java894 long groupId = ContentUris.parseId(groupUri); in insertLegacyGroupMembership() local
898 values.put(GroupMembership.GROUP_ID, groupId); in insertLegacyGroupMembership()
/packages/apps/Contacts/src/com/android/contacts/
DGroupMemberLoader.java77 Context context, long groupId) { in constructLoaderForGroupEditorQuery() argument
78 return new GroupMemberLoader(context, groupId, GroupEditorQuery.PROJECTION); in constructLoaderForGroupEditorQuery()
85 Context context, long groupId) { in constructLoaderForGroupDetailQuery() argument
86 return new GroupMemberLoader(context, groupId, GroupDetailQuery.PROJECTION); in constructLoaderForGroupDetailQuery()
89 private GroupMemberLoader(Context context, long groupId, String[] projection) { in GroupMemberLoader() argument
91 mGroupId = groupId; in GroupMemberLoader()
DContactSaveService.java733 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel, in createGroupRenameIntent() argument
737 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupRenameIntent()
749 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in renameGroup() local
752 if (groupId == -1) { in renameGroup()
759 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in renameGroup()
770 public static Intent createGroupDeletionIntent(Context context, long groupId) { in createGroupDeletionIntent() argument
773 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId); in createGroupDeletionIntent()
778 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1); in deleteGroup() local
779 if (groupId == -1) { in deleteGroup()
785 ContentUris.withAppendedId(Groups.CONTENT_URI, groupId), null, null); in deleteGroup()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForGroupMembership.java168 final long groupId = getOrMakeGroup(db, rawContactId, sourceId,
171 values.put(GroupMembership.GROUP_ROW_ID, groupId);
219 return entry.groupId;
236 entry.groupId = c.getLong(0);
241 long groupId = db.insert(Tables.GROUPS, null, groupValues);
242 if (groupId < 0) {
246 entry.groupId = groupId;
252 return entry.groupId;
DContactsProvider2.java1422 long groupId; field in ContactsProvider2.GroupIdCacheEntry
2922 final Long groupId = in addAutoAddMembership() local
2924 if (groupId != null) { in addAutoAddMembership()
2925 insertDataGroupMembership(rawContactId, groupId); in addAutoAddMembership()
2946 final Long groupId = in updateFavoritesMembership() local
2948 if (groupId != null) { in updateFavoritesMembership()
2950 insertDataGroupMembership(rawContactId, groupId); in updateFavoritesMembership()
2952 deleteDataGroupMembership(rawContactId, groupId); in updateFavoritesMembership()
2957 private void insertDataGroupMembership(long rawContactId, long groupId) { in insertDataGroupMembership() argument
2959 groupMembershipValues.put(GroupMembership.GROUP_ROW_ID, groupId); in insertDataGroupMembership()
[all …]
DLegacyApiSupport.java831 long groupId = getRequiredValue(values, in insert() local
833 id = insertGroupMembership(rawContactId, groupId); in insert()
933 private long insertGroupMembership(long rawContactId, long groupId) { in insertGroupMembership() argument
938 mValues.put(GroupMembership.GROUP_ROW_ID, groupId); in insertGroupMembership()
1139 private int updateGroups(long groupId, ContentValues values) { in updateGroups() argument
1143 Groups._ID + "=" + groupId, null); in updateGroups()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupBrowseListAdapter.java63 long groupId = (firstItem == null) ? 0 : firstItem.getGroupId(); in setCursor() local
64 mSelectedGroupUri = getGroupUriFromId(groupId); in setCursor()
78 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); in getSelectedGroupPosition() local
79 Uri uri = getGroupUriFromId(groupId); in getSelectedGroupPosition()
122 long groupId = mCursor.getLong(GroupListLoader.GROUP_ID); in getItem() local
143 return new GroupListItem(accountName, accountType, dataSet, groupId, title, in getItem()
204 private static Uri getGroupUriFromId(long groupId) { in getGroupUriFromId() argument
205 return ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in getGroupUriFromId()
DGroupListItem.java31 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, in GroupListItem() argument
36 mGroupId = groupId; in GroupListItem()
DGroupEditorFragment.java624 final long groupId = ContentUris.parseId(groupUri); in onSaveCompleted() local
627 legacyContentUri, groupId); in onSaveCompleted()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupDeletionDialogFragment.java37 public static void show(FragmentManager fragmentManager, long groupId, String label, in show() argument
41 args.putLong(ARG_GROUP_ID, groupId); in show()
70 long groupId = arguments.getLong(ARG_GROUP_ID);
73 getActivity(), groupId));
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java62 final Long groupId = groupMembership.getGroupRowId(); in isInvisibleAndAddable() local
63 if (groupId != null && groupId == defaultGroupId) { in isInvisibleAndAddable()
/packages/apps/ContactsCommon/src/com/android/contacts/common/
DGroupMetaData.java31 public GroupMetaData(String accountName, String accountType, String dataSet, long groupId, in GroupMetaData() argument
36 this.mGroupId = groupId; in GroupMetaData()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryDetail.java114 private void bindData(BatteryActiveProvider provider, int label, int groupId) { in bindData() argument
115 View group = getView().findViewById(groupId); in bindData()
/packages/apps/Calendar/src/com/android/calendar/
DCloudNotificationBackplane.java26 public boolean subscribeToGroup(String senderId, String account, String groupId) in subscribeToGroup() argument
DExtensionsFactory.java124 public boolean subscribeToGroup(String senderId, String account, String groupId) in getCloudNotificationBackplane()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DValuesDelta.java485 public void setGroupRowId(long groupId) { in setGroupRowId() argument
486 put(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID, groupId); in setGroupRowId()
DContactLoader.java871 final long groupId = cursor.getLong(GroupQuery.ID); in loadGroupMetaData() local
881 accountName, accountType, dataSet, groupId, title, defaultGroup, in loadGroupMetaData()
/packages/apps/Settings/src/com/android/settings/
DChooseLockGeneric.java662 final int groupId = userId; in removeAllFingerprintForUserAndFinish() local
663 Fingerprint finger = new Fingerprint(null, groupId, 0, 0); in removeAllFingerprintForUserAndFinish()

12