/external/icu/android_icu4j/cts-coverage/src/main/tests/android/icu/cts/coverage/text/ |
RelativeDateTimeFormatterTest.java | 47 RelativeDateTimeFormatter.RelativeUnit.MINUTES); 52 RelativeDateTimeFormatter.RelativeUnit.MINUTES);
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
FavoriteChannelEvaluatorTest.java | 86 durationMs += TimeUnit.MINUTES.toMillis(30); 106 TimeUnit.MINUTES.toMillis(30)); 107 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(30), 108 TimeUnit.MINUTES.toMillis(30)); 119 TimeUnit.MINUTES.toMillis(30)); 143 addWatchLog(channelId, latestWatchEndTimeMs, TimeUnit.MINUTES.toMillis(10));
|
RecentChannelEvaluatorTest.java | 113 long durationMs = TimeUnit.MINUTES.toMillis(10); 137 addWatchLog(newChannelId, latestWatchedEndTimeMs, TimeUnit.MINUTES.toMillis(10));
|
/external/guava/guava/src/com/google/common/base/ |
Stopwatch.java | 25 import static java.util.concurrent.TimeUnit.MINUTES; 232 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { 233 return MINUTES; 257 case MINUTES:
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Stopwatch.java | 25 import static java.util.concurrent.TimeUnit.MINUTES; 217 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { 218 return MINUTES; 242 case MINUTES:
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 112 * Minutes in localtime 0 - 59. 115 String MINUTES = "minutes"; 247 * Alarm minutes in localtime 0 - 59 250 String MINUTES = "minutes";
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
RecentChannelEvaluator.java | 22 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/ |
BaseDvrDataManagerTest.java | 56 mFakeClock.increment(TimeUnit.MINUTES, 6); 68 mFakeClock.currentTimeMillis() + TimeUnit.MINUTES.toMillis(5)))
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
TimeUnitTest.java | 15 import static java.util.concurrent.TimeUnit.MINUTES; 48 SECONDS.convert(t, MINUTES)); 63 MILLISECONDS.convert(t, MINUTES)); 78 MICROSECONDS.convert(t, MINUTES)); 93 NANOSECONDS.convert(t, MINUTES)); 116 MINUTES.toNanos(t)); 139 MINUTES.toMicros(t)); 162 MINUTES.toMillis(t)); 185 MINUTES.toSeconds(t)); 199 * minutes [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoService.java | 47 public static long MINUTES = 60 * SECONDS; 49 public static long INTERVAL_FLEX = 5 * MINUTES; 108 long interval = intervalMinutes * MINUTES; 123 .setContentTitle(String.format("Job scheduled in %d min", (interval / MINUTES)))
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 36 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, 37 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, 38 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, 39 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, 65 {0.0, Direction.LAST, RelativeUnit.MINUTES, "0 minutes ago"}, 66 {0.5, Direction.LAST, RelativeUnit.MINUTES, "0.5 minutes ago"} [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 32 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, 33 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, 34 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, 35 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, 61 {0.0, Direction.LAST, RelativeUnit.MINUTES, "0 minutes ago"}, 62 {0.5, Direction.LAST, RelativeUnit.MINUTES, "0.5 minutes ago"} [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramInfo.java | 62 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),
|
/frameworks/base/core/java/android/widget/ |
RadialTimePickerView.java | 64 public static final int MINUTES = 1; 67 @IntDef({HOURS, MINUTES}) 202 * <li>{@link #MINUTES} 208 * {@code true} to switch to the {@link #MINUTES} 211 * {@link #MINUTES}. 222 * circle (5 on the minutes, 1 or 13 on the hours). 343 mPaint[MINUTES] = new Paint(); 344 mPaint[MINUTES].setAntiAlias(true); 345 mPaint[MINUTES].setTextAlign(Paint.Align.CENTER); 368 mTextSize[MINUTES] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal) [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 94 assertEquals("0 minutes ago", 96 assertEquals("In 0 minutes", 128 long MINUTES = 60; 129 long HOURS = 60 * MINUTES; 130 test_formatElapsedTime("02:01", 2 * MINUTES + 1); 131 test_formatElapsedTime("3:02:01", 3 * HOURS + 2 * MINUTES + 1); 133 test_formatElapsedTime("123:02:01", 123 * HOURS + 2 * MINUTES + 1);
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
WatchedHistoryManagerTest.java | 80 long duration = TimeUnit.MINUTES.toMillis(10); 98 long duration = TimeUnit.MINUTES.toMillis(10); 130 long duration = TimeUnit.MINUTES.toMillis(10);
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
OwnerChangedBroadcastTest.java | 65 assertTrue(mPreferenceChanged.tryAcquire(2, TimeUnit.MINUTES));
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
WrappingScheduledExecutorServiceTest.java | 48 testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES); 49 mock.assertLastMethodCalled("scheduleRunnable", 10, TimeUnit.MINUTES); 58 testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, TimeUnit.MINUTES); 59 mock.assertLastMethodCalled("scheduleWithFixedDelay", 100, 10, TimeUnit.MINUTES);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeConstants.java | 147 * <p>A constant that represents the minutes field.</p> 149 public static final Field MINUTES = new Field("MINUTES", 4); 259 * W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes. 264 * W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarAlarmManager.java | 69 * has passed. Scheduling the check 15 minutes earlier than 24h to prevent the scheduler alarm 85 + " AND ca." + CalendarAlerts.MINUTES + "=r." + Reminders.MINUTES + ")" 90 + " OR (r." + Reminders.MINUTES + " ISNULL" 91 + " AND ca." + CalendarAlerts.MINUTES + "<>0)" 98 * least a few minutes to allow for an event that was recently created on 339 // are milliseconds) and Reminders.minutes (whose units are 340 // minutes). 345 // Note 1: we can add support for the case where Reminders.minutes 346 // equals -1 to mean use Calendars.minutes by adding a UNION fo 441 final int minutes = cursor.getInt(minutesIndex); local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderSpecTest.java | 282 assertEquals(TimeUnit.MINUTES, spec.writeExpirationTimeUnit); 285 CacheBuilder.newBuilder().expireAfterWrite(10L, TimeUnit.MINUTES), CacheBuilder.from(spec)); 331 assertEquals(TimeUnit.MINUTES, spec.accessExpirationTimeUnit); 334 CacheBuilder.newBuilder().expireAfterAccess(10L, TimeUnit.MINUTES), 383 assertEquals(TimeUnit.MINUTES, spec.writeExpirationTimeUnit); 390 .expireAfterWrite(9L, TimeUnit.MINUTES), 404 assertEquals(TimeUnit.MINUTES, spec.accessExpirationTimeUnit); 413 .expireAfterAccess(10L, TimeUnit.MINUTES) 543 .expireAfterAccess(10L, TimeUnit.MINUTES);
|
/developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScanResultAdapter.java | 144 long minutesSince = TimeUnit.MINUTES.convert(secondsSince, TimeUnit.SECONDS); 154 long hoursSince = TimeUnit.HOURS.convert(minutesSince, TimeUnit.MINUTES);
|
/developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/ |
ScanResultAdapter.java | 144 long minutesSince = TimeUnit.MINUTES.convert(secondsSince, TimeUnit.SECONDS); 154 long hoursSince = TimeUnit.HOURS.convert(minutesSince, TimeUnit.MINUTES);
|
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/ |
ScanResultAdapter.java | 144 long minutesSince = TimeUnit.MINUTES.convert(secondsSince, TimeUnit.SECONDS); 154 long hoursSince = TimeUnit.HOURS.convert(minutesSince, TimeUnit.MINUTES);
|
/packages/apps/TV/src/com/android/tv/dvr/ |
Scheduler.java | 46 private final static long SOON_DURATION_IN_MS = TimeUnit.MINUTES.toMillis(5); 47 @VisibleForTesting final static long MS_TO_WAKE_BEFORE_START = TimeUnit.MINUTES.toMillis(1);
|