Searched defs:programs (Results 1 - 5 of 5) sorted by relevance
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
H A D | EpgDataCleanupServiceTests.java | 131 private void insertPrograms(Program... programs) { argument 132 insertPrograms(Arrays.asList(programs)); 135 private void insertPrograms(Collection<Program> programs) { argument 140 for (Program program : programs) { 159 Set<Program> programs = Sets.newHashSet(); 161 programs.add(new Program(cursor.getLong(0), cursor.getLong(1), cursor.getLong(2))); 163 return programs; 169 private void insertWatchedPrograms(Program... programs) { argument 170 insertWatchedPrograms(Arrays.asList(programs)); 173 private void insertWatchedPrograms(Collection<Program> programs) { argument [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
H A D | ChannelDataManager.java | 106 * Invoked when a request for getting programs of a channel has been processed and passes 107 * the requested channel and the programs retrieved from database to the listener. 109 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); argument 112 * Invoked when programs of a channel have been arrived and passes the arrived channel and 113 * programs to the listener. 115 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); argument 324 // TODO: Find a right to check if the programs are added outside. 327 // The event has been added outside TV tuner. Do not update programs. 409 // Schedule the audio and caption tracks of the current program and the programs being
|
H A D | TunerSessionWorker.java | 350 public void onProgramsArrived(TunerChannel channel, List<EitItem> programs) { argument 351 sendMessage(MSG_SCHEDULE_OF_PROGRAMS, new Pair<>(channel, programs)); 365 public void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs) { argument 366 sendMessage(MSG_PROGRAM_DATA_RESULT, new Pair<>(channel, programs)); 1276 // this means that there is a change of playback status and the programs of the current 1280 Log.d(TAG, "reschedule programs size:"
|
/packages/apps/TV/src/com/android/tv/data/ |
H A D | ProgramDataManager.java | 75 // COLUMN_CHANNEL_ID, COLUMN_END_TIME_UTC_MILLIS are added to detect duplicated programs. 76 // Duplicated programs are always consecutive by the sorting order. 152 * Set the program prefetch update wait which gives the delay to query all programs from DB 170 // to the handler. If not, another DB task can be executed before loading current programs. 274 * Returns the programs for the given channel which ends after the given start time. 293 // If there isn't, return the first program among programs that starts after the given time 295 private int getProgramIndexAt(List<Program> programs, long time) { argument 301 int index = Collections.binarySearch(programs, key); 304 if (index > 0 && isProgramPlayedAt(programs.get(index - 1), time)) { 386 // Remove previous programs whic 514 onPostExecute(Map<Long, ArrayList<Program>> programs) argument 580 onPostExecute(List<Program> programs) argument [all...] |
/packages/apps/TV/src/com/android/tv/ |
H A D | TimeShiftManager.java | 59 * {@link ProgramManager} loads programs of the current channel in the background. 1012 // Insert dummy programs if the holes exist in the list. 1043 // Skip previous programs. 1051 // Remove overlapped programs. 1063 // Returns a list of dummy programs. 1066 // we need to create multiple dummy programs. 1074 List<Program> programs = new ArrayList<>(); 1078 programs.add(new Program.Builder() 1085 programs.add(new Program.Builder() 1089 return programs; 1194 onPostExecute(List<Program> programs) argument 1244 onCancelled(List<Program> programs) argument [all...] |
Completed in 332 milliseconds