/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/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() 157 mContactsProvider.verify(); in testLoadContactWithOldStyleUri() 171 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri() 184 mContactsProvider.verify(); in testLoadContactWithRawContactIdUri() 196 mContactsProvider.expectTypeQuery(lookupNoIdUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactLookupUri() 208 mContactsProvider.verify(); in testLoadContactWithContactLookupUri() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 501 private final ContactsProvider2 mContactsProvider; field in LegacyApiSupport 522 mContactsProvider = contactsProvider; in LegacyApiSupport() 548 mAccount = mContactsProvider.getDefaultAccount(); in ensureDefaultAccount() 862 Uri contactUri = mContactsProvider.insertInTransaction(RawContacts.CONTENT_URI, mValues); in insertPeople() 867 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues2); in insertPeople() 871 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues3); in insertPeople() 882 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertOrganization() 891 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertPhone() 905 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertContactMethod() 917 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertExtension() [all …]
|
D | SearchIndexManager.java | 238 private final ContactsProvider2 mContactsProvider; field in SearchIndexManager 246 this.mContactsProvider = contactsProvider; in SearchIndexManager() 247 mDbHelper = (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in SearchIndexManager() 274 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex() 281 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_NORMAL); in rebuildIndex() 377 DataRowHandler dataRowHandler = mContactsProvider.getDataRowHandler(mimetype); in buildAndInsertIndex()
|
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 | ContactDirectoryManager.java | 100 private final ContactsProvider2 mContactsProvider; field in ContactDirectoryManager 105 mContactsProvider = contactsProvider; in ContactDirectoryManager() 111 return (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in getDbHelper() 197 mContactsProvider.notifyChange(false); in scanAllPackagesIfNeeded() 414 mContactsProvider.resetDirectoryCache(); in updateDirectoriesForPackage()
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 74 private MockContentProvider mContactsProvider; field in PeopleActivityTest 84 mContactsProvider = mContext.getContactsProvider(); in setUp() 87 mContactsProvider.expectTypeQuery(ContentUris.withAppendedId(Contacts.CONTENT_URI, 1), in setUp() 117 mContactsProvider in expectProviderStatusQueryAndReturnNormal() 125 mContactsProvider in expectGroupsQueryAndReturnEmpty() 140 Query query = mContactsProvider in expectContactListQuery() 157 mContactsProvider.expectTypeQuery(uri, Contacts.CONTENT_ITEM_TYPE); in expectContactLookupQuery() 158 mContactsProvider in expectContactLookupQuery() 174 mContactsProvider in expectContactEntityQuery()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | ContactsMockContext.java | 37 private MockContentProvider mContactsProvider; field in ContactsMockContext 45 mContactsProvider = new MockContentProvider(); in ContactsMockContext() 46 mContentResolver.addProvider(ContactsContract.AUTHORITY, mContactsProvider); in ContactsMockContext() 49 mContactsProvider.attachInfo(this, providerInfo); in ContactsMockContext() 61 return mContactsProvider; in getContactsProvider() 92 mContactsProvider.verify(); in verify()
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
D | PhoneNumberInteractionTest.java | 65 private MockContentProvider mContactsProvider; field in PhoneNumberInteractionTest 71 mContactsProvider = mContext.getContactsProvider(); in setUp() 76 mContactsProvider.verify(); in tearDown() 235 return mContactsProvider in expectQuery()
|
/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 | 144 protected final ContactsProvider2 mContactsProvider; field in AbstractContactAggregator 276 mContactsProvider = contactsProvider; in AbstractContactAggregator() 1415 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData() 1708 int thumbDim = mContactsProvider.getMaxThumbnailDim(); in getPhotoMetadata() 1781 mContactsProvider.isWritableAccountWithDataSet(accountTypeAndDataSet), in updateDisplayNameForContact() 1975 mContactsProvider.appendContactFilterAsNestedQuery(sb, filter); in queryMatchingContacts()
|