Home
last modified time | relevance | path

Searched refs:contacts (Results 1 – 25 of 838) sorted by relevance

12345678910>>...34

/packages/apps/Contacts/
Dproguard.flags1 -keep class com.android.contacts.model.Sources {
13 -keep class com.android.contacts.compat.CompatUtils { *; }
14 -keep class com.android.contacts.Collapser { *; }
15 -keep class com.android.contacts.ContactPhotoManager { *; }
16 -keep class com.android.contacts.ContactsApplication { *; }
17 -keep class com.android.contacts.ContactsUtils { *; }
18 -keep class com.android.contacts.ContactSaveService { *; }
19 -keep class com.android.contacts.ContactSaveService$* { *; }
20 -keep class com.android.contacts.database.NoNullCursorAsyncQueryHandler { *; }
21 -keep class com.android.contacts.database.SimContactDao { *; }
[all …]
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDaoImpl.java16 package com.android.contacts.database;
43 import com.android.contacts.R;
44 import com.android.contacts.compat.CompatUtils;
45 import com.android.contacts.model.SimCard;
46 import com.android.contacts.model.SimContact;
47 import com.android.contacts.model.account.AccountWithDataSet;
48 import com.android.contacts.util.PermissionsUtil;
49 import com.android.contacts.util.SharedPreferenceUtil;
146 public ContentProviderResult[] importContacts(List<SimContact> contacts, in importContacts() argument
149 if (contacts.size() < IMPORT_MAX_BATCH_SIZE) { in importContacts()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java16 package com.android.contacts.database;
20 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasEmail;
21 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasName;
22 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasPhone;
23 import static com.android.contacts.tests.ContactsMatchers.isSimContactWithNameAndPhone;
58 import com.android.contacts.model.SimCard;
59 import com.android.contacts.model.SimContact;
60 import com.android.contacts.model.account.AccountWithDataSet;
61 import com.android.contacts.test.mocks.MockContentProvider;
62 import com.android.contacts.tests.AccountsTestHelper;
[all …]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql15 CREATE TABLE contacts (_id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES… table
17 …metadata_dirty INTEGER NOT NULL DEFAULT 0,contact_id INTEGER REFERENCES contacts(_id),aggregation_…
117 CREATE INDEX contacts_has_phone_index ON contacts (has_phone_number);
118 CREATE INDEX contacts_name_raw_contact_id_index ON contacts (name_raw_contact_id);
119 CREATE INDEX contacts_contact_last_updated_timestamp_index ON contacts(contact_last_updated_timesta…
139contacts.custom_ringtone AS custom_ringtone,contacts.send_to_voicemail AS send_to_voicemail,contac…
141contacts._id AS _id,contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_sou…
143contacts.custom_ringtone AS custom_ringtone, name_raw_contact.display_name_source AS display_name_…
145contacts._id AS contact_id, contacts.lookup AS contact_lookup, accounts.account_name, accounts.acc…
149 … WHERE contact_id=OLD.contact_id )=1; DELETE FROM contacts WHERE _id=OLD…
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java17 package com.android.contacts.activities;
60 import com.android.contacts.AppCompatContactsActivity;
61 import com.android.contacts.ContactSaveService;
62 import com.android.contacts.R;
63 import com.android.contacts.compat.CompatUtils;
64 import com.android.contacts.drawer.DrawerFragment;
65 import com.android.contacts.drawer.DrawerFragment.DrawerFragmentListener;
66 import com.android.contacts.editor.ContactEditorFragment;
67 import com.android.contacts.editor.SelectAccountDialogFragment;
68 import com.android.contacts.group.GroupListItem;
[all …]
DContactSelectionActivity.java17 package com.android.contacts.activities;
40 import com.android.contacts.AppCompatContactsActivity;
41 import com.android.contacts.R;
42 import com.android.contacts.editor.EditorIntents;
43 import com.android.contacts.list.ContactEntryListFragment;
44 import com.android.contacts.list.ContactPickerFragment;
45 import com.android.contacts.list.ContactsIntentResolver;
46 import com.android.contacts.list.ContactsRequest;
47 import com.android.contacts.list.DirectoryListLoader;
48 import com.android.contacts.list.EmailAddressPickerFragment;
[all …]
DContactEditorSpringBoardActivity.java1 package com.android.contacts.activities;
16 import com.android.contacts.AppCompatContactsActivity;
17 import com.android.contacts.ContactSaveService;
18 import com.android.contacts.R;
19 import com.android.contacts.editor.ContactEditorFragment;
20 import com.android.contacts.editor.EditorIntents;
21 import com.android.contacts.editor.PickRawContactDialogFragment;
22 import com.android.contacts.editor.PickRawContactLoader;
23 import com.android.contacts.editor.PickRawContactLoader.RawContactsMetadata;
24 import com.android.contacts.editor.SplitContactConfirmationDialogFragment;
[all …]
DAttachPhotoActivity.java17 package com.android.contacts.activities;
40 import com.android.contacts.ContactSaveService;
41 import com.android.contacts.ContactsActivity;
42 import com.android.contacts.ContactsUtils;
43 import com.android.contacts.R;
44 import com.android.contacts.editor.ContactEditorUtils;
45 import com.android.contacts.model.AccountTypeManager;
46 import com.android.contacts.model.Contact;
47 import com.android.contacts.model.ContactLoader;
48 import com.android.contacts.model.RawContactDelta;
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java18 package com.android.contacts.quickcontact;
101 import com.android.contacts.CallUtil;
102 import com.android.contacts.ClipboardUtils;
103 import com.android.contacts.Collapser;
104 import com.android.contacts.ContactSaveService;
105 import com.android.contacts.ContactsActivity;
106 import com.android.contacts.ContactsUtils;
107 import com.android.contacts.DynamicShortcuts;
108 import com.android.contacts.NfcHandler;
109 import com.android.contacts.R;
[all …]
DInvisibleContactUtil.java1 package com.android.contacts.quickcontact;
8 import com.android.contacts.ContactSaveService;
9 import com.android.contacts.group.GroupMetaData;
10 import com.android.contacts.model.AccountTypeManager;
11 import com.android.contacts.model.Contact;
12 import com.android.contacts.model.RawContact;
13 import com.android.contacts.model.RawContactDelta;
14 import com.android.contacts.model.RawContactDeltaList;
15 import com.android.contacts.model.RawContactModifier;
16 import com.android.contacts.model.ValuesDelta;
[all …]
DDataAction.java17 package com.android.contacts.quickcontact;
32 import com.android.contacts.CallUtil;
33 import com.android.contacts.ContactsUtils;
34 import com.android.contacts.MoreContactUtils;
35 import com.android.contacts.R;
36 import com.android.contacts.model.account.AccountType.EditType;
37 import com.android.contacts.model.dataitem.DataItem;
38 import com.android.contacts.model.dataitem.DataKind;
39 import com.android.contacts.model.dataitem.EmailDataItem;
40 import com.android.contacts.model.dataitem.ImDataItem;
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactDialogFragment.java1 package com.android.contacts.editor;
19 import com.android.contacts.ContactPhotoManager;
20 import com.android.contacts.R;
21 import com.android.contacts.activities.ContactSelectionActivity;
22 import com.android.contacts.editor.PickRawContactLoader.RawContact;
23 import com.android.contacts.editor.PickRawContactLoader.RawContactsMetadata;
24 import com.android.contacts.list.UiIntentActions;
25 import com.android.contacts.logging.EditorEvent;
26 import com.android.contacts.logging.Logger;
27 import com.android.contacts.model.AccountTypeManager;
[all …]
DContactEditorFragment.java17 package com.android.contacts.editor;
59 import com.android.contacts.ContactSaveService;
60 import com.android.contacts.GroupMetaDataLoader;
61 import com.android.contacts.R;
62 import com.android.contacts.activities.ContactEditorAccountsChangedActivity;
63 import com.android.contacts.activities.ContactEditorActivity;
64 import com.android.contacts.activities.ContactEditorActivity.ContactEditor;
65 import com.android.contacts.activities.ContactSelectionActivity;
66 import com.android.contacts.activities.RequestPermissionsActivity;
67 import com.android.contacts.editor.AggregationSuggestionEngine.Suggestion;
[all …]
DEditorUiUtils.java17 package com.android.contacts.editor;
22 import static com.android.contacts.util.MaterialColorMapUtils.getDefaultPrimaryAndSecondaryColors;
47 import com.android.contacts.ContactPhotoManager;
48 import com.android.contacts.ContactPhotoManager.DefaultImageProvider;
49 import com.android.contacts.ContactPhotoManager.DefaultImageRequest;
50 import com.android.contacts.ContactsUtils;
51 import com.android.contacts.R;
52 import com.android.contacts.model.ValuesDelta;
53 import com.android.contacts.model.account.AccountDisplayInfo;
54 import com.android.contacts.model.account.AccountInfo;
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountFilterUtil.java17 package com.android.contacts.util;
36 import com.android.contacts.R;
37 import com.android.contacts.activities.ContactEditorActivity;
38 import com.android.contacts.list.AccountFilterActivity;
39 import com.android.contacts.list.ContactListFilter;
40 import com.android.contacts.list.ContactListFilterController;
41 import com.android.contacts.model.AccountTypeManager;
42 import com.android.contacts.model.Contact;
43 import com.android.contacts.model.account.AccountDisplayInfo;
44 import com.android.contacts.model.account.AccountDisplayInfoFactory;
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DPeopleActivityTest.java17 package com.android.contacts.activities;
30 import com.android.contacts.ContactPhotoManager;
31 import com.android.contacts.ContactsApplication;
32 import com.android.contacts.model.AccountTypeManager;
33 import com.android.contacts.model.account.AccountType;
34 import com.android.contacts.model.account.AccountWithDataSet;
35 import com.android.contacts.model.account.BaseAccountType;
36 import com.android.contacts.test.mocks.ContactsMockContext;
37 import com.android.contacts.test.mocks.MockAccountTypeManager;
38 import com.android.contacts.test.mocks.MockContactPhotoManager;
[all …]
DSimImportActivityTest.java16 package com.android.contacts.activities;
18 import static com.android.contacts.tests.ContactsMatchers.DataCursor.hasMimeType;
19 import static com.android.contacts.tests.ContactsMatchers.hasRowMatching;
20 import static com.android.contacts.tests.ContactsMatchers.hasValueForColumn;
53 import com.android.contacts.SimImportService;
54 import com.android.contacts.database.SimContactDao;
55 import com.android.contacts.database.SimContactDaoImpl;
56 import com.android.contacts.model.SimCard;
57 import com.android.contacts.model.SimContact;
58 import com.android.contacts.model.account.AccountWithDataSet;
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactDeletionInteractionTest.java17 package com.android.contacts.interactions;
26 import com.android.contacts.ContactsApplication;
27 import com.android.contacts.R;
28 import com.android.contacts.model.AccountTypeManager;
29 import com.android.contacts.model.account.AccountType;
30 import com.android.contacts.model.account.BaseAccountType;
31 import com.android.contacts.test.FragmentTestActivity;
32 import com.android.contacts.test.IntegrationTestUtils;
33 import com.android.contacts.test.mocks.ContactsMockContext;
34 import com.android.contacts.test.mocks.MockAccountTypeManager;
[all …]
/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java17 package com.android.contacts.interactions;
37 import com.android.contacts.R;
38 import com.android.contacts.activities.SimImportActivity;
39 import com.android.contacts.compat.CompatUtils;
40 import com.android.contacts.compat.PhoneNumberUtilsCompat;
41 import com.android.contacts.database.SimContactDao;
42 import com.android.contacts.editor.SelectAccountDialogFragment;
43 import com.android.contacts.model.AccountTypeManager;
44 import com.android.contacts.model.SimCard;
45 import com.android.contacts.model.SimContact;
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DFakeSimContactDao.java16 package com.android.contacts.tests;
22 import com.android.contacts.database.SimContactDao;
23 import com.android.contacts.model.SimCard;
24 import com.android.contacts.model.SimContact;
25 import com.android.contacts.model.account.AccountWithDataSet;
68 public ContentProviderResult[] importContacts(List<SimContact> contacts, in importContacts() argument
94 List<SimContact> contacts) { in findAccountsOfExistingSimContacts() argument
98 public FakeSimContactDao addSim(SimCard sim, SimContact... contacts) { in addSim() argument
100 simContacts.put(sim, new ArrayList<>(Arrays.asList(contacts))); in addSim()
104 public static FakeSimContactDao singleSimWithContacts(SimCard sim, SimContact... contacts) { in singleSimWithContacts() argument
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java17 package com.android.providers.contacts;
19 import static com.android.providers.contacts.TestUtils.createDatabaseSnapshot;
20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.executeSqlFromAssetFile;
47 import com.android.providers.contacts.ContactsDatabaseHelper.AccountsColumns;
48 import com.android.providers.contacts.ContactsDatabaseHelper.AggregatedPresenceColumns;
49 import com.android.providers.contacts.ContactsDatabaseHelper.AggregationExceptionColumns;
50 import com.android.providers.contacts.ContactsDatabaseHelper.ContactsColumns;
51 import com.android.providers.contacts.ContactsDatabaseHelper.DataColumns;
52 import com.android.providers.contacts.ContactsDatabaseHelper.DataUsageStatColumns;
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java16 package com.android.providers.contacts;
34 import com.android.providers.contacts.util.PropertyUtils;
283 final SQLiteDatabase contacts = getContactsWritableDatabaseForMigration(); in migrateFromLegacyTables() local
285 if (contacts == null) { in migrateFromLegacyTables()
299 contacts.beginTransaction(); in migrateFromLegacyTables()
301 if (!tableExists(contacts, LegacyConstants.CALLS_LEGACY) in migrateFromLegacyTables()
302 || !tableExists(contacts, LegacyConstants.VOICEMAIL_STATUS_LEGACY)) { in migrateFromLegacyTables()
312 try (Cursor source = contacts.rawQuery( in migrateFromLegacyTables()
323 try (Cursor source = contacts.rawQuery("SELECT * FROM " + in migrateFromLegacyTables()
334 contacts.execSQL("DROP TABLE " + LegacyConstants.CALLS_LEGACY + ";"); in migrateFromLegacyTables()
[all …]
/packages/apps/Contacts/src/com/android/contacts/preference/
DDisplayOptionsPreferenceFragment.java17 package com.android.contacts.preference;
46 import com.android.contacts.ContactsUtils;
47 import com.android.contacts.R;
48 import com.android.contacts.SimImportService;
49 import com.android.contacts.compat.TelecomManagerUtil;
50 import com.android.contacts.compat.TelephonyManagerCompat;
51 import com.android.contacts.interactions.ExportDialogFragment;
52 import com.android.contacts.interactions.ImportDialogFragment;
53 import com.android.contacts.list.ContactListFilter;
54 import com.android.contacts.list.ContactListFilterController;
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DSimImportFragment.java16 package com.android.contacts;
44 import com.android.contacts.compat.CompatUtils;
45 import com.android.contacts.database.SimContactDao;
46 import com.android.contacts.editor.AccountHeaderPresenter;
47 import com.android.contacts.model.AccountTypeManager;
48 import com.android.contacts.model.SimCard;
49 import com.android.contacts.model.SimContact;
50 import com.android.contacts.model.account.AccountInfo;
51 import com.android.contacts.model.account.AccountWithDataSet;
52 import com.android.contacts.preference.ContactsPreferences;
[all …]
DSimImportService.java16 package com.android.contacts;
33 import com.android.contacts.activities.PeopleActivity;
34 import com.android.contacts.database.SimContactDao;
35 import com.android.contacts.model.SimCard;
36 import com.android.contacts.model.SimContact;
37 import com.android.contacts.model.account.AccountWithDataSet;
38 import com.android.contacts.util.ContactsNotificationChannelsUtil;
140 ArrayList<SimContact> contacts, AccountWithDataSet targetAccount) { in startImport() argument
142 .putExtra(EXTRA_SIM_CONTACTS, contacts) in startImport()
176 final ArrayList<SimContact> contacts = in createTaskForIntent() local
[all …]

12345678910>>...34