Lines Matching refs:ids
67 * @param ids The identifiers of desired {@link WorkSpec}s
70 @Query("SELECT * FROM workspec WHERE id IN (:ids)")
71 WorkSpec[] getWorkSpecs(List<String> ids);
84 * @return All WorkSpec ids in the database.
93 * @param ids The IDs for the {@link WorkSpec}s to update
96 @Query("UPDATE workspec SET state=:state WHERE id IN (:ids)")
97 int setState(State state, String... ids);
158 * @param ids The identifier of the {@link WorkSpec}s
162 @Query("SELECT id, state, output FROM workspec WHERE id IN (:ids)")
163 List<WorkSpec.WorkStatusPojo> getWorkStatusPojoForIds(List<String> ids);
169 * @param ids The identifier of the {@link WorkSpec}s
173 @Query("SELECT id, state, output FROM workspec WHERE id IN (:ids)")
174 LiveData<List<WorkSpec.WorkStatusPojo>> getWorkStatusPojoLiveDataForIds(List<String> ids);
234 * Retrieves work ids for unfinished work with a given tag.
237 * @return A list of work ids
244 * Retrieves work ids for unfinished work with a given name.
247 * @return A list of work ids
254 * Retrieves work ids for all unfinished work.
256 * @return A list of work ids