Searched refs:UserFavoriteEntity (Results 1 – 4 of 4) sorted by relevance
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
D | UserFavoriteRestServlet.java | 20 import com.android.vts.entity.UserFavoriteEntity; 76 new FilterPredicate(UserFavoriteEntity.USER, FilterOperator.EQUAL, user); in addFavorite() 79 UserFavoriteEntity.TEST_KEY, FilterOperator.EQUAL, addedTestKey); in addFavorite() 81 new Query(UserFavoriteEntity.KIND) in addFavorite() 94 UserFavoriteEntity favorite = in addFavorite() 95 new UserFavoriteEntity(user, addedTestKey, muteNotifications); in addFavorite() 133 UserFavoriteEntity favorite = UserFavoriteEntity.fromEntity(favoriteEntity); in updateFavorite() 166 if (request.getParameter(UserFavoriteEntity.MUTE_NOTIFICATIONS) != null) { in doPost() 169 request.getParameter(UserFavoriteEntity.MUTE_NOTIFICATIONS)); in doPost()
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | UserFavoriteEntity.java | 39 public class UserFavoriteEntity implements DashboardEntity { class 40 protected static final Logger logger = Logger.getLogger(UserFavoriteEntity.class.getName()); 69 private UserFavoriteEntity(Key key, User user, Key testKey, boolean muteNotifications) { in UserFavoriteEntity() method in UserFavoriteEntity 83 public UserFavoriteEntity(User user, Key testKey, boolean muteNotifications) { in UserFavoriteEntity() method in UserFavoriteEntity 89 public com.googlecode.objectify.Key<UserFavoriteEntity> save() { in save() 112 public static UserFavoriteEntity fromEntity(Entity e) { in fromEntity() 125 return new UserFavoriteEntity(e.getKey(), user, testKey, muteNotifications); in fromEntity()
|
/test/vti/dashboard/src/main/java/com/android/vts/servlet/ |
D | DashboardMainServlet.java | 21 import com.android.vts.entity.UserFavoriteEntity; 187 new FilterPredicate(UserFavoriteEntity.USER, FilterOperator.EQUAL, currentUser); in doGetHandler() 188 Query filterQuery = new Query(UserFavoriteEntity.KIND).setFilter(userFilter); in doGetHandler() 192 Key testKey = UserFavoriteEntity.fromEntity(fe).testKey; in doGetHandler() 232 UserFavoriteEntity favorite = UserFavoriteEntity.fromEntity(favoriteEntity); in doGetHandler()
|
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
D | EmailHelper.java | 18 import com.android.vts.entity.UserFavoriteEntity; 102 new FilterPredicate(UserFavoriteEntity.TEST_KEY, FilterOperator.EQUAL, testKey); in getSubscriberEmails() 103 Query favoritesQuery = new Query(UserFavoriteEntity.KIND).setFilter(testFilter); in getSubscriberEmails() 109 UserFavoriteEntity favoriteEntity = UserFavoriteEntity.fromEntity(favorite); in getSubscriberEmails()
|