HomeSort by relevance Sort by last modified time
    Searched refs:MINUTE_IN_MILLIS (Results 1 - 23 of 23) sorted by null

  /frameworks/base/core/tests/coretests/src/android/net/
NetworkStatsHistoryTest.java 29 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
120 final long BUCKET_SIZE = 15 * MINUTE_IN_MILLIS;
125 final long recordStart = (TEST_START + BUCKET_SIZE) - MINUTE_IN_MILLIS;
126 final long recordEnd = (TEST_START + (BUCKET_SIZE * 2)) + (MINUTE_IN_MILLIS * 4);
132 assertValues(stats, 0, MINUTE_IN_MILLIS, 50L, 100L, 250L, 500L, 5L);
134 assertValues(stats, 1, 15 * MINUTE_IN_MILLIS, 750L, 1500L, 3750L, 7500L, 75L);
136 assertValues(stats, 2, 4 * MINUTE_IN_MILLIS, 200L, 400L, 1000L, 2000L, 20L);
214 stats1.recordData(TEST_START, TEST_START + MINUTE_IN_MILLIS * 60, 600L, 600L);
216 final long TEST_START_2 = TEST_START + MINUTE_IN_MILLIS;
217 final NetworkStatsHistory stats2 = new NetworkStatsHistory(MINUTE_IN_MILLIS);
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateUtilsTest.java 151 mBaseTime - MINUTE_DURATION, mBaseTime, DateUtils.MINUTE_IN_MILLIS).toString());
153 mBaseTime + MINUTE_DURATION, mBaseTime, DateUtils.MINUTE_IN_MILLIS).toString());
156 mBaseTime, DateUtils.MINUTE_IN_MILLIS, DateUtils.FORMAT_NUMERIC_DATE).toString());
158 mBaseTime, DateUtils.MINUTE_IN_MILLIS, DateUtils.FORMAT_NUMERIC_DATE).toString());
160 mBaseTime, DateUtils.MINUTE_IN_MILLIS,
164 mBaseTime - DAY_DURATION, DateUtils.MINUTE_IN_MILLIS, DateUtils.DAY_IN_MILLIS,
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactBadgeUtil.java 51 DateUtils.MINUTE_IN_MILLIS, flags);
DataStatus.java 114 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS,
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarAlarmManager.java 316 String subQuerySuffix = " -(" + Reminders.MINUTES + "*" + +DateUtils.MINUTE_IN_MILLIS + ")"
409 } else if (alarmTime > nextAlarmTime + DateUtils.MINUTE_IN_MILLIS) {
461 scheduleNextAlarmCheck(nextAlarmTime + DateUtils.MINUTE_IN_MILLIS);
  /packages/apps/Calendar/src/com/android/calendar/
CalendarSettingsActivity.java 65 if (Utils.getTardis() + DateUtils.MINUTE_IN_MILLIS > System.currentTimeMillis()) {
AllInOneActivity.java     [all...]
DayView.java     [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DataStatus.java 108 mTimestamp, System.currentTimeMillis(), DateUtils.MINUTE_IN_MILLIS,
  /frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkPolicyManagerServiceTest.java 33 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
614 incrementCurrentTime(MINUTE_IN_MILLIS);
639 incrementCurrentTime(MINUTE_IN_MILLIS);
660 incrementCurrentTime(MINUTE_IN_MILLIS);
681 incrementCurrentTime(MINUTE_IN_MILLIS);
    [all...]
NetworkStatsServiceTest.java 38 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
362 expectSettings(0L, 30 * MINUTE_IN_MILLIS, WEEK_IN_MILLIS);
373 assertEquals(30 * MINUTE_IN_MILLIS, history.getBucketDuration());
    [all...]
  /frameworks/base/services/java/com/android/server/
UiModeManagerService.java 75 private static final long MIN_LOCATION_UPDATE_MS = 30 * DateUtils.MINUTE_IN_MILLIS;
78 private static final long LOCATION_UPDATE_ENABLE_INTERVAL_MAX = 15 * DateUtils.MINUTE_IN_MILLIS;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
PhoneCallDetailsHelper.java 90 DateUtils.MINUTE_IN_MILLIS,
  /packages/apps/Calendar/tests/src/com/android/calendar/event/
EditEventHelperTest.java     [all...]
  /frameworks/base/core/java/android/text/format/
DateUtils.java 147 public static final long MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60;
148 public static final long HOUR_IN_MILLIS = MINUTE_IN_MILLIS * 60;
409 return getRelativeTimeSpanString(startTime, System.currentTimeMillis(), MINUTE_IN_MILLIS);
421 * past will be reported as "0 minutes ago" if this is set to MINUTE_IN_MILLIS. Pass one of
422 * 0, MINUTE_IN_MILLIS, HOUR_IN_MILLIS, DAY_IN_MILLIS, WEEK_IN_MILLIS
442 * this is set to MINUTE_IN_MILLIS. Pass one of 0,
443 * MINUTE_IN_MILLIS, HOUR_IN_MILLIS, DAY_IN_MILLIS,
459 if (duration < MINUTE_IN_MILLIS && minResolution < MINUTE_IN_MILLIS) {
475 count = duration / MINUTE_IN_MILLIS;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetService.java 562 if (delta > DateUtils.MINUTE_IN_MILLIS) {
563 delta /= DateUtils.MINUTE_IN_MILLIS;
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 474 DateUtils.MINUTE_IN_MILLIS, flags);
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsService.java 49 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
    [all...]
  /packages/apps/Email/src/com/android/email/service/
AttachmentDownloadService.java 63 private static final int PROCESS_QUEUE_WAIT_TIME = 30 * ((int)DateUtils.MINUTE_IN_MILLIS);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventHelper.java 578 return defaultStartMillis + 30 * DateUtils.MINUTE_IN_MILLIS;
    [all...]
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 2524 milliseconds