Home | History | Annotate | Download | only in contacts

Lines Matching refs:ContactSaveService

75 public class ContactSaveService extends IntentService {
76 private static final String TAG = "ContactSaveService";
156 public ContactSaveService() {
165 + " receive callback from " + ContactSaveService.class.getName());
232 context, ContactSaveService.class);
233 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT);
235 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
236 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
237 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
240 ContactSaveService.EXTRA_CONTENT_VALUES, values);
247 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
319 context, ContactSaveService.class);
320 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT);
334 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
544 Intent serviceIntent = new Intent(context, ContactSaveService.class);
545 serviceIntent.setAction(ContactSaveService.ACTION_CREATE_GROUP);
546 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
547 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
548 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
549 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, label);
550 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
556 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
607 Intent serviceIntent = new Intent(context, ContactSaveService.class);
608 serviceIntent.setAction(ContactSaveService.ACTION_RENAME_GROUP);
609 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
610 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
615 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
643 Intent serviceIntent = new Intent(context, ContactSaveService.class);
644 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_GROUP);
645 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
678 Intent serviceIntent = new Intent(context, ContactSaveService.class);
679 serviceIntent.setAction(ContactSaveService.ACTION_UPDATE_GROUP);
680 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
681 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
682 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
683 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_REMOVE,
689 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
796 Intent serviceIntent = new Intent(context, ContactSaveService.class);
797 serviceIntent.setAction(ContactSaveService.ACTION_SET_STARRED);
798 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
799 serviceIntent.putExtra(ContactSaveService.EXTRA_STARRED_FLAG, value);
840 Intent serviceIntent = new Intent(context, ContactSaveService.class);
841 serviceIntent.setAction(ContactSaveService.ACTION_SET_SEND_TO_VOICEMAIL);
842 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
843 serviceIntent.putExtra(ContactSaveService.EXTRA_SEND_TO_VOICEMAIL_FLAG, value);
866 Intent serviceIntent = new Intent(context, ContactSaveService.class);
867 serviceIntent.setAction(ContactSaveService.ACTION_SET_RINGTONE);
868 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
869 serviceIntent.putExtra(ContactSaveService.EXTRA_CUSTOM_RINGTONE, value);
890 Intent serviceIntent = new Intent(context, ContactSaveService.class);
891 serviceIntent.setAction(ContactSaveService.ACTION_SET_SUPER_PRIMARY);
892 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
912 Intent serviceIntent = new Intent(context, ContactSaveService.class);
913 serviceIntent.setAction(ContactSaveService.ACTION_CLEAR_PRIMARY);
914 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
938 Intent serviceIntent = new Intent(context, ContactSaveService.class);
939 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_CONTACT);
940 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
960 Intent serviceIntent = new Intent(context, ContactSaveService.class);
961 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_CONTACTS);
962 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID1, contactId1);
963 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2);
964 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_WRITABLE, contactWritable);
969 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
1110 Toast.makeText(ContactSaveService.this, message, Toast.LENGTH_LONG).show();