Home | History | Annotate | Download | only in contacts

Lines Matching refs:serviceIntent

372         Intent serviceIntent = new Intent(
374 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT);
376 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
377 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
378 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
380 serviceIntent.putParcelableArrayListExtra(
388 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
389 return serviceIntent;
463 Intent serviceIntent = new Intent(
465 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT);
466 serviceIntent.putExtra(EXTRA_CONTACT_STATE, (Parcelable) state);
467 serviceIntent.putExtra(EXTRA_SAVE_IS_PROFILE, isProfile);
468 serviceIntent.putExtra(EXTRA_SAVE_MODE, saveMode);
471 serviceIntent.putExtra(EXTRA_UPDATED_PHOTOS, (Parcelable) updatedPhotos);
484 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
486 return serviceIntent;
759 Intent serviceIntent = new Intent(context, ContactSaveService.class);
760 serviceIntent.setAction(ContactSaveService.ACTION_CREATE_GROUP);
761 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
762 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
763 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
764 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, label);
765 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
771 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
773 return serviceIntent;
818 Intent serviceIntent = new Intent(context, ContactSaveService.class);
819 serviceIntent.setAction(ContactSaveService.ACTION_RENAME_GROUP);
820 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
821 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
826 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
828 return serviceIntent;
854 final Intent serviceIntent = new Intent(context, ContactSaveService.class);
855 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_GROUP);
856 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
858 return serviceIntent;
880 final Intent serviceIntent = new Intent(context, ContactSaveService.class);
881 serviceIntent.setAction(ContactSaveService.ACTION_UNDO);
882 serviceIntent.putExtras(resultIntent);
883 return serviceIntent;
912 Intent serviceIntent = new Intent(context, ContactSaveService.class);
913 serviceIntent.setAction(ContactSaveService.ACTION_UPDATE_GROUP);
914 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
915 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
916 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
917 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_REMOVE,
923 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
925 return serviceIntent;
1032 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1033 serviceIntent.setAction(ContactSaveService.ACTION_SET_STARRED);
1034 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
1035 serviceIntent.putExtra(ContactSaveService.EXTRA_STARRED_FLAG, value);
1037 return serviceIntent;
1077 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1078 serviceIntent.setAction(ContactSaveService.ACTION_SET_SEND_TO_VOICEMAIL);
1079 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
1080 serviceIntent.putExtra(ContactSaveService.EXTRA_SEND_TO_VOICEMAIL_FLAG, value);
1082 return serviceIntent;
1103 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1104 serviceIntent.setAction(ContactSaveService.ACTION_SET_RINGTONE);
1105 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
1106 serviceIntent.putExtra(ContactSaveService.EXTRA_CUSTOM_RINGTONE, value);
1108 return serviceIntent;
1127 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1128 serviceIntent.setAction(ContactSaveService.ACTION_SET_SUPER_PRIMARY);
1129 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1130 return serviceIntent;
1149 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1150 serviceIntent.setAction(ContactSaveService.ACTION_CLEAR_PRIMARY);
1151 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1152 return serviceIntent;
1175 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1176 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_CONTACT);
1177 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
1178 return serviceIntent;
1186 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1187 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_MULTIPLE_CONTACTS);
1188 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds);
1189 serviceIntent.putExtra(ContactSaveService.EXTRA_DISPLAY_NAME_ARRAY, names);
1190 return serviceIntent;
1246 final Intent serviceIntent = new Intent(context, ContactSaveService.class);
1247 serviceIntent.setAction(ContactSaveService.ACTION_SPLIT_CONTACT);
1248 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds);
1249 serviceIntent.putExtra(ContactSaveService.EXTRA_RESULT_RECEIVER, receiver);
1250 return serviceIntent;
1259 final Intent serviceIntent = new Intent(context, ContactSaveService.class);
1260 serviceIntent.setAction(ContactSaveService.ACTION_SPLIT_CONTACT);
1261 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACT_IDS, rawContactIds);
1262 serviceIntent.putExtra(ContactSaveService.EXTRA_HARD_SPLIT, true);
1263 return serviceIntent;
1345 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1346 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_CONTACTS);
1347 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID1, contactId1);
1348 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2);
1353 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
1355 return serviceIntent;
1364 final Intent serviceIntent = new Intent(context, ContactSaveService.class);
1365 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_SEVERAL_CONTACTS);
1366 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds);
1367 serviceIntent.putExtra(ContactSaveService.EXTRA_RESULT_RECEIVER, receiver);
1368 return serviceIntent;