Home
last modified time | relevance | path

Searched refs:toAdd (Results 1 – 7 of 7) 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DSmartUpdateMediatorLiveData.kt184 val (toAdd, toRemove) = KotlinUtils.getMapAndListDifferences(desired, have) in <lambda>() constant
185 for (key in toAdd) { in <lambda>()
203 for (key in toAdd) { in <lambda>()
217 return toAdd to toRemove in <lambda>()
DAutoRevokedPackagesLiveData.kt88 val (toAdd, toRemove) = in <lambda>() constant
104 for (packagePermGroup in toAdd) { in <lambda>()
108 for (packagePermGroup in toAdd) { in <lambda>()
/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/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/services/Telecomm/src/com/android/server/telecom/
DCallRecordingTonePlayer.java171 private void addCall(Call toAdd) { in addCall() argument
174 mCalls.add(toAdd); in addCall()