Home | History | Annotate | Download | only in contacts

Lines Matching refs:ContactSaveService

74 public class ContactSaveService extends IntentService {
75 private static final String TAG = "ContactSaveService";
155 public ContactSaveService() {
164 + " receive callback from " + ContactSaveService.class.getName());
229 context, ContactSaveService.class);
230 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT);
232 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
233 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
234 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
237 ContactSaveService.EXTRA_CONTENT_VALUES, values);
244 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
316 context, ContactSaveService.class);
317 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT);
331 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
552 Intent serviceIntent = new Intent(context, ContactSaveService.class);
553 serviceIntent.setAction(ContactSaveService.ACTION_CREATE_GROUP);
554 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type);
555 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name);
556 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet);
557 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, label);
558 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
564 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
615 Intent serviceIntent = new Intent(context, ContactSaveService.class);
616 serviceIntent.setAction(ContactSaveService.ACTION_RENAME_GROUP);
617 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
618 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
623 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
651 Intent serviceIntent = new Intent(context, ContactSaveService.class);
652 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_GROUP);
653 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
686 Intent serviceIntent = new Intent(context, ContactSaveService.class);
687 serviceIntent.setAction(ContactSaveService.ACTION_UPDATE_GROUP);
688 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_ID, groupId);
689 serviceIntent.putExtra(ContactSaveService.EXTRA_GROUP_LABEL, newLabel);
690 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_ADD, rawContactsToAdd);
691 serviceIntent.putExtra(ContactSaveService.EXTRA_RAW_CONTACTS_TO_REMOVE,
697 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
804 Intent serviceIntent = new Intent(context, ContactSaveService.class);
805 serviceIntent.setAction(ContactSaveService.ACTION_SET_STARRED);
806 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
807 serviceIntent.putExtra(ContactSaveService.EXTRA_STARRED_FLAG, value);
850 Intent serviceIntent = new Intent(context, ContactSaveService.class);
851 serviceIntent.setAction(ContactSaveService.ACTION_SET_SEND_TO_VOICEMAIL);
852 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
853 serviceIntent.putExtra(ContactSaveService.EXTRA_SEND_TO_VOICEMAIL_FLAG, value);
876 Intent serviceIntent = new Intent(context, ContactSaveService.class);
877 serviceIntent.setAction(ContactSaveService.ACTION_SET_RINGTONE);
878 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
879 serviceIntent.putExtra(ContactSaveService.EXTRA_CUSTOM_RINGTONE, value);
900 Intent serviceIntent = new Intent(context, ContactSaveService.class);
901 serviceIntent.setAction(ContactSaveService.ACTION_SET_SUPER_PRIMARY);
902 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
922 Intent serviceIntent = new Intent(context, ContactSaveService.class);
923 serviceIntent.setAction(ContactSaveService.ACTION_CLEAR_PRIMARY);
924 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_ID, dataId);
948 Intent serviceIntent = new Intent(context, ContactSaveService.class);
949 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_CONTACT);
950 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_URI, contactUri);
970 Intent serviceIntent = new Intent(context, ContactSaveService.class);
971 serviceIntent.setAction(ContactSaveService.ACTION_JOIN_CONTACTS);
972 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID1, contactId1);
973 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_ID2, contactId2);
974 serviceIntent.putExtra(ContactSaveService.EXTRA_CONTACT_WRITABLE, contactWritable);
979 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent);
1125 Toast.makeText(ContactSaveService.this, message, Toast.LENGTH_LONG).show();