Home
last modified time | relevance | path

Searched refs:toAdd (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ui/list/
DDvrHistoryRowAdapterTest.java114 ScheduledRecording toAdd = in testOnScheduledRecordingAdded_existingHeader() local
120 mDvrHistoryRowAdapter.onScheduledRecordingAdded(toAdd); in testOnScheduledRecordingAdded_existingHeader()
131 ScheduledRecording toAdd = in testOnScheduledRecordingAdded_newHeader_addOldest() local
137 mDvrHistoryRowAdapter.onScheduledRecordingAdded(toAdd); in testOnScheduledRecordingAdded_newHeader_addOldest()
148 ScheduledRecording toAdd = in testOnScheduledRecordingAdded_newHeader_addBetween() local
154 mDvrHistoryRowAdapter.onScheduledRecordingAdded(toAdd); in testOnScheduledRecordingAdded_newHeader_addBetween()
165 ScheduledRecording toAdd = in testOnScheduledRecordingAdded_newHeader_addNewest() local
171 mDvrHistoryRowAdapter.onScheduledRecordingAdded(toAdd); in testOnScheduledRecordingAdded_newHeader_addNewest()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java317 List<ScheduledRecording> toAdd = new ArrayList<>(); in addRecordedProgramToSeriesRecording() local
324 toAdd.add( in addRecordedProgramToSeriesRecording()
331 if (!toAdd.isEmpty()) { in addRecordedProgramToSeriesRecording()
332 mDataManager.addScheduledRecording(ScheduledRecording.toArray(toAdd)); in addRecordedProgramToSeriesRecording()
351 List<ScheduledRecording> toAdd = new ArrayList<>(); in addScheduleToSeriesRecording() local
367 toAdd.add( in addScheduleToSeriesRecording()
374 if (!toAdd.isEmpty()) { in addScheduleToSeriesRecording()
375 mDataManager.addScheduledRecording(ScheduledRecording.toArray(toAdd)); in addScheduleToSeriesRecording()
DDvrScheduleManager.java783 for (ScheduledRecording toAdd : schedulesToAdd) { in getConflictingSchedules()
785 if (toAdd.getProgramId() == schedule.getProgramId()) { in getConflictingSchedules()
790 if (toAdd.getChannelId() == schedule.getChannelId() in getConflictingSchedules()
791 && toAdd.getStartTimeMs() == schedule.getStartTimeMs() in getConflictingSchedules()
792 && toAdd.getEndTimeMs() == schedule.getEndTimeMs()) { in getConflictingSchedules()
/packages/apps/TV/common/src/com/android/tv/common/util/
DCollectionUtils.java60 for (T toAdd : toAdds) { in union()
61 if (Collections.binarySearch(result, toAdd, comparator) < 0) { in union()
62 resultToAdd.add(toAdd); in union()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java118 private void addCall(Call toAdd) { in addCall() argument
121 mCalls.add(toAdd); in addCall()