Home
last modified time | relevance | path

Searched refs:RecordingTask (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/recorder/
DInputTaskScheduler.java59 private static final Comparator<RecordingTask> CANDIDATE_COMPARATOR =
61 RecordingTask.PRIORITY_COMPARATOR,
62 RecordingTask.END_TIME_COMPARATOR,
63 RecordingTask.ID_COMPARATOR);
76 private final RecordingTask mTask;
79 Looper looper, ScheduledRecording scheduledRecording, RecordingTask recordingTask) { in HandlerWrapper()
164 public RecordingTask createRecordingTask( in InputTaskScheduler()
171 return new RecordingTask( in InputTaskScheduler()
237 wrapper.sendMessage(wrapper.obtainMessage(RecordingTask.MSG_UDPATE_SCHEDULE, schedule)); in handleUpdateSchedule()
264 RecordingTask task = mPendingRecordings.get(mPendingRecordings.keyAt(i)).mTask; in handleStopSchedule()
[all …]
DRecordingTask.java60 public class RecordingTask extends RecordingCallbackCompat class
66 public static final Comparator<RecordingTask> END_TIME_COMPARATOR =
67 new Comparator<RecordingTask>() {
69 public int compare(RecordingTask lhs, RecordingTask rhs) {
75 public static final Comparator<RecordingTask> ID_COMPARATOR =
76 new Comparator<RecordingTask>() {
78 public int compare(RecordingTask lhs, RecordingTask rhs) {
84 public static final Comparator<RecordingTask> PRIORITY_COMPARATOR =
85 new Comparator<RecordingTask>() {
87 public int compare(RecordingTask lhs, RecordingTask rhs) {
[all …]
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DRecordingTaskTest.java42 import com.android.tv.dvr.recorder.RecordingTask.State;
95 RecordingTask task = createRecordingTask(r, channel); in testHandle_init()
101 assertTrue(task.handleMessage(createMessage(RecordingTask.MSG_INITIALIZE))); in testHandle_init()
123 RecordingTask task = createRecordingTask(r, channel); in testOnConnected()
129 task.handleMessage(createMessage(RecordingTask.MSG_INITIALIZE)); in testOnConnected()
141 private RecordingTask createRecordingTask(ScheduledRecording r, Channel channel) { in createRecordingTask()
142 RecordingTask recordingTask = in createRecordingTask()
143 new RecordingTask( in createRecordingTask()
DInputTaskSchedulerTest.java77 private List<RecordingTask> mRecordingTasks;
100 public RecordingTask createRecordingTask( in setUp()
107 RecordingTask task = mock(RecordingTask.class); in setUp()