Searched refs:FavoriteNumberEntity (Results 1 – 4 of 4) sorted by relevance
74 private final LiveData<List<FavoriteNumberEntity>> mFavoriteNumbers;94 public LiveData<List<FavoriteNumberEntity>> getFavoriteNumbers() { in getFavoriteNumbers()119 FavoriteNumberEntity favoriteNumber = new FavoriteNumberEntity(); in addToFavorite()133 List<FavoriteNumberEntity> favoriteNumbers = mFavoriteNumbers.getValue(); in removeFromFavorite()137 for (FavoriteNumberEntity favoriteNumberEntity : favoriteNumbers) { in removeFromFavorite()177 List<FavoriteNumberEntity> outOfDateList = new ArrayList<>(); in convertToContacts()179 List<FavoriteNumberEntity> favoriteNumbers = mFavoriteNumbers.getValue(); in convertToContacts()180 for (FavoriteNumberEntity favoriteNumber : favoriteNumbers) { in convertToContacts()201 private Contact lookupContact(ContentResolver cr, FavoriteNumberEntity favoriteNumber) { in lookupContact()237 private boolean matches(FavoriteNumberEntity favoriteNumber, Contact contact, in matches()[all …]
33 void insert(FavoriteNumberEntity favoriteNumber); in insert()37 void insertAll(List<FavoriteNumberEntity> favoriteNumbers); in insertAll()41 LiveData<List<FavoriteNumberEntity>> loadAll(); in loadAll()47 void update(FavoriteNumberEntity favoriteNumber); in update()51 void updateAll(List<FavoriteNumberEntity> favoriteNumbers); in updateAll()55 void delete(FavoriteNumberEntity favoriteNumbers); in delete()
24 @Database(entities = {FavoriteNumberEntity.class}, exportSchema = false, version = 1)
25 public class FavoriteNumberEntity { class