Lines Matching refs:programs
134 private void insertPrograms(Program... programs) {
135 insertPrograms(Arrays.asList(programs));
138 private void insertPrograms(Collection<Program> programs) {
143 for (Program program : programs) {
162 Set<Program> programs = Sets.newHashSet();
164 programs.add(new Program(cursor.getLong(0), cursor.getLong(1), cursor.getLong(2)));
166 return programs;
172 private void insertWatchedPrograms(Program... programs) {
173 insertWatchedPrograms(Arrays.asList(programs));
176 private void insertWatchedPrograms(Collection<Program> programs) {
182 for (Program program : programs) {
201 Set<Program> programs = Sets.newHashSet();
203 programs.add(new Program(cursor.getLong(0), cursor.getLong(1), cursor.getLong(2)));
205 return programs;
228 ArrayList<Program> programs = new ArrayList<Program>();
230 programs.add(new Program(999 + i, 1000 + i));
232 insertPrograms(programs);
236 new HashSet<Program>(programs.subList(5, 10)), queryPrograms());
253 ArrayList<Program> programs = new ArrayList<Program>();
255 programs.add(new Program(1000 + i, 1001 + i));
257 insertWatchedPrograms(programs);
261 new HashSet<Program>(programs.subList(5, 10)), queryWatchedPrograms());
267 ArrayList<Program> programs = new ArrayList<Program>();
269 programs.add(new Program(1000 + i, 1001 + i));
271 insertWatchedPrograms(programs);
275 new HashSet<Program>(programs.subList(5, 10)), queryWatchedPrograms());