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.java74 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 …]
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.java24 @Database(entities = {FavoriteNumberEntity.class}, exportSchema = false, version = 1)
DFavoriteNumberEntity.java25 public class FavoriteNumberEntity { class