/packages/apps/Contacts/src/com/android/contacts/ |
D | GroupMetaDataLoader.java | 51 public GroupMetaDataLoader(Context context, Uri groupUri) { in GroupMetaDataLoader() argument 52 super(context, ensureIsGroupUri(groupUri), COLUMNS, Groups.ACCOUNT_TYPE + " NOT NULL AND " in GroupMetaDataLoader() 60 private static Uri ensureIsGroupUri(final Uri groupUri) { in ensureIsGroupUri() argument 62 if (groupUri == null) { in ensureIsGroupUri() 65 if (!groupUri.toString().startsWith(Groups.CONTENT_URI.toString())) { in ensureIsGroupUri() 66 throw new IllegalArgumentException("Invalid group Uri: " + groupUri); in ensureIsGroupUri() 68 return groupUri; in ensureIsGroupUri()
|
D | ContactSaveService.java | 705 final Uri groupUri = resolver.insert(Groups.CONTENT_URI, values); in createGroup() local 709 if (groupUri == null) { in createGroup() 715 addMembersToGroup(resolver, rawContactsToAdd, ContentUris.parseId(groupUri)); in createGroup() 721 values.put(GroupMembership.GROUP_ROW_ID, ContentUris.parseId(groupUri)); in createGroup() 724 callbackIntent.setData(groupUri); in createGroup() 759 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in renameGroup() local 760 getContentResolver().update(groupUri, values, null, null); in renameGroup() 763 callbackIntent.setData(groupUri); in renameGroup() 834 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in updateGroup() local 840 resolver.update(groupUri, values, null, null); in updateGroup() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupBrowseListFragment.java | 68 void onViewGroupAction(Uri groupUri); in onViewGroupAction() argument 246 private void setSelectedGroup(Uri groupUri) { in setSelectedGroup() argument 247 mSelectedGroupUri = groupUri; in setSelectedGroup() 248 mAdapter.setSelectedGroup(groupUri); in setSelectedGroup() 252 private void viewGroup(Uri groupUri) { in viewGroup() argument 253 setSelectedGroup(groupUri); in viewGroup() 254 if (mListener != null) mListener.onViewGroupAction(groupUri); in viewGroup() 257 public void setSelectedUri(Uri groupUri) { in setSelectedUri() argument 258 viewGroup(groupUri); in setSelectedUri()
|
D | GroupBrowseListAdapter.java | 92 public void setSelectedGroup(Uri groupUri) { in setSelectedGroup() argument 93 mSelectedGroupUri = groupUri; in setSelectedGroup() 96 private boolean isSelectedGroup(Uri groupUri) { in isSelectedGroup() argument 97 return mSelectedGroupUri != null && mSelectedGroupUri.equals(groupUri); in isSelectedGroup() 183 Uri groupUri = getGroupUriFromId(entry.getGroupId()); in getView() local 187 viewCache.setUri(groupUri); in getView() 192 result.setActivated(isSelectedGroup(groupUri)); in getView()
|
D | GroupEditorFragment.java | 466 public void load(String action, Uri groupUri, Bundle intentExtras) { in load() argument 468 mGroupUri = groupUri; in load() 469 mGroupId = (groupUri != null) ? ContentUris.parseId(mGroupUri) : 0; in load() 609 public void onSaveCompleted(boolean hadChanges, Uri groupUri) { in onSaveCompleted() argument 610 boolean success = groupUri != null; in onSaveCompleted() 611 Log.d(TAG, "onSaveCompleted(" + groupUri + ")"); in onSaveCompleted() 618 if (success && groupUri != null) { in onSaveCompleted() 619 final String requestAuthority = groupUri.getAuthority(); in onSaveCompleted() 624 final long groupId = ContentUris.parseId(groupUri); in onSaveCompleted() 631 resultIntent.setData(groupUri); in onSaveCompleted()
|
D | GroupDetailFragment.java | 86 public void onEditRequested(Uri groupUri); in onEditRequested() argument 167 public void loadGroup(Uri groupUri) { in loadGroup() argument 168 mGroupUri= groupUri; in loadGroup()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 636 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values); in testGroupsInsert() local 637 assertStoredValues(groupUri, values); in testGroupsInsert() 646 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values); in testGroupsUpdate() local 652 mResolver.update(groupUri, values, null, null); in testGroupsUpdate() 653 assertStoredValues(groupUri, values); in testGroupsUpdate() 659 Uri groupUri = insertLegacyGroup("Galois", values); in testGroupMembershipsInsert() local 661 Uri membershipUri = insertLegacyGroupMembership(groupUri, personUri, values); in testGroupMembershipsInsert() 680 Uri groupUri = mResolver.insert(Groups.CONTENT_URI, values); in testAddToGroup() local 685 values.put(GroupMembership.GROUP_ID, ContentUris.parseId(groupUri)); in testAddToGroup() 893 private Uri insertLegacyGroupMembership(Uri groupUri, Uri personUri, ContentValues values) { in insertLegacyGroupMembership() argument [all …]
|
D | GroupsTest.java | 256 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId); in testDelayVisibleTransaction() local 270 oper.add(ContentProviderOperation.newUpdate(groupUri).withValue(Groups.GROUP_VISIBLE, 0) in testDelayVisibleTransaction()
|
D | ContactsActor.java | 686 Uri groupUri = resolver.insert(ContactsContract.Groups.CONTENT_URI, values); in createGroup() local 687 return ContentUris.parseId(groupUri); in createGroup()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | GroupDetailActivity.java | 100 public void onEditRequested(Uri groupUri) { 102 intent.setData(groupUri);
|