Home
last modified time | relevance | path

Searched refs:deadLine (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRowAdapter.java95 long deadLine = Utils.getLastMillisecondOfDay(System.currentTimeMillis()); in start() local
98 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() < deadLine) { in start()
104 calculateHeaderDate(deadLine), in start()
111 deadLine); in start()
117 deadLine += ONE_DAY_MS; in start()
122 private String calculateHeaderDate(long deadLine) { in calculateHeaderDate() argument
125 ((deadLine - Utils.getLastMillisecondOfDay(System.currentTimeMillis())) in calculateHeaderDate()
134 deadLine, in calculateHeaderDate()
205 long deadLine = Utils.getLastMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow() local
206 if (pre >= 0 && getHeaderRow(pre).getDeadLineMs() == deadLine) { in addScheduleRow()
[all …]
DDvrHistoryRowAdapter.java88 long deadLine = Utils.getFirstMillisecondOfDay(mClock.currentTimeMillis()); in start() local
91 while (i < recordingList.size() && recordingList.get(i).getStartTimeMs() >= deadLine) { in start()
97 calculateHeaderDate(deadLine), in start()
104 deadLine); in start()
110 deadLine -= ONE_DAY_MS; in start()
264 long deadLine = Utils.getFirstMillisecondOfDay(recording.getStartTimeMs()); in addScheduleRow() local
265 if (pre >= 0 && getHeaderRow(pre).getDeadLineMs() == deadLine) { in addScheduleRow()
271 } else if (index < size() && getHeaderRow(index).getDeadLineMs() == deadLine) { in addScheduleRow()
280 calculateHeaderDate(deadLine), in addScheduleRow()
285 deadLine); in addScheduleRow()
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/
DAnomalyDetectionTests.java120 final long deadLine = System.currentTimeMillis() + 10000; in tearDown() local
122 if (System.currentTimeMillis() > deadLine) { in tearDown()