Home
last modified time | relevance | path

Searched refs:FavoriteNumberEntity (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/
DFavoriteNumberRepository.java77 private final LiveData<List<FavoriteNumberEntity>> mFavoriteNumbers;
94 public LiveData<List<FavoriteNumberEntity>> getFavoriteNumbers() { in getFavoriteNumbers()
109 FavoriteNumberEntity favoriteNumber = new FavoriteNumberEntity(); in addToFavorite()
123 List<FavoriteNumberEntity> favoriteNumbers = mFavoriteNumbers.getValue(); in removeFromFavorite()
127 for (FavoriteNumberEntity favoriteNumberEntity : favoriteNumbers) { in removeFromFavorite()
167 List<FavoriteNumberEntity> outOfDateList = new ArrayList<>(); in convertToContacts()
169 List<FavoriteNumberEntity> favoriteNumbers = mFavoriteNumbers.getValue(); in convertToContacts()
170 for (FavoriteNumberEntity favoriteNumber : favoriteNumbers) { in convertToContacts()
191 private Contact lookupContact(ContentResolver cr, FavoriteNumberEntity favoriteNumber) { in lookupContact()
227 private boolean matches(FavoriteNumberEntity favoriteNumber, Contact contact, in matches()
[all …]
DFavoriteNumberDao.java33 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()
DFavoriteNumberDatabase.java27 @Database(entities = {FavoriteNumberEntity.class}, exportSchema = false, version = 1)
DFavoriteNumberEntity.java25 public class FavoriteNumberEntity { class