Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerInMemoryImpl.java132 .checkState(scheduledRecording.getId() == ScheduledRecording.ID_NOT_SET, TAG, in addScheduledRecordingInternal()
133 "expected id of " + ScheduledRecording.ID_NOT_SET + " but was " in addScheduledRecordingInternal()
144 SoftPreconditions.checkState(recordedProgram.getId() == RecordedProgram.ID_NOT_SET, TAG, in addRecordedProgramInternal()
145 "expected id of " + RecordedProgram.ID_NOT_SET + " but was " + recordedProgram); in addRecordedProgramInternal()
DDvrDataManagerImpl.java266 if (r.getProgramId() != ScheduledRecording.ID_NOT_SET) { in addScheduledRecording()
292 if (scheduledRecording.getProgramId() != ScheduledRecording.ID_NOT_SET) { in removeScheduledRecording()
325 != ScheduledRecording.ID_NOT_SET) { in updateScheduledRecording()
335 if (programId != ScheduledRecording.ID_NOT_SET) { in updateScheduledRecording()
DScheduledRecording.java45 public static final long ID_NOT_SET = -1; field in ScheduledRecording
92 private long mId = ID_NOT_SET;
95 private long mProgramId = ID_NOT_SET;
DRecordingTask.java229 mTvRecordingClient.startRecording(programId == ScheduledRecording.ID_NOT_SET ? null in handleStartRecording()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java38 return createTestRecordingWithIdAndPeriod(ScheduledRecording.ID_NOT_SET, channelId, in createTestRecordingWithPeriod()
/packages/apps/TV/common/src/com/android/tv/common/recording/
DRecordedProgram.java40 public static final int ID_NOT_SET = -1; field in RecordedProgram
116 if (recordedProgram.mId != ID_NOT_SET) { in toValues()
173 private long mId = ID_NOT_SET;
/packages/apps/TV/src/com/android/tv/dvr/ui/
DScheduledRecordingPresenter.java74 if (programId == ScheduledRecording.ID_NOT_SET) { in onBindViewHolder()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DRecordingTaskTest.java145 Program p = r.getProgramId() == ScheduledRecording.ID_NOT_SET ? null in createRecordingTask()