/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 56 private MockContentProvider mContactsProvider; field in ContactLoaderTest 62 mContactsProvider = mMockContext.getContactsProvider(); in setUp() 84 mContactsProvider = null; in tearDown() 117 mContactsProvider.expectTypeQuery(baseUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactIdUri() 129 mContactsProvider.verify(); in testLoadContactWithContactIdUri() 161 mContactsProvider.verify(); in testLoadContactWithOldStyleUri() 175 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri() 188 mContactsProvider.verify(); in testLoadContactWithRawContactIdUri() 200 mContactsProvider.expectTypeQuery(lookupNoIdUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactLookupUri() 212 mContactsProvider.verify(); in testLoadContactWithContactLookupUri() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 65 private MockContentProvider mContactsProvider; field in PeopleActivityTest 75 mContactsProvider = mContext.getContactsProvider(); in setUp() 78 mContactsProvider.expectTypeQuery(ContentUris.withAppendedId(Contacts.CONTENT_URI, 1), in setUp() 108 mContactsProvider in expectProviderStatusQueryAndReturnNormal() 116 mContactsProvider in expectGroupsQueryAndReturnEmpty() 131 Query query = mContactsProvider in expectContactListQuery() 148 mContactsProvider.expectTypeQuery(uri, Contacts.CONTENT_ITEM_TYPE); in expectContactLookupQuery() 149 mContactsProvider in expectContactLookupQuery() 165 mContactsProvider in expectContactEntityQuery()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 470 private final ContactsProvider2 mContactsProvider; field in LegacyApiSupport 491 mContactsProvider = contactsProvider; in LegacyApiSupport() 517 mAccount = mContactsProvider.getDefaultAccount(); in ensureDefaultAccount() 833 Uri contactUri = mContactsProvider.insertInTransaction(RawContacts.CONTENT_URI, mValues); in insertPeople() 838 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues2); in insertPeople() 842 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues3); in insertPeople() 853 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertOrganization() 862 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertPhone() 876 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertContactMethod() 888 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertExtension() [all …]
|
D | GlobalSearchSupport.java | 165 private final ContactsProvider2 mContactsProvider; field in GlobalSearchSupport 169 mContactsProvider = contactsProvider; in GlobalSearchSupport() 172 mContactsProvider.getContext().getSystemService(Context.TELEPHONY_SERVICE); in GlobalSearchSupport() 213 contactId = mContactsProvider.lookupContactIdByLookupKey(db, lookupKey); in handleSearchShortcutRefresh() 243 mContactsProvider.appendSearchIndexJoin(sb, filter, true, in addSearchSuggestionsBasedOnFilter()
|
D | SearchIndexManager.java | 242 private final ContactsProvider2 mContactsProvider; field in SearchIndexManager 250 this.mContactsProvider = contactsProvider; in SearchIndexManager() 251 mDbHelper = (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in SearchIndexManager() 278 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex() 285 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_NORMAL); in rebuildIndex() 381 DataRowHandler dataRowHandler = mContactsProvider.getDataRowHandler(mimetype); in buildAndInsertIndex()
|
D | ContactDirectoryManager.java | 103 private final ContactsProvider2 mContactsProvider; field in ContactDirectoryManager 110 mContactsProvider = contactsProvider; in ContactDirectoryManager() 116 return (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in getDbHelper() 248 mContactsProvider.notifyChange(/* syncToNetwork =*/false, in scanAllPackagesIfNeeded() 254 mContactsProvider.scheduleRescanDirectories(); in scanAllPackagesIfNeeded() 468 mContactsProvider.resetDirectoryCache(); in updateDirectoriesForPackage()
|
D | ContactMetadataProvider.java | 91 private ContactsProvider2 mContactsProvider; field in ContactMetadataProvider 103 mContactsProvider = (ContactsProvider2) provider; in onCreate() 397 mContactsProvider.updateFromMetaDataEntry(db, metadataEntry); in updateOrInsertDataToMetadataSync()
|
/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/ |
D | ContactsMockContext.java | 36 private MockContentProvider mContactsProvider; field in ContactsMockContext 48 mContactsProvider = new MockContentProvider(); in ContactsMockContext() 49 mContentResolver.addProvider(authority, mContactsProvider); in ContactsMockContext() 60 return mContactsProvider; in getContactsProvider() 91 mContactsProvider.verify(); in verify()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactDeletionInteractionTest.java | 60 private MockContentProvider mContactsProvider; field in ContactDeletionInteractionTest 99 mContactsProvider = mContext.getContactsProvider(); in setUp() 134 return mContactsProvider.expectQuery(ENTITY_URI).withProjection( in expectQuery()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/ |
D | AbstractContactAggregator.java | 145 protected final ContactsProvider2 mContactsProvider; field in AbstractContactAggregator 278 mContactsProvider = contactsProvider; in AbstractContactAggregator() 1430 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData() 1723 int thumbDim = mContactsProvider.getMaxThumbnailDim(); in getPhotoMetadata() 1796 mContactsProvider.isWritableAccountWithDataSet(accountTypeAndDataSet), in updateDisplayNameForContact() 2004 mContactsProvider.appendContactFilterAsNestedQuery(sb, filter); in queryMatchingContacts()
|