Home
last modified time | relevance | path

Searched refs:getProvider (Results 1 – 17 of 17) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java116 mProvider = (ContactsProvider2) getProvider(); in setUp()
119 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
444 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
458 ((ContactsProvider2)getProvider()).onAccountsUpdated(accounts); in testAccountRemoval()
DCallerInfoIntegrationTest.java51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); in testCallerInfo()
DBaseVoicemailProviderTest.java49 mPackageManager = (ContactsMockPackageManager) getProvider() in setUp()
DContactsProvider2Test.java1163 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId()
1224 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testDataInsertAndUpdateHashId_Photo()
1936 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testPhoneLookupUseStrictPhoneNumberCompare()
2768 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testAddQueryParametersFromUri()
2790 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testTestInvalidDirectory()
2799 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testQueryCorpContactsProvider()
2865 final ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testEmailFilterSortOrderWithOldHistory()
2971 ContactsProvider2 provider = (ContactsProvider2) getProvider(); in testUpdateFromMetadataEntry()
3069 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testUpdateMetadataOnRawContactInsert()
3125 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in testUpdateMetadataOnRawContactBackupIdChange()
[all …]
DContactsProvider2TransactionTest.java48 mProvider = (SynchronousContactsProvider2) getProvider(); in setUp()
DBaseContactsProvider2Test.java163 public ContentProvider getProvider() { in getProvider() method in BaseContactsProvider2Test
558 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in markInvisible()
566 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in createAccount()
1029 SQLiteDatabase db = ((ContactsProvider2) getProvider()).getDatabaseHelper() in assertStoredValuesDb()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java63 mProvider = getProvider(); in setUp()
407 getProvider().update(Message.CONTENT_URI, values, EmailContent.ID_SELECTION, in testMessageCount()
419 getProvider().delete(Message.CONTENT_URI, EmailContent.ID_SELECTION, in testMessageCount()
422 getProvider().delete(Message.CONTENT_URI, EmailContent.ID_SELECTION, in testMessageCount()
DQuickResponseTests.java44 mProvider = getProvider(); in setUp()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java976 mMetaData = getProvider().mMetaData; in setUp()
979 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in setUp()
989 getProvider().getDatabaseHelper().close(); in tearDown()
1040 protected CalendarProvider2ForTesting getProvider() { in getProvider() method in CalendarProvider2Test
2805 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetAndSetTimezoneDatabaseVersion()
2869 getProvider().doProcessEventRawTimes(TIME_ZONE_AMERICA_ANCHORAGE, in testChangeTimezoneDB()
2873 assertEquals(MOCK_TIME_ZONE_DATABASE_VERSION, getProvider().getTimezoneDatabaseVersion()); in testChangeTimezoneDB()
2886 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderProperties()
2923 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testGetProviderPropertiesByKey()
2951 CalendarDatabaseHelper helper = (CalendarDatabaseHelper) getProvider().getDatabaseHelper(); in testUpdateProviderProperties()
/packages/apps/Email/tests/src/com/android/email/provider/
DAccountBackupRestoreTests.java116 getProvider().shutdown(); in testBackupAndRestore()
DProviderTests.java125 mProvider = getProvider(); in setUp()
152 SQLiteDatabase db = getProvider().getDatabase(mMockContext); in setMinusOneToMessageCounts()
1071 getProvider().getDatabase(context), Message.DELETED_TABLE_NAME); in testDeleteOrphanMessages()
1073 getProvider().getDatabase(context), Message.UPDATED_TABLE_NAME); in testDeleteOrphanMessages()
2145 SQLiteDatabase db = getProvider().getDatabase(mMockContext); in testRecalculateMessageCounts()
2251 EmailProvider ep = getProvider(); in testCleanupOrphans()
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberProviderTest.java185 getProvider().closeDb(); in tearDown()
DVoicemailArchiveProviderTest.java62 getProvider().closeDb(); in tearDown()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); in setGpsParameters()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java796 loc.getProvider().toUpperCase())); in setGpsParameters()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java73 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()
DContactAggregator2Test.java74 final ContactsProvider2 cp = (ContactsProvider2) getProvider(); in setUp()