Home
last modified time | relevance | path

Searched refs:SimContactDao (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/database/
DSimContactDaoTests.java129 final SimContactDao sut = SimContactDao.create(getContext()); in importFromSim()
161 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasName()
176 final SimContactDao sut = SimContactDao.create(getContext()); in importContactWhichOnlyHasPhone()
191 final SimContactDao sut = SimContactDao.create(getContext()); in ignoresEmptyContacts()
219 final SimContactDao sut = SimContactDao.create(getContext()); in largeImport()
334 final SimContactDao sut = createDao(); in returnsEmptyMapWhenNoMatchingContactsExist()
351 final SimContactDao sut = createDao(); in hasAccountWithMatchingContactsWhenSingleMatchingContactExists()
384 final SimContactDao sut = createDao(); in hasMultipleAccountsWhenMultipleMatchingContactsExist()
430 final SimContactDao sut = createDao(); in matchesByNameIfSimContactHasNoPhone()
462 final SimContactDao sut = createDao(); in largeNumberOfSimContacts()
[all …]
/packages/apps/Contacts/src/com/android/contacts/database/
DSimContactDao.java40 public abstract class SimContactDao { class
46 public static final Function<Context, SimContactDao> DEFAULT_FACTORY =
47 new Function<Context, SimContactDao>() {
49 public SimContactDao apply(Context context) {
55 private static Function<? super Context, SimContactDao> sInstanceFactory = DEFAULT_FACTORY;
57 private static SimContactDao createDebugInstance(Context context) { in createDebugInstance()
77 public static synchronized SimContactDao create(Context context) { in create()
86 Function<? super Context, SimContactDao> factory) { in setFactoryForTest()
DSimContactDaoImpl.java65 public class SimContactDaoImpl extends SimContactDao {
/packages/apps/Contacts/tests/src/com/android/contacts/activities/
DSimImportActivityTest.java56 import com.android.contacts.database.SimContactDao;
108 SimContactDao.setFactoryForTest(Functions.<SimContactDao>constant(mDao)); in setUp()
120 SimContactDao.setFactoryForTest(SimContactDao.DEFAULT_FACTORY); in tearDown()
245 SimContactDao.setFactoryForTest(new Function<Context, SimContactDao>() { in selectionsAreImportedAndDisabledOnSubsequentImports()
247 public SimContactDao apply(Context input) { in selectionsAreImportedAndDisabledOnSubsequentImports()
/packages/apps/Contacts/src/com/android/contacts/
DSimImportService.java34 import com.android.contacts.database.SimContactDao;
181 final SimContactDao dao = SimContactDao.create(this); in createTaskForIntent()
262 private final SimContactDao mDao;
268 SimContactDao dao, int startId) { in ImportTask()
DSimImportFragment.java45 import com.android.contacts.database.SimContactDao;
450 private SimContactDao mDao;
456 mDao = SimContactDao.create(context); in SimContactLoader()
DContactSaveService.java60 import com.android.contacts.database.SimContactDao;
206 private SimContactDao mSimContactDao;
218 mSimContactDao = SimContactDao.create(this); in onCreate()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DSimContactsTestHelper.java36 import com.android.contacts.database.SimContactDao;
49 private final SimContactDao mSimDao;
59 mSimDao = SimContactDao.create(context); in SimContactsTestHelper()
DFakeSimContactDao.java22 import com.android.contacts.database.SimContactDao;
37 public class FakeSimContactDao extends SimContactDao {
/packages/apps/Contacts/src/com/android/contacts/interactions/
DImportDialogFragment.java43 import com.android.contacts.database.SimContactDao;
70 private SimContactDao mSimDao;
107 mSimDao = SimContactDao.create(getContext()); in onCreate()
/packages/apps/Contacts/
Dproguard.flags26 -keep class com.android.contacts.database.SimContactDao { *; }
27 -keep class com.android.contacts.database.SimContactDao$* { *; }