/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | ContactLoaderTest.java | 61 private MockContentProvider mContactsProvider; field in ContactLoaderTest 67 mContactsProvider = mMockContext.getContactsProvider(); in setUp() 89 mContactsProvider = null; in tearDown() 122 mContactsProvider.expectTypeQuery(baseUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactIdUri() 134 mContactsProvider.verify(); in testLoadContactWithContactIdUri() 166 mContactsProvider.verify(); in testLoadContactWithOldStyleUri() 180 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri() 193 mContactsProvider.verify(); in testLoadContactWithRawContactIdUri() 205 mContactsProvider.expectTypeQuery(lookupNoIdUri, Contacts.CONTENT_ITEM_TYPE); in testLoadContactWithContactLookupUri() 217 mContactsProvider.verify(); in testLoadContactWithContactLookupUri() [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/activities/ |
D | PeopleActivityTest.java | 66 private MockContentProvider mContactsProvider; field in PeopleActivityTest 76 mContactsProvider = mContext.getContactsProvider(); in setUp() 79 mContactsProvider.expectTypeQuery(ContentUris.withAppendedId(Contacts.CONTENT_URI, 1), in setUp() 109 mContactsProvider in expectProviderStatusQueryAndReturnNormal() 117 mContactsProvider in expectGroupsQueryAndReturnEmpty() 132 Query query = mContactsProvider in expectContactListQuery() 149 mContactsProvider.expectTypeQuery(uri, Contacts.CONTENT_ITEM_TYPE); in expectContactLookupQuery() 150 mContactsProvider in expectContactLookupQuery() 166 mContactsProvider in expectContactEntityQuery()
|
/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/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LegacyApiSupport.java | 472 private final ContactsProvider2 mContactsProvider; field in LegacyApiSupport 493 mContactsProvider = contactsProvider; in LegacyApiSupport() 519 mAccount = mContactsProvider.getDefaultAccount(); in ensureDefaultAccount() 835 Uri contactUri = mContactsProvider.insertInTransaction(RawContacts.CONTENT_URI, mValues); in insertPeople() 840 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues2); in insertPeople() 844 mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues3); in insertPeople() 855 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertOrganization() 864 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertPhone() 878 Uri uri = mContactsProvider.insertInTransaction(Data.CONTENT_URI, mValues); in insertContactMethod() 890 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 | 243 private final ContactsProvider2 mContactsProvider; field in SearchIndexManager 251 this.mContactsProvider = contactsProvider; in SearchIndexManager() 252 mDbHelper = (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in SearchIndexManager() 279 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_UPGRADING); in rebuildIndex() 286 mContactsProvider.setProviderStatus(ContactsProvider2.STATUS_NORMAL); in rebuildIndex() 382 DataRowHandler dataRowHandler = mContactsProvider.getDataRowHandler(mimetype); in buildAndInsertIndex()
|
D | ContactDirectoryManager.java | 106 private final ContactsProvider2 mContactsProvider; field in ContactDirectoryManager 113 mContactsProvider = contactsProvider; in ContactDirectoryManager() 119 return (ContactsDatabaseHelper) mContactsProvider.getDatabaseHelper(); in getDbHelper() 251 mContactsProvider.notifyChange(/* syncToNetwork =*/false); in scanAllPackagesIfNeeded() 256 mContactsProvider.scheduleRescanDirectories(); in scanAllPackagesIfNeeded() 480 mContactsProvider.resetDirectoryCache(); in updateDirectoriesForPackage()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/ |
D | InteractionService.java | 71 private ContactsProvider mContactsProvider; field in InteractionService 125 return mContactsProvider.getContact(query, deviceAddress); 153 mContactsProvider = new ContactsProvider(this); in onCreate() 158 mContactsProvider.destroy(); in onDestroy()
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
D | ContactDeletionInteractionTest.java | 61 private MockContentProvider mContactsProvider; field in ContactDeletionInteractionTest 100 mContactsProvider = mContext.getContactsProvider(); in setUp() 135 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() 1428 mContactsProvider.isWritableAccountWithDataSet(accountWithDataSet), in computeAggregateData() 1721 int thumbDim = mContactsProvider.getMaxThumbnailDim(); in getPhotoMetadata() 1794 mContactsProvider.isWritableAccountWithDataSet(accountTypeAndDataSet), in updateDisplayNameForContact() 2002 mContactsProvider.appendContactFilterAsNestedQuery(sb, filter); in queryMatchingContacts()
|