Home
last modified time | relevance | path

Searched refs:mProvider (Results 1 – 22 of 22) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2TransactionTest.java42 private SynchronousContactsProvider2 mProvider; field in ContactsProvider2TransactionTest
48 mProvider = (SynchronousContactsProvider2) getProvider(); in setUp()
55 mProvider = null; in tearDown()
66 mProvider.resetTrasactionCallbackCalledFlags(); in testTransactionCallback_insert()
71 mProvider.assertCommitTransactionCalledForContactMode(); in testTransactionCallback_insert()
72 mProvider.assertNoTransactionsForProfileMode(); in testTransactionCallback_insert()
76 mProvider.resetTrasactionCallbackCalledFlags(); in testTransactionCallback_insert()
81 mProvider.assertCommitTransactionCalledForContactMode(); in testTransactionCallback_insert()
82 mProvider.assertCommitTransactionCalledForProfileMode(); in testTransactionCallback_insert()
100 mProvider.resetTrasactionCallbackCalledFlags(); in testTransactionCallback_update()
[all …]
DPhotoStoreTest.java45 private SynchronousContactsProvider2 mProvider; field in PhotoStoreTest
56 mProvider = ((SynchronousContactsProvider2) mActor.provider); in setUp()
57 mPhotoStore = mProvider.getPhotoStore(); in setUp()
58 mProvider.wipeData(); in setUp()
59 mDb = mProvider.getDatabaseHelper(getContext()).getReadableDatabase(); in setUp()
DContactDirectoryManagerTest.java55 private ContactsProvider2 mProvider; field in ContactDirectoryManagerTest
115 mProvider = (ContactsProvider2) getProvider(); in setUp()
116 mDirectoryManager = mProvider.getContactDirectoryManagerForTest(); in setUp()
227 mProvider.onPackageChanged("test.package2"); in testPackageInstalled()
278 mProvider.onPackageChanged("test.package2"); in testPackageUninstalled()
327 mProvider.onPackageChanged("test.package2"); in testPackageReplaced()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DApplicationsProviderTest.java43 private ApplicationsProviderForTesting mProvider; field in ApplicationsProviderTest
54 mProvider = getProvider(); in setUp()
98 initProvider(mProvider); in testSearch_singleResult()
103 initProvider(mProvider); in testSearch_multipleResults()
108 initProvider(mProvider); in testSearch_noResults()
113 initProvider(mProvider); in testSearch_orderingIsAlphabeticByDefault()
119 initProvider(mProvider); in testSearch_emptySearchQueryReturnsEverything()
132 mProvider.setHasGlobalSearchPermission(true); in testSearch_appsAreRankedByUsageTimeOnStartup()
134 initProvider(mProvider); in testSearch_appsAreRankedByUsageTimeOnStartup()
143 initProvider(mProvider); in testSearch_appsAreRankedByResumeTimeAfterUpdate()
[all …]
/packages/apps/Email/tests/src/com/android/email/activity/
DContactStatusLoaderTest.java50 private MockContactProvider mProvider; field in ContactStatusLoaderTest
59 mProvider = getProvider(); in setUp()
65 mProvider.mCursors.offer( in testContactNotFound()
73 assertEquals(1, mProvider.mUris.size()); in testContactNotFound()
75 mProvider.mUris.get(0)); in testContactNotFound()
100 mProvider.mCursors.offer(cursor1); in testNoPhoto()
103 mProvider.mCursors.offer(new MatrixCursor(ContactStatusLoader.PHOTO_PROJECTION)); in testNoPhoto()
113 assertTrue(mProvider.mUris.size() >= 2); in testNoPhoto()
115 mProvider.mUris.get(0)); in testNoPhoto()
117 mProvider.mUris.get(1)); in testNoPhoto()
[all …]
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupBasics.java119 private Provider mProvider; field in AccountSetupBasics
310 mProvider = (Provider) savedInstanceState.getSerializable(STATE_KEY_PROVIDER); in onCreate()
349 if (mProvider != null) { in onSaveInstanceState()
350 outState.putSerializable(STATE_KEY_PROVIDER, mProvider); in onSaveInstanceState()
441 mProvider.expandTemplates(email); in finishAutoSetup()
445 HostAuth.setHostAuthFromString(recvAuth, mProvider.incomingUri); in finishAutoSetup()
446 recvAuth.setLogin(mProvider.incomingUsername, password); in finishAutoSetup()
449 HostAuth.setHostAuthFromString(sendAuth, mProvider.outgoingUri); in finishAutoSetup()
450 sendAuth.setLogin(mProvider.outgoingUsername, password); in finishAutoSetup()
457 new DuplicateCheckTask(this, recvAuth.mAddress, mProvider.incomingUsername) in finishAutoSetup()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java90 private CalendarProvider2ForTesting mProvider; field in CalendarProvider2Test
950 mProvider = new CalendarProvider2ForTesting(); in setUp()
951 mProvider.attachInfo(mContext, null); in setUp()
953 mResolver.addProvider(CalendarContract.AUTHORITY, mProvider); in setUp()
1022 return mProvider; in getProvider()
1621 assertEquals(expected, mProvider.escapeSearchToken(token)); in testEscapeSearchToken()
1625 assertEquals(expected, mProvider.escapeSearchToken(token)); in testEscapeSearchToken()
1629 assertEquals(expected, mProvider.escapeSearchToken(token)); in testEscapeSearchToken()
1633 assertEquals(expected, mProvider.escapeSearchToken(token)); in testEscapeSearchToken()
1637 assertEquals(expected, mProvider.escapeSearchToken(token)); in testEscapeSearchToken()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java36 private final SuggestionCursorProvider<C> mProvider; field in QueryTask
56 mProvider = provider; in QueryTask()
63 return mProvider.getName(); in getName()
67 final C cursor = mProvider.getSuggestions(mQuery, mQueryLimit, mTheOnlyOne); in run()
68 if (DBG) Log.d(TAG, "Suggestions from " + mProvider + " = " + cursor); in run()
74 return mProvider + "[" + mQuery + "]"; in toString()
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/
DProviderTestCase3.java91 private T mProvider; field in ProviderTestCase3
98 return mProvider; in getProvider()
133 mProvider = mProviderClass.newInstance(); in setUp()
134 mProvider.attachInfo(mProviderContext, null); in setUp()
135 assertNotNull(mProvider); in setUp()
149 mProvider.shutdown(); in tearDown()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSuggestionsProviderImplTest.java38 private SuggestionsProviderImpl mProvider; field in SuggestionsProviderImplTest
51 mProvider = new SuggestionsProviderImpl(config, in setUp()
58 Suggestions suggestions = mProvider.getSuggestions("foo", in testSingleCorpus()
78 Suggestions suggestions = mProvider.getSuggestions("foo", in testMultipleCorpora()
/packages/apps/LegacyCamera/src/com/android/camera/
DLocationManager.java125 String mProvider; field in LocationManager.LocationListener
128 mProvider = provider; in LocationListener()
129 mLastLocation = new Location(mProvider); in LocationListener()
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged()
/packages/apps/Gallery2/src/com/android/camera/
DLocationManager.java125 String mProvider; field in LocationManager.LocationListener
128 mProvider = provider; in LocationListener()
129 mLastLocation = new Location(mProvider); in LocationListener()
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged()
/packages/apps/Camera/src/com/android/camera/
DLocationManager.java125 String mProvider; field in LocationManager.LocationListener
128 mProvider = provider; in LocationListener()
129 mLastLocation = new Location(mProvider); in LocationListener()
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) { in onLocationChanged()
/packages/apps/Email/tests/src/com/android/email/
DDBTestHelper.java54 private final MyProvider mProvider; field in DBTestHelper.MyContext
57 mProvider = new MyProvider(); in MyContext()
59 mContentResolver.addProvider(EmailContent.AUTHORITY, mProvider); in MyContext()
68 return mProvider; in getMyProvider()
DLegacyConversionsTests.java72 EmailProvider mProvider; field in LegacyConversionsTests
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DQuickResponseTests.java33 private EmailProvider mProvider; field in QuickResponseTests
43 mProvider = getProvider(); in setUp()
DMailboxTests.java51 private EmailProvider mProvider; field in MailboxTests
61 mProvider = getProvider(); in setUp()
493 mProvider.update(ContentUris.withAppendedId(Mailbox.ADD_TO_FIELD_URI, a1.mId), cv, in testUpdateCacheMailboxIdAddToField()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java1476 private final UidDetailProvider mProvider; field in DataUsageSummary.DataUsageAdapter
1483 mProvider = checkNotNull(provider); in DataUsageAdapter()
1579 UidDetailTask.bindView(mProvider, item, convertView); in getView()
2142 private final UidDetailProvider mProvider; field in DataUsageSummary.UidDetailTask
2147 mProvider = checkNotNull(provider); in UidDetailTask()
2188 return mProvider.getUidDetail(mItem.key, true); in doInBackground()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java48 EmailProvider mProvider; field in SmtpSenderUnitTests
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityMediumTests.java47 EmailProvider mProvider; field in UtilityMediumTests
/packages/apps/Email/tests/src/com/android/email/service/
DMailServiceTests.java49 EmailProvider mProvider; field in MailServiceTests
/packages/apps/Email/tests/src/com/android/email/provider/
DContentCacheTests.java43 EmailProvider mProvider; field in ContentCacheTests