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 …]
DContactsActivity.java35 implements ContactSaveService.Listener
79 ContactSaveService.registerListener(this); in onCreate()
85 ContactSaveService.unregisterListener(this); in onDestroy()
DAppCompatContactsActivity.java37 implements ContactSaveService.Listener {
80 ContactSaveService.registerListener(this); in onCreate()
86 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()
DQuickContactActivity.java105 import com.android.contacts.ContactSaveService;
576 final Intent setIntent = ContactSaveService.createSetSuperPrimaryIntent(this, in onContextItemSelected()
581 final Intent clearIntent = ContactSaveService.createClearPrimaryIntent(this, in onContextItemSelected()
754 intentFilter.addAction(ContactSaveService.BROADCAST_LINK_COMPLETE); in onCreate()
755 intentFilter.addAction(ContactSaveService.BROADCAST_UNLINK_COMPLETE); in onCreate()
953 Intent intent = ContactSaveService.createSetRingtone( in onRingtonePicked()
2665 final Intent intent = ContactSaveService.createSetStarredIntent( in toggleStar()
2949 final Intent intent = ContactSaveService.createSetSendToVoicemail( in onOptionsItemSelected()
2991 final Intent intent = ContactSaveService.createJoinContactsIntent( in joinAggregate()
3039 if (ContactSaveService.getState().isActionPending( in maybeShowProgressDialog()
[all …]
DDirectoryContactUtil.java25 import com.android.contacts.ContactSaveService;
53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java42 import com.android.contacts.ContactSaveService;
250 serviceIntent = ContactSaveService.createNewGroupIntent(getActivity(), mAccount, in maybePersistCurrentGroupName()
253 serviceIntent = ContactSaveService.createGroupRenameIntent(getActivity(), mGroupId, in maybePersistCurrentGroupName()
256 ContactSaveService.startService(getActivity(), serviceIntent); in maybePersistCurrentGroupName()
DUpdateGroupMembersAsyncTask.java28 import com.android.contacts.ContactSaveService;
79 return ContactSaveService.createGroupUpdateIntent( in doInBackground()
DGroupMembersFragment.java51 import com.android.contacts.ContactSaveService;
604 final Intent intent = ContactSaveService.createGroupDeletionIntent( in deleteGroup()
/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()
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()
DAttachPhotoActivity.java40 import com.android.contacts.ContactSaveService;
343 Intent intent = ContactSaveService.createSaveContactIntent( in saveToContact()
352 ContactSaveService.startService(this, intent); in saveToContact()
DContactEditorActivity.java33 import com.android.contacts.ContactSaveService;
415 intent.getBooleanExtra(ContactSaveService.EXTRA_SAVE_SUCCEEDED, false), in onNewIntent()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupDeletionDialogFragment.java25 import com.android.contacts.ContactSaveService;
69 activity.startService(ContactSaveService.createGroupDeletionIntent(
DContactMultiDeletionInteraction.java35 import com.android.contacts.ContactSaveService;
314 mContext.startService(ContactSaveService.createDeleteMultipleContactsIntent(mContext, in doDeleteContact()
DContactDeletionInteraction.java39 import com.android.contacts.ContactSaveService;
348 mContext.startService(ContactSaveService.createDeleteContactIntent(mContext, contactUri)); in doDeleteContact()
/packages/apps/Contacts/
Dproguard.flags18 -keep class com.android.contacts.ContactSaveService { *; }
19 -keep class com.android.contacts.ContactSaveService$* { *; }
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java59 import com.android.contacts.ContactSaveService;
1644 final Intent intent = ContactSaveService.createSaveContactIntent(mContext, mState, in doSaveAction()
1653 final boolean result = ContactSaveService.startService( in startSaveService()
1669 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()