Home
last modified time | relevance | path

Searched refs:ID_NOT_SET (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DDvrDataManagerInMemoryImpl.java184 scheduledRecording.getId() == ScheduledRecording.ID_NOT_SET, in addScheduledRecordingInternal()
187 + ScheduledRecording.ID_NOT_SET in addScheduledRecordingInternal()
204 recordedProgram.getId() == RecordedProgram.ID_NOT_SET, in addRecordedProgramInternal()
206 "expected id of " + RecordedProgram.ID_NOT_SET + " but was " + recordedProgram); in addRecordedProgramInternal()
DRecordingTestUtils.java38 ScheduledRecording.ID_NOT_SET, inputId, channelId, startTime, endTime); in createTestRecordingWithPeriod()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java288 if (r.getProgramId() != ScheduledRecording.ID_NOT_SET) { in start()
661 if (r.getId() == ScheduledRecording.ID_NOT_SET) { in addScheduledRecording()
665 if (r.getProgramId() != ScheduledRecording.ID_NOT_SET) { in addScheduledRecording()
714 if (r.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET in removeScheduledRecording()
725 && r.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET in removeScheduledRecording()
728 SoftPreconditions.checkState(r.getProgramId() != ScheduledRecording.ID_NOT_SET); in removeScheduledRecording()
789 .setSeriesRecordingId(SeriesRecording.ID_NOT_SET) in removeSeriesRecording()
833 && oldScheduledRecording.getProgramId() != ScheduledRecording.ID_NOT_SET) { in updateScheduledRecording()
841 if (programId != ScheduledRecording.ID_NOT_SET) { in updateScheduledRecording()
845 && r.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET) { in updateScheduledRecording()
DDvrWatchedPositionManager.java93 if (recordedProgramId == RecordedProgram.ID_NOT_SET) { in addListener()
DDvrManager.java228 ? SeriesRecording.ID_NOT_SET in addSchedule()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java54 public static final long ID_NOT_SET = 0; field in ScheduledRecording
141 private long mId = ID_NOT_SET;
145 private long mProgramId = ID_NOT_SET;
158 private long mSeriesRecordingId = ID_NOT_SET;
508 if (r.getId() != ID_NOT_SET) { in toContentValues()
528 if (r.getSeriesRecordingId() != ID_NOT_SET) { in toContentValues()
538 if (r.getId() != ID_NOT_SET) { in toContentValuesWithTimeOffset()
558 if (r.getSeriesRecordingId() != ID_NOT_SET) { in toContentValuesWithTimeOffset()
DRecordedProgram.java54 public static final int ID_NOT_SET = -1; field in RecordedProgram
137 if (recordedProgram.getId() != ID_NOT_SET) { in toValues()
327 .setId(ID_NOT_SET) in builder()
328 .setChannelId(ID_NOT_SET) in builder()
DSeriesRecording.java48 public static final long ID_NOT_SET = 0; field in SeriesRecording
177 if (r.getId() != ID_NOT_SET) { in toContentValues()
245 private long mId = ID_NOT_SET;
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DScheduledProgramReaper.java50 && (r.getSeriesRecordingId() == SeriesRecording.ID_NOT_SET in run()
DSeriesRecordingScheduler.java173 && r.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET
190 if (r.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET) {
DRecordingTask.java371 programId == ScheduledRecording.ID_NOT_SET in handleStartRecording()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java264 if (programId != ScheduledRecording.ID_NOT_SET in addProgramIdToCheckIfNeeded()
301 if (schedule.getSeriesRecordingId() != SeriesRecording.ID_NOT_SET) { in handleUpdateProgram()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DBaseDvrDataManagerTest.java88 ScheduledRecording.ID_NOT_SET, in createNewScheduledRecordingStartingNow()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowPresenter.java616 .setId(ScheduledRecording.ID_NOT_SET) in onStartRecordingInternal()