/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CacheTest.java | 671 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) 678 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
UrlConnectionCacheTest.java | 582 assertFullyCached(new MockResponse().addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) 588 assertNotCached(new MockResponse().addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) [all...] |
/frameworks/base/core/java/android/provider/ |
CalendarContract.java | 74 * the given calendar. Reminders are specified in minutes before the event and [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
ProgramDataManager.java | 62 private static final long PERIODIC_PROGRAM_UPDATE_MIN_MS = TimeUnit.MINUTES.toMillis(5); 63 private static final long PERIODIC_PROGRAM_UPDATE_MAX_MS = TimeUnit.MINUTES.toMillis(10); 68 static final long PROGRAM_GUIDE_SNAP_TIME_MS = TimeUnit.MINUTES.toMillis(30);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
CycleDetectingLockFactoryTest.java | 520 finishLatch.await(1, TimeUnit.MINUTES); 529 locked.await(1, TimeUnit.MINUTES);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
ICUDurationTest.java | 70 fields.put(DatatypeConstants.MINUTES, m); 85 if (m >= 0) { fields.put(DatatypeConstants.MINUTES, m); } 231 expected = "2 hours, 46 minutes, and 40 seconds"; 262 expected = "1 day, 0 hours, 0 minutes, and 0 seconds"; 300 new TestCase("en", "PT2H46M40S", newDuration(1, 2, 46, 40), "2 hours, 46 minutes, and 40 seconds"), 305 new TestCase("en", "PT88M70S", newDuration(1, -1, 88, 70), "88 minutes and 70 seconds"), 308 new TestCase("en", "PT0H5M0S", newDuration(1, 0, 5, 0), "5 minutes and 0 seconds") 408 new TestCase(ULocale.US, -1800, "30 minutes ago"), 412 new TestCase(ULocale.FRANCE, -1800, "il y a 30 minutes"),
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ICUDurationTest.java | 66 fields.put(DatatypeConstants.MINUTES, m); 81 if (m >= 0) { fields.put(DatatypeConstants.MINUTES, m); } 227 expected = "2 hours, 46 minutes, and 40 seconds"; 258 expected = "1 day, 0 hours, 0 minutes, and 0 seconds"; 296 new TestCase("en", "PT2H46M40S", newDuration(1, 2, 46, 40), "2 hours, 46 minutes, and 40 seconds"), 301 new TestCase("en", "PT88M70S", newDuration(1, -1, 88, 70), "88 minutes and 70 seconds"), 304 new TestCase("en", "PT0H5M0S", newDuration(1, 0, 5, 0), "5 minutes and 0 seconds") 404 new TestCase(ULocale.US, -1800, "30 minutes ago"), 408 new TestCase(ULocale.FRANCE, -1800, "il y a 30 minutes"),
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
AlarmInstance.java | 56 * Default timeout for alarms in minutes. 71 MINUTES, 107 values.put(MINUTES, instance.mMinute);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
TimeShiftTestActivity.java | 34 private static final long TIMEOUT_MS = TimeUnit.MINUTES.toMillis(5);
|
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
ModuleDef.java | 162 return TimeUnit.MINUTES.toMillis(1); // Default 1 minute.
|
ModuleRepo.java | 62 private static final long SMALL_TEST = TimeUnit.MINUTES.toMillis(2); // Small tests < 2mins 63 private static final long MEDIUM_TEST = TimeUnit.MINUTES.toMillis(10); // Medium tests < 10mins
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
IssueReporter.java | 162 if (!mReporterService.awaitTermination(1, TimeUnit.MINUTES)) {
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
TimeUnit.java | 62 MINUTES {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
BurnInProtectionHelper.java | 46 private static final long BURNIN_PROTECTION_WAKEUP_INTERVAL_MS = TimeUnit.MINUTES.toMillis(1);
|
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 161 // In mid-2013 this takes 3 minutes even on the host, so let's not run it on devices. 279 assertTrue("Test should not timeout", es.awaitTermination(1, TimeUnit.MINUTES));
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
FetchMatchingAlarmsAction.java | 77 // if minutes weren't specified default to 0 78 final int minutes = mIntent.getIntExtra(AlarmClock.EXTRA_MINUTES, 0); local 82 badInput |= minutes < 0 || minutes > 59; 87 final String reason = mContext.getString(R.string.invalid_time, hour, minutes, 97 if (alarm.hour == hour24 && alarm.minutes == minutes) { 102 final String reason = mContext.getString(R.string.no_alarm_at, hour24, minutes); 164 private List<Alarm> getAlarmsByHourMinutes(int hour24, int minutes, ContentResolver cr) { 167 Alarm.HOUR, Alarm.MINUTES, Alarm.ENABLED) [all...] |
/packages/apps/TV/src/com/android/tv/recommendation/ |
Recommender.java | 40 private static final long MINIMUM_RECOMMENDATION_UPDATE_PERIOD = TimeUnit.MINUTES.toMillis(5);
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
RecordingTaskTest.java | 58 private static final long DURATION = TimeUnit.MINUTES.toMillis(30);
|
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 173 return quantity + " minutes"; [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
KeyManagementTest.java | 293 assertTrue("Chooser timeout", mLatch.await(KEYCHAIN_TIMEOUT_MINS, TimeUnit.MINUTES));
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
StreamServiceTest.java | 163 makeService(FakeWorkers.Sleeper.class, Long.toString(TimeUnit.MINUTES.toMillis(10)));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
TimeUnit.java | 24 * as sixty seconds, an hour as sixty minutes, and a day as twenty four 113 MINUTES { 126 * Time unit representing sixty minutes. 192 * <p>For example, to convert 10 minutes to milliseconds, use: 193 * {@code TimeUnit.MILLISECONDS.convert(10L, TimeUnit.MINUTES)} 255 * {@link #convert(long, TimeUnit) MINUTES.convert(duration, this)}.
|
/libcore/luni/src/main/java/libcore/icu/ |
RelativeDateTimeFormatter.java | 68 * '5 minutes ago', or 'In 2 days'. More examples can be found in DateUtils' 72 * the elapsed time between time' and 'now', e.g. minutes, days and etc. 74 * result. For example, '45 minutes ago' will become '0 hours ago' when 88 * always // returns a string like '0 seconds/minutes/... ago' according to 147 unit = android.icu.text.RelativeDateTimeFormatter.RelativeUnit.MINUTES; 294 // date instead of "x hours/minutes ago, [time]".
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlarmScheduler.java | 65 Reminders.MINUTES, 263 msg.append(", minutes:").append(reminderMinutes);
|
AlertUtils.java | 203 long alarmTime, int minutes) { 214 values.put(CalendarAlerts.MINUTES, minutes);
|