/packages/apps/TV/src/com/android/tv/util/ |
TimeShiftUtils.java | 29 private static final long SHORT_PROGRAM_THRESHOLD_MILLIS = TimeUnit.MINUTES.toMillis(46);
|
/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));
|
/libcore/luni/src/test/java/libcore/java/time/ |
OffsetTimeTest.java | 50 NOON_UTC.plus(1, ChronoUnit.MINUTES)); 61 assertPlusIsNoop(0, ChronoUnit.MINUTES); 64 assertPlusIsNoop(24 * 60, ChronoUnit.MINUTES);
|
/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:
|
/art/test/030-bad-finalizer/src/ |
Main.java | 18 import static java.util.concurrent.TimeUnit.MINUTES; 40 finalizerWait.await(1, 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 | 57 mFakeClock.increment(TimeUnit.MINUTES, 6); 69 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; 116 long interval = intervalMinutes * MINUTES; 131 .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 | 35 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, 36 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, 37 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, 38 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, 64 {0.0, Direction.LAST, RelativeUnit.MINUTES, "0 minutes ago"}, 65 {0.5, Direction.LAST, RelativeUnit.MINUTES, "0.5 minutes ago"} [all...] |
/frameworks/base/services/core/java/com/android/server/ |
PreloadsFileCacheExpirationJobService.java | 53 long keepPreloadsMinTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(2) 55 long keepPreloadsMaxTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(3)
|
PruneInstantAppsJobService.java | 35 ? TimeUnit.MINUTES.toMillis(1) : TimeUnit.DAYS.toMillis(1);
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/serial/ |
TCKChronoUnitSerialization.java | 69 import static java.time.temporal.ChronoUnit.MINUTES; 108 {MINUTES},
|
/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 | 65 public static final int MINUTES = 1; 68 @IntDef({HOURS, MINUTES}) 203 * <li>{@link #MINUTES} 209 * {@code true} to switch to the {@link #MINUTES} 212 * {@link #MINUTES}. 223 * circle (5 on the minutes, 1 or 13 on the hours). 344 mPaint[MINUTES] = new Paint(); 345 mPaint[MINUTES].setAntiAlias(true); 346 mPaint[MINUTES].setTextAlign(Paint.Align.CENTER); 369 mTextSize[MINUTES] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
WifiHelperTest.java | 93 MockTestDeviceHelper.injectShellResponse(mMockDevice, null, 5, TimeUnit.MINUTES, 0, "", 95 MockTestDeviceHelper.injectShellResponse(mMockDevice, null, 5, TimeUnit.MINUTES, 0, 115 MockTestDeviceHelper.injectShellResponse(mMockDevice, expectedCommand, 5, TimeUnit.MINUTES, 126 MockTestDeviceHelper.injectShellResponse(mMockDevice, null, 5, TimeUnit.MINUTES, 0, 138 MockTestDeviceHelper.injectShellResponse(mMockDevice, null, 5, TimeUnit.MINUTES, 0,
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
WatchedHistoryManagerTest.java | 76 long duration = TimeUnit.MINUTES.toMillis(10); 94 long duration = TimeUnit.MINUTES.toMillis(10); 126 long duration = TimeUnit.MINUTES.toMillis(10);
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
AuptTestRunner.java | 186 TimeUnit.MINUTES.toMillis(parseLongParam("bugreportInterval", 0)), 187 TimeUnit.MINUTES.toMillis(parseLongParam("jankInterval", 0)), 188 TimeUnit.MINUTES.toMillis(parseLongParam("meminfoInterval", 0)), 189 TimeUnit.MINUTES.toMillis(parseLongParam("cpuinfoInterval", 0)), 190 TimeUnit.MINUTES.toMillis(parseLongParam("fragmentationInterval", 0)), 191 TimeUnit.MINUTES.toMillis(parseLongParam("ionInterval", 0)), 192 TimeUnit.MINUTES.toMillis(parseLongParam("pagetypeinfoInterval", 0)), 193 TimeUnit.MINUTES.toMillis(parseLongParam("traceInterval", 0)), 194 TimeUnit.MINUTES.toMillis(parseLongParam("bugreportzInterval", 0)), 199 TimeUnit.MINUTES.toMillis(parseLongParam("testCaseTimeout", DEFAULT_TEST_TIMEOUT)) [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
FbeHelper.java | 76 assertTrue("Failed to dismiss keyguard", latch.await(1, TimeUnit.MINUTES));
|
/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);
|