/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 85 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 …]
|
D | AppCompatContactsActivity.java | 37 implements ContactSaveService.Listener { 80 ContactSaveService.registerListener(this); in onCreate() 86 ContactSaveService.unregisterListener(this); in onDestroy()
|
D | ContactsActivity.java | 35 implements ContactSaveService.Listener 79 ContactSaveService.registerListener(this); in onCreate() 85 ContactSaveService.unregisterListener(this); in onDestroy()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | GroupsDaoIntegrationTests.java | 67 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/ |
D | InvisibleContactUtil.java | 8 import com.android.contacts.ContactSaveService; 77 final Intent intent = ContactSaveService.createSaveContactIntent( in addToDefaultGroup() 82 ContactSaveService.startService(context, intent); in addToDefaultGroup()
|
D | DirectoryContactUtil.java | 25 import com.android.contacts.ContactSaveService; 53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy()
|
D | QuickContactActivity.java | 102 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/ |
D | GroupNameEditDialogFragment.java | 42 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()
|
D | UpdateGroupMembersAsyncTask.java | 28 import com.android.contacts.ContactSaveService; 79 return ContactSaveService.createGroupUpdateIntent( in doInBackground()
|
D | GroupMembersFragment.java | 50 import com.android.contacts.ContactSaveService; 596 final Intent intent = ContactSaveService.createGroupDeletionIntent( in deleteGroup()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupDeletionDialogFragment.java | 25 import com.android.contacts.ContactSaveService; 69 activity.startService(ContactSaveService.createGroupDeletionIntent(
|
D | ContactDeletionInteraction.java | 39 import com.android.contacts.ContactSaveService; 348 mContext.startService(ContactSaveService.createDeleteContactIntent(mContext, contactUri)); in doDeleteContact()
|
D | ContactMultiDeletionInteraction.java | 35 import com.android.contacts.ContactSaveService; 314 mContext.startService(ContactSaveService.createDeleteMultipleContactsIntent(mContext, in doDeleteContact()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorSpringBoardActivity.java | 17 import com.android.contacts.ContactSaveService; 252 final Intent intent = ContactSaveService.createJoinContactsIntent( in onActivityResult() 263 final Intent intent = ContactSaveService.createHardSplitContactIntent(this, rawContactIds); in onSplitContactConfirmed()
|
D | AttachPhotoActivity.java | 40 import com.android.contacts.ContactSaveService; 343 Intent intent = ContactSaveService.createSaveContactIntent( in saveToContact() 352 ContactSaveService.startService(this, intent); in saveToContact()
|
D | PeopleActivity.java | 61 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()
|
D | ContactEditorActivity.java | 33 import com.android.contacts.ContactSaveService; 397 intent.getBooleanExtra(ContactSaveService.EXTRA_SAVE_SUCCEEDED, false), in onNewIntent()
|
/packages/apps/Contacts/ |
D | proguard.flags | 23 -keep class com.android.contacts.ContactSaveService { *; } 24 -keep class com.android.contacts.ContactSaveService$* { *; }
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 62 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/ |
D | DefaultContactBrowseListFragment.java | 59 import com.android.contacts.ContactSaveService; 1136 final Intent intent = ContactSaveService.createJoinSeveralContactsIntent( in joinSelectedContacts()
|