Home
last modified time | relevance | path

Searched refs:MINUTES (Results 1 – 25 of 48) sorted by relevance

12

/packages/apps/TV/tests/common/src/com/android/tv/testing/
DProgramInfo.java62 TimeUnit.MINUTES.toMillis(15),
63 TimeUnit.MINUTES.toMillis(45),
64 TimeUnit.MINUTES.toMillis(90),
65 TimeUnit.MINUTES.toMillis(60),
66 TimeUnit.MINUTES.toMillis(30),
67 TimeUnit.MINUTES.toMillis(45),
68 TimeUnit.MINUTES.toMillis(60),
69 TimeUnit.MINUTES.toMillis(90),
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java86 durationMs += TimeUnit.MINUTES.toMillis(30); in testMultiChannelsWithSimpleWatchLogs()
106 TimeUnit.MINUTES.toMillis(30)); in testTwoChannelsWithSameWatchDuration()
107 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(30), in testTwoChannelsWithSameWatchDuration()
108 TimeUnit.MINUTES.toMillis(30)); in testTwoChannelsWithSameWatchDuration()
119 TimeUnit.MINUTES.toMillis(30)); in testTwoChannelsWithDifferentWatchDuration()
143 addWatchLog(channelId, latestWatchEndTimeMs, TimeUnit.MINUTES.toMillis(10)); in testScoreIncreasesWithNewWatchLog()
DRecommenderTest.java233 System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(10)); in testListener_onRecommendationChanged()
239 TimeUnit.MINUTES.toMillis(10))); in testListener_onRecommendationChanged()
240 latestWatchEndTimeMs += TimeUnit.MINUTES.toMillis(10); in testListener_onRecommendationChanged()
DRecentChannelEvaluatorTest.java113 long durationMs = TimeUnit.MINUTES.toMillis(10); in testScoreIncreasesWithNewWatchLog()
137 addWatchLog(newChannelId, latestWatchedEndTimeMs, TimeUnit.MINUTES.toMillis(10)); in testScoreDecreasesWithIncrementOfWatchedLogUpdatedTime()
DRecommendationUtils.java126 latestWatchEndTimeMs += TimeUnit.MINUTES.toMillis(mRandom.nextInt(30) + 1); in addRandomWatchLogs()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarAlarmManager.java84 + " AND ca." + CalendarAlerts.MINUTES + "=r." + Reminders.MINUTES + ")"
89 + " OR (r." + Reminders.MINUTES + " ISNULL"
90 + " AND ca." + CalendarAlerts.MINUTES + "<>0)"
335 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")" in scheduleNextAlarmLocked()
339 + Reminders.MINUTES + " FROM " + Tables.INSTANCES + " INNER JOIN " + Views.EVENTS in scheduleNextAlarmLocked()
392 final int minutesIndex = cursor.getColumnIndex(Reminders.MINUTES); in scheduleNextAlarmLocked()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java50 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + MINUTES + " ASC" + ", " +
56 MINUTES,
68 ClockDatabaseHelper.ALARMS_TABLE_NAME + "." + MINUTES,
82 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + ClockContract.InstancesColumns.MINUTES,
121 values.put(MINUTES, alarm.minutes); in createContentValues()
DClockProvider.java64 sAlarmsWithInstancesProjection.put(ALARMS_TABLE_NAME + "." + AlarmsColumns.MINUTES,
65 ALARMS_TABLE_NAME + "." + AlarmsColumns.MINUTES);
91 sAlarmsWithInstancesProjection.put(INSTANCES_TABLE_NAME + "." + InstancesColumns.MINUTES,
92 INSTANCES_TABLE_NAME + "." + InstancesColumns.MINUTES);
DClockDatabaseHelper.java77 ClockContract.AlarmsColumns.MINUTES + " INTEGER NOT NULL, " + in createAlarmsTable()
94 ClockContract.InstancesColumns.MINUTES + " INTEGER NOT NULL, " + in createInstanceTable()
120 ClockContract.AlarmsColumns.MINUTES + cs + in onCreate()
DClockContract.java115 String MINUTES = "minutes"; field
250 String MINUTES = "minutes"; field
DAlarmInstance.java64 MINUTES,
100 values.put(MINUTES, instance.mMinute); in createContentValues()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DWatchedHistoryManagerTest.java76 long duration = TimeUnit.MINUTES.toMillis(10); in testLogChannelViewStop()
94 long duration = TimeUnit.MINUTES.toMillis(10); in testCircularHistoryQueue()
126 long duration = TimeUnit.MINUTES.toMillis(10); in testEncodeDecodeWatchedRecord()
/packages/apps/TV/src/com/android/tv/recommendation/
DRecentChannelEvaluator.java22 private static final long WATCH_DURATION_MS_LOWER_BOUND = TimeUnit.MINUTES.toMillis(3);
23 private static final long WATCH_DURATION_MS_UPPER_BOUND = TimeUnit.MINUTES.toMillis(7);
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DBaseDvrDataManagerTest.java57 mFakeClock.increment(TimeUnit.MINUTES, 6); in testGetNonStartedScheduledRecordings_past()
69 mFakeClock.currentTimeMillis() + TimeUnit.MINUTES.toMillis(5))) in createNewScheduledRecordingStartingNow()
DScheduledProgramReaperTest.java84 mFakeClock.increment(TimeUnit.MINUTES, 2); in testRun_oneRecordingsFinished()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrChannelRecordDurationOptionFragment.java64 mDurations.add(TimeUnit.MINUTES.toMillis(10)); in onCreateActions()
65 mDurations.add(TimeUnit.MINUTES.toMillis(30)); in onCreateActions()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java63 private static final long PERIODIC_PROGRAM_UPDATE_MIN_MS = TimeUnit.MINUTES.toMillis(5);
64 private static final long PERIODIC_PROGRAM_UPDATE_MAX_MS = TimeUnit.MINUTES.toMillis(10);
69 static final long PROGRAM_GUIDE_SNAP_TIME_MS = TimeUnit.MINUTES.toMillis(30);
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1413 mValues.put(Reminders.MINUTES, 5); in addExpectedMinutes()
1420 mValues.put(Reminders.MINUTES, 10); in addExpectedMinutes()
1427 mValues.put(Reminders.MINUTES, 15); in addExpectedMinutes()
1439 mValues.put(Reminders.MINUTES, 5); in addExpectedMinutesWithBackRef()
1446 mValues.put(Reminders.MINUTES, 10); in addExpectedMinutesWithBackRef()
1453 mValues.put(Reminders.MINUTES, 15); in addExpectedMinutesWithBackRef()
/packages/apps/TV/src/com/android/tv/dvr/
DScheduler.java54 private final static long SOON_DURATION_IN_MS = TimeUnit.MINUTES.toMillis(5);
55 @VisibleForTesting final static long MS_TO_WAKE_BEFORE_START = TimeUnit.MINUTES.toMillis(1);
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java102 private static final long MAX_DUMMY_PROGRAM_DURATION = TimeUnit.MINUTES.toMillis(30);
106 private static final long PREFETCH_TIME_OFFSET_FROM_PROGRAM_END = TimeUnit.MINUTES.toMillis(1);
1128 delay = TimeUnit.MINUTES.toMillis(5); in schedulePrefetchPrograms()
/packages/apps/TV/src/com/android/tv/util/
DTimeShiftUtils.java29 private static final long SHORT_PROGRAM_THRESHOLD_MILLIS = TimeUnit.MINUTES.toMillis(46);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProviderBroadcastReceiverTest.java52 assertTrue("Didn't receive the result.", latch.await(1, TimeUnit.MINUTES)); in testBroadcastToRealProvider()
/packages/services/Telecomm/src/com/android/server/telecom/
DTimeouts.java159 TimeUnit.MILLISECONDS.convert(5, TimeUnit.MINUTES)); in getEmergencyCallbackWindowMillis()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java123 Reminders.MINUTES, // 1
847 values.put(Reminders.MINUTES, re.getMinutes()); in saveReminders()
891 values.put(Reminders.MINUTES, re.getMinutes()); in saveRemindersWithBackRef()
/packages/apps/TV/src/com/android/tv/guide/
DTimeListAdapter.java37 private static final long TIME_UNIT_MS = TimeUnit.MINUTES.toMillis(30);

12