Searched refs:groupId (Results 1 - 25 of 38) sorted by relevance

12

/packages/apps/Contacts/src/com/android/contacts/editor/
H A DGroupMembershipView.java70 public GroupSelectionItem(long groupId, String title, boolean checked) { argument
71 this.mGroupId = groupId;
287 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID);
290 mFavoritesGroupId = groupId;
293 mDefaultGroupId = groupId;
300 if (groupId != mFavoritesGroupId && groupId != mDefaultGroupId
301 && hasMembership(groupId)) {
360 long groupId = mGroupMetaData.getLong(GroupMetaDataLoader.GROUP_ID);
361 if (groupId !
447 isGroupChecked(long groupId) argument
458 hasMembership(long groupId) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupMetaData.java51 public final long groupId; field in class:GroupMetaData
63 final long groupId = cursor.getLong(GroupMetaDataLoader.GROUP_ID);
65 ContactsContract.Groups.CONTENT_URI, groupId);
76 this.groupId = groupId;
93 groupId = source.readLong();
107 dest.writeLong(groupId);
120 && groupId > 0;
134 .add("groupId", groupId)
[all...]
H A DGroupListItem.java33 public GroupListItem(String accountName, String accountType, String dataSet, long groupId, argument
39 mGroupId = groupId;
H A DGroupUtil.java80 long groupId = cursor.getLong(GroupListLoader.GROUP_ID);
103 return new GroupListItem(accountName, accountType, dataSet, groupId, title,
296 public final int groupId; field in class:GroupUtil.GroupsProjection
309 groupId = cursor.getColumnIndex(Groups._ID);
324 groupId = list.indexOf(Groups._ID);
342 return cursor.getLong(groupId);
H A DUpdateGroupMembersAsyncTask.java49 long groupId, String accountName, String accountType, String dataSet) {
53 mGroupId = groupId;
48 UpdateGroupMembersAsyncTask(int type, Context context, long[] contactIds, long groupId, String accountName, String accountType, String dataSet) argument
H A DGroupNameEditDialogFragment.java64 private static final String ARG_GROUP_ID = "groupId";
98 AccountWithDataSet account, String callbackAction, long groupId, String groupName) {
99 return newInstance(account, callbackAction, groupId, groupName);
103 AccountWithDataSet account, String callbackAction, long groupId, String groupName) {
107 final boolean isInsert = groupId == NO_GROUP_ID;
110 args.putLong(ARG_GROUP_ID, groupId);
97 newInstanceForUpdate( AccountWithDataSet account, String callbackAction, long groupId, String groupName) argument
102 newInstance( AccountWithDataSet account, String callbackAction, long groupId, String groupName) argument
H A DGroupMembersFragment.java485 GroupUtil.ACTION_UPDATE_GROUP, mGroupMetaData.groupId,
506 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName,
531 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName,
605 getContext(), mGroupMetaData.groupId);
609 GroupDeletionDialogFragment.show(getFragmentManager(), mGroupMetaData.groupId,
734 mActivity.updateDrawerGroupMenu(mGroupMetaData.groupId);
760 getAdapter().setGroupId(mGroupMetaData.groupId);
825 getContext(), contactIds, mGroupMetaData.groupId, mGroupMetaData.accountName,
834 public boolean isCurrentGroup(long groupId) { argument
835 return mGroupMetaData != null && mGroupMetaData.groupId
[all...]
H A DGroupMembersAdapter.java80 public void setGroupId(long groupId) { argument
81 mGroupId = groupId;
/packages/apps/Dialer/java/com/android/contacts/common/
H A DGroupMetaData.java36 long groupId,
43 this.mGroupId = groupId;
32 GroupMetaData( String accountName, String accountType, String dataSet, long groupId, String title, boolean defaultGroup, boolean favorites) argument
/packages/apps/Calendar/src/com/android/calendar/
H A DCloudNotificationBackplane.java26 public boolean subscribeToGroup(String senderId, String account, String groupId) argument
H A DExtensionsFactory.java124 public boolean subscribeToGroup(String senderId, String account, String groupId)
/packages/apps/Contacts/src/com/android/contacts/interactions/
H A DGroupDeletionDialogFragment.java34 private static final String ARG_GROUP_ID = "groupId";
37 public static void show(FragmentManager fragmentManager, long groupId, String label) { argument
40 args.putLong(ARG_GROUP_ID, groupId);
67 final long groupId = getArguments().getLong(ARG_GROUP_ID);
70 getActivity(), groupId));
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DGroupsTest.java121 final long groupId = cursor.getLong(Projections.COL_ID);
125 if (groupId == groupGrey) {
129 } else if (groupId == groupRed) {
133 } else if (groupId == groupGreen) {
137 } else if (groupId == groupBlue) {
182 long groupId = createGroup(mAccount, "g1", "gt1");
183 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
196 long groupId = createGroup(mAccount, "g1", "gt1");
197 Uri uri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
255 final long groupId
[all...]
H A DDirectoryTest.java108 long groupId = createGroup(account, "sid", "def",
125 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) });
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DGroupsDaoIntegrationTests.java107 final long groupId = ContentUris.parseId(groupUri);
108 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId);
109 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId);
115 new String[] { GroupMembership.CONTENT_ITEM_TYPE, String.valueOf(groupId) },
133 final long groupId = ContentUris.parseId(groupUri);
134 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId);
135 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId);
242 private Uri addMemberToGroup(long rawContactId, long groupId) { argument
247 values.put(GroupMembership.GROUP_ROW_ID, groupId);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForGroupMembership.java169 final long groupId = getOrMakeGroup(db, rawContactId, sourceId,
172 values.put(GroupMembership.GROUP_ROW_ID, groupId);
220 return entry.groupId;
237 entry.groupId = c.getLong(0);
242 long groupId = db.insert(Tables.GROUPS, null, groupValues);
243 if (groupId < 0) {
247 entry.groupId = groupId;
253 return entry.groupId;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DInvisibleContactUtil.java62 final Long groupId = groupMembership.getGroupRowId();
63 if (groupId != null && groupId == defaultGroupId) {
115 defaultGroupId = group.groupId;
/packages/apps/Contacts/src/com/android/contacts/drawer/
H A DDrawerFragment.java167 final long groupId = savedInstanceState.getLong(KEY_SELECTED_GROUP);
168 mDrawerAdapter.setSelectedGroupId(groupId);
269 public void updateGroupMenu(long groupId) { argument
270 mDrawerAdapter.setSelectedGroupId(groupId);
H A DDrawerAdapter.java342 public void setSelectedGroupId(long groupId) { argument
343 if (mSelectedGroupId == groupId) {
346 mSelectedGroupId = groupId;
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java140 public NotificationChannelGroup getGroup(String groupId, String pkg, int uid) { argument
141 if (groupId == null) {
145 return sINM.getNotificationChannelGroupForPackage(groupId, pkg, uid);
/packages/apps/Contacts/src/com/android/contacts/
H A DContactSaveService.java113 public static final String EXTRA_GROUP_ID = "groupId";
816 public static Intent createGroupRenameIntent(Context context, long groupId, String newLabel, argument
820 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
832 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
835 if (groupId == -1) {
842 final Uri groupUri = ContentUris.withAppendedId(Groups.CONTENT_URI, groupId);
853 public static Intent createGroupDeletionIntent(Context context, long groupId) { argument
856 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
862 long groupId = intent.getLongExtra(EXTRA_GROUP_ID, -1);
863 if (groupId
909 createGroupUpdateIntent(Context context, long groupId, String newLabel, long[] rawContactsToAdd, long[] rawContactsToRemove, Class<? extends Activity> callbackActivity, String callbackAction) argument
958 addMembersToGroup(ContentResolver resolver, long[] rawContactsToAdd, long groupId) argument
1012 removeMembersFromGroup(ContentResolver resolver, long[] rawContactsToRemove, long groupId) argument
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneAccountRegistrar.java283 private PhoneAccount getPhoneAccountByGroupId(String groupId, ComponentName groupComponentName, argument
285 if (groupId == null || groupId.isEmpty() || userHandle == null) {
291 .filter(account -> groupId.equals(account.getGroupId()) &&
824 if (defaultHandle == null || defaultHandle.groupId.isEmpty()) {
829 if (!defaultHandle.groupId.equals(newAccount.getGroupId())) {
1061 public final String groupId; field in class:PhoneAccountRegistrar.DefaultPhoneAccountHandle
1064 PhoneAccountHandle phoneAccountHandle, String groupId) {
1067 this.groupId = groupId;
1063 DefaultPhoneAccountHandle(UserHandle userHandle, PhoneAccountHandle phoneAccountHandle, String groupId) argument
[all...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryHistoryDetail.java114 private void bindData(BatteryActiveProvider provider, int label, int groupId) { argument
115 View group = getView().findViewById(groupId);
/packages/services/Telephony/src/com/android/services/telephony/
H A DTelecomAccountRegistry.java266 String groupId = "";
278 groupId = GROUP_PREFIX + line1Number;
279 Log.i(this, "Adding Merged Account with group: " + Log.pii(groupId));
293 .setGroupId(groupId)
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DPeopleActivity.java946 private void onGroupMenuItemClicked(long groupId) { argument
948 && mMembersFragment.isCurrentGroup(groupId)) {
951 mGroupUri = ContentUris.withAppendedId(ContactsContract.Groups.CONTENT_URI, groupId);
1072 public void updateDrawerGroupMenu(long groupId) { argument
1074 mDrawerFragment.updateGroupMenu(groupId);

Completed in 432 milliseconds

12