Home
last modified time | relevance | path

Searched refs:mDao (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java99 private FakeSimContactDao mDao; field in SimImportActivityTest
107 mDao = new FakeSimContactDao(); in setUp()
108 SimContactDao.setFactoryForTest(Functions.<SimContactDao>constant(mDao)); in setUp()
136 mDao.addSim(someSimCard(), in shouldDisplaySimContacts()
155 mDao.addSim(someSimCard()); in shouldHaveEmptyState()
167 mDao.addSim(someSimCard()); in smokeRotateInEmptyState()
184 mDao.addSim(someSimCard(), new SimContact(1, "Name One", "5550101"), in smokeRotateInNonEmptyState()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java262 private final SimContactDao mDao; field in SimImportService.ImportTask
272 mDao = dao; in ImportTask()
293 mDao.importContacts(mContacts, mTargetAccount); in doInBackground()
294 mDao.persistSimState(mSim.withImportedState(true)); in doInBackground()
DSimImportFragment.java450 private SimContactDao mDao; field in SimImportFragment.SimContactLoader
456 mDao = SimContactDao.create(context); in SimContactLoader()
485 final SimCard sim = mDao.getSimBySubscriptionId(mSubscriptionId); in loadFromSim()
492 result.contacts = mDao.loadContactsForSim(sim); in loadFromSim()
493 result.accountsMap = mDao.findAccountsOfExistingSimContacts(result.contacts); in loadFromSim()