Searched refs:SimContactDao (Results 1 – 11 of 11) sorted by relevance
129 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 …]
40 public abstract class SimContactDao { class46 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()
65 public class SimContactDaoImpl extends SimContactDao {
56 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()
34 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()
45 import com.android.contacts.database.SimContactDao;450 private SimContactDao mDao;456 mDao = SimContactDao.create(context); in SimContactLoader()
60 import com.android.contacts.database.SimContactDao;206 private SimContactDao mSimContactDao;218 mSimContactDao = SimContactDao.create(this); in onCreate()
36 import com.android.contacts.database.SimContactDao;49 private final SimContactDao mSimDao;59 mSimDao = SimContactDao.create(context); in SimContactsTestHelper()
22 import com.android.contacts.database.SimContactDao;37 public class FakeSimContactDao extends SimContactDao {
43 import com.android.contacts.database.SimContactDao;70 private SimContactDao mSimDao;107 mSimDao = SimContactDao.create(getContext()); in onCreate()
26 -keep class com.android.contacts.database.SimContactDao { *; }27 -keep class com.android.contacts.database.SimContactDao$* { *; }