Home | History | Annotate | Download | only in contacts

Lines Matching refs:ContactSaveService

76 public class ContactSaveService extends IntentService {
77 private static final String TAG = "ContactSaveService";
161 public ContactSaveService() {
170 + " receive callback from " + ContactSaveService.class.getName());
180 * Returns true if the ContactSaveService was started successfully and false if an exception
286 context, ContactSaveService.class);
287 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT);
289 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
290 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
291 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
294 ContactSaveService.EXTRA_CONTENT_VALUES, values);
301 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
377 context, ContactSaveService.class);
378 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT);
397 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
672 Intent serviceIntent = new Intent(context, ContactSaveService.class);
673 serviceIntent.setAction(ContactSaveService.ACTION_CREATE_GROUP);
674 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
675 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
676 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
677 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, label);
678 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
684 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
735 Intent serviceIntent = new Intent(context, ContactSaveService.class);
736 serviceIntent.setAction(ContactSaveService.ACTION_RENAME_GROUP);
737 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
738 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
743 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
771 Intent serviceIntent = new Intent(context, ContactSaveService.class);
772 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_GROUP);
773 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
806 Intent serviceIntent = new Intent(context, ContactSaveService.class);
807 serviceIntent.setAction(ContactSaveService.ACTION_UPDATE_GROUP);
808 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
809 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
810 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
811 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_REMOVE,
817 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
924 Intent serviceIntent = new Intent(context, ContactSaveService.class);
925 serviceIntent.setAction(ContactSaveService.ACTION_SET_STARRED);
926 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
927 serviceIntent.putExtra(ContactSaveService.EXTRA_STARRED_FLAG, value);
969 Intent serviceIntent = new Intent(context, ContactSaveService.class);
970 serviceIntent.setAction(ContactSaveService.ACTION_SET_SEND_TO_VOICEMAIL);
971 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
972 serviceIntent.putExtra(ContactSaveService.EXTRA_SEND_TO_VOICEMAIL_FLAG, value);
995 Intent serviceIntent = new Intent(context, ContactSaveService.class);
996 serviceIntent.setAction(ContactSaveService.ACTION_SET_RINGTONE);
997 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
998 serviceIntent.putExtra(ContactSaveService.EXTRA_CUSTOM_RINGTONE, value);
1019 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1020 serviceIntent.setAction(ContactSaveService.ACTION_SET_SUPER_PRIMARY);
1021 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1041 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1042 serviceIntent.setAction(ContactSaveService.ACTION_CLEAR_PRIMARY);
1043 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
1067 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1068 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_CONTACT);
1069 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
1078 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1079 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_MULTIPLE_CONTACTS);
1080 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds);
1109 Toast.makeText(ContactSaveService.this, deleteToastMessage, Toast.LENGTH_LONG)
1121 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1122 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_CONTACTS);
1123 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID1, contactId1);
1124 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2);
1129 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
1139 Intent serviceIntent = new Intent(context, ContactSaveService.class);
1140 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_SEVERAL_CONTACTS);
1141 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_IDS, contactIds);
1372 Toast.makeText(ContactSaveService.this, message, Toast.LENGTH_LONG).show();