/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 | ContactsActivity.java | 35 implements ContactSaveService.Listener 79 ContactSaveService.registerListener(this); in onCreate() 85 ContactSaveService.unregisterListener(this); in onDestroy()
|
D | AppCompatContactsActivity.java | 37 implements ContactSaveService.Listener { 80 ContactSaveService.registerListener(this); in onCreate() 86 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 | QuickContactActivity.java | 105 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 …]
|
D | DirectoryContactUtil.java | 25 import com.android.contacts.ContactSaveService; 53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupNameEditDialogFragment.java | 42 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()
|
D | UpdateGroupMembersAsyncTask.java | 28 import com.android.contacts.ContactSaveService; 79 return ContactSaveService.createGroupUpdateIntent( in doInBackground()
|
D | GroupMembersFragment.java | 51 import com.android.contacts.ContactSaveService; 604 final Intent intent = ContactSaveService.createGroupDeletionIntent( in deleteGroup()
|
/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 | 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 | AttachPhotoActivity.java | 40 import com.android.contacts.ContactSaveService; 343 Intent intent = ContactSaveService.createSaveContactIntent( in saveToContact() 352 ContactSaveService.startService(this, intent); in saveToContact()
|
D | ContactEditorActivity.java | 33 import com.android.contacts.ContactSaveService; 415 intent.getBooleanExtra(ContactSaveService.EXTRA_SAVE_SUCCEEDED, false), in onNewIntent()
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupDeletionDialogFragment.java | 25 import com.android.contacts.ContactSaveService; 69 activity.startService(ContactSaveService.createGroupDeletionIntent(
|
D | ContactMultiDeletionInteraction.java | 35 import com.android.contacts.ContactSaveService; 314 mContext.startService(ContactSaveService.createDeleteMultipleContactsIntent(mContext, in doDeleteContact()
|
D | ContactDeletionInteraction.java | 39 import com.android.contacts.ContactSaveService; 348 mContext.startService(ContactSaveService.createDeleteContactIntent(mContext, contactUri)); in doDeleteContact()
|
/packages/apps/Contacts/ |
D | proguard.flags | 18 -keep class com.android.contacts.ContactSaveService { *; } 19 -keep class com.android.contacts.ContactSaveService$* { *; }
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | ContactEditorFragment.java | 59 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/ |
D | DefaultContactBrowseListFragment.java | 59 import com.android.contacts.ContactSaveService; 1136 final Intent intent = ContactSaveService.createJoinSeveralContactsIntent( in joinSelectedContacts()
|