Home
last modified time | relevance | path

Searched refs:ContactSaveService (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java85 public class ContactSaveService extends IntentService { class
208 public ContactSaveService() { in ContactSaveService() method in ContactSaveService
224 + " receive callback from " + ContactSaveService.class.getName()); in registerListener()
373 context, ContactSaveService.class); in createNewRawContactIntent()
374 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT); in createNewRawContactIntent()
376 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name); in createNewRawContactIntent()
377 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type); in createNewRawContactIntent()
378 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet); in createNewRawContactIntent()
381 ContactSaveService.EXTRA_CONTENT_VALUES, values); in createNewRawContactIntent()
388 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createNewRawContactIntent()
[all …]
DAppCompatContactsActivity.java37 implements ContactSaveService.Listener {
80 ContactSaveService.registerListener(this); in onCreate()
86 ContactSaveService.unregisterListener(this); in onDestroy()
DContactsActivity.java35 implements ContactSaveService.Listener
79 ContactSaveService.registerListener(this); in onCreate()
85 ContactSaveService.unregisterListener(this); in onDestroy()
/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java67 final ContactSaveService.GroupsDao sut = createDao(); in test_createGroup_createsGroupWithCorrectTitle()
75 final ContactSaveService.GroupsDao sut = createDao(); in test_deleteEmptyGroup_marksRowDeleted()
91 final ContactSaveService.GroupsDao sut = createDao(); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
104 final ContactSaveService.GroupsDao sut = createDao(); in test_deleteNonEmptyGroup_removesGroupAndMembers()
130 final ContactSaveService.GroupsDao sut = createDao(); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
158 final ContactSaveService.GroupsDao sut = createDao(); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle()
169 final ContactSaveService.GroupsDao sut = createDao(); in test_captureUndoDataForNonExistentGroup_returnsEmptyBundle()
183 final ContactSaveService.GroupsDao sut = createDao(); in test_undoWithEmptyBundle_doesNothing()
191 final ContactSaveService.GroupsDao sut = createDao(); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup()
195 undoData.remove(ContactSaveService.GroupsDaoImpl.KEY_GROUP_MEMBERS); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java8 import com.android.contacts.ContactSaveService;
77 final Intent intent = ContactSaveService.createSaveContactIntent( in addToDefaultGroup()
82 ContactSaveService.startService(context, intent); in addToDefaultGroup()
DDirectoryContactUtil.java25 import com.android.contacts.ContactSaveService;
53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy()
DQuickContactActivity.java102 import com.android.contacts.ContactSaveService;
490 final Intent setIntent = ContactSaveService.createSetSuperPrimaryIntent(this, in onContextItemSelected()
495 final Intent clearIntent = ContactSaveService.createClearPrimaryIntent(this, in onContextItemSelected()
639 intentFilter.addAction(ContactSaveService.BROADCAST_LINK_COMPLETE); in onCreate()
640 intentFilter.addAction(ContactSaveService.BROADCAST_UNLINK_COMPLETE); in onCreate()
794 Intent intent = ContactSaveService.createSetRingtone( in onRingtonePicked()
2204 final Intent intent = ContactSaveService.createSetStarredIntent( in toggleStar()
2483 final Intent intent = ContactSaveService.createSetSendToVoicemail(
2525 final Intent intent = ContactSaveService.createJoinContactsIntent( in joinAggregate()
2573 if (ContactSaveService.getState().isActionPending( in maybeShowProgressDialog()
[all …]
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java42 import com.android.contacts.ContactSaveService;
259 serviceIntent = ContactSaveService.createNewGroupIntent(getActivity(), mAccount, in maybePersistCurrentGroupName()
262 serviceIntent = ContactSaveService.createGroupRenameIntent(getActivity(), mGroupId, in maybePersistCurrentGroupName()
265 ContactSaveService.startService(getActivity(), serviceIntent); in maybePersistCurrentGroupName()
DUpdateGroupMembersAsyncTask.java28 import com.android.contacts.ContactSaveService;
79 return ContactSaveService.createGroupUpdateIntent( in doInBackground()
DGroupMembersFragment.java50 import com.android.contacts.ContactSaveService;
596 final Intent intent = ContactSaveService.createGroupDeletionIntent( in deleteGroup()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupDeletionDialogFragment.java25 import com.android.contacts.ContactSaveService;
69 activity.startService(ContactSaveService.createGroupDeletionIntent(
DContactDeletionInteraction.java39 import com.android.contacts.ContactSaveService;
348 mContext.startService(ContactSaveService.createDeleteContactIntent(mContext, contactUri)); in doDeleteContact()
DContactMultiDeletionInteraction.java35 import com.android.contacts.ContactSaveService;
314 mContext.startService(ContactSaveService.createDeleteMultipleContactsIntent(mContext, in doDeleteContact()
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java17 import com.android.contacts.ContactSaveService;
252 final Intent intent = ContactSaveService.createJoinContactsIntent( in onActivityResult()
263 final Intent intent = ContactSaveService.createHardSplitContactIntent(this, rawContactIds); in onSplitContactConfirmed()
DAttachPhotoActivity.java40 import com.android.contacts.ContactSaveService;
343 Intent intent = ContactSaveService.createSaveContactIntent( in saveToContact()
352 ContactSaveService.startService(this, intent); in saveToContact()
DPeopleActivity.java61 import com.android.contacts.ContactSaveService;
632 new IntentFilter(ContactSaveService.BROADCAST_GROUP_DELETED)); in onResume()
910 if (!ContactSaveService.canUndo(intent)) return; in onGroupDeleted()
923 ContactSaveService.startService(PeopleActivity.this, in onGroupDeleted()
924 ContactSaveService.createUndoIntent(PeopleActivity.this, intent)); in onGroupDeleted()
939 case ContactSaveService.BROADCAST_GROUP_DELETED: in onReceive()
DContactEditorActivity.java33 import com.android.contacts.ContactSaveService;
397 intent.getBooleanExtra(ContactSaveService.EXTRA_SAVE_SUCCEEDED, false), in onNewIntent()
/packages/apps/Contacts/
Dproguard.flags23 -keep class com.android.contacts.ContactSaveService { *; }
24 -keep class com.android.contacts.ContactSaveService$* { *; }
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java62 import com.android.contacts.ContactSaveService;
1692 final Intent intent = ContactSaveService.createSaveContactIntent(mContext, mState, in doSaveAction()
1701 final boolean result = ContactSaveService.startService( in startSaveService()
1717 final Intent intent = ContactSaveService.createJoinContactsIntent( in joinAggregate()
/packages/apps/Contacts/src/com/android/contacts/list/
DDefaultContactBrowseListFragment.java59 import com.android.contacts.ContactSaveService;
1136 final Intent intent = ContactSaveService.createJoinSeveralContactsIntent( in joinSelectedContacts()