/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsProvider2TransactionTest.java | 42 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 …]
|
D | PhotoStoreTest.java | 45 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()
|
D | ContactDirectoryManagerTest.java | 55 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/ |
D | ApplicationsProviderTest.java | 43 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/ |
D | ContactStatusLoaderTest.java | 50 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/ |
D | AccountSetupBasics.java | 119 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/ |
D | CalendarProvider2Test.java | 90 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/ |
D | QueryTask.java | 36 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/ |
D | ProviderTestCase3.java | 91 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/ |
D | SuggestionsProviderImplTest.java | 38 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/ |
D | LocationManager.java | 125 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/ |
D | LocationManager.java | 125 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/ |
D | LocationManager.java | 125 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/ |
D | DBTestHelper.java | 54 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()
|
D | LegacyConversionsTests.java | 72 EmailProvider mProvider; field in LegacyConversionsTests
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | QuickResponseTests.java | 33 private EmailProvider mProvider; field in QuickResponseTests 43 mProvider = getProvider(); in setUp()
|
D | MailboxTests.java | 51 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/ |
D | DataUsageSummary.java | 1476 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/ |
D | SmtpSenderUnitTests.java | 48 EmailProvider mProvider; field in SmtpSenderUnitTests
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
D | UtilityMediumTests.java | 47 EmailProvider mProvider; field in UtilityMediumTests
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | MailServiceTests.java | 49 EmailProvider mProvider; field in MailServiceTests
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 43 EmailProvider mProvider; field in ContentCacheTests
|