Home
last modified time | relevance | path

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

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java38 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
39 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
40 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
41 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
67 {0.0, Direction.LAST, RelativeUnit.MINUTES, "0 minutes ago"}, in TestRelativeDateWithQuantity()
68 {0.5, Direction.LAST, RelativeUnit.MINUTES, "0.5 minutes ago"}, in TestRelativeDateWithQuantity()
69 {1.0, Direction.LAST, RelativeUnit.MINUTES, "1 minute ago"}, in TestRelativeDateWithQuantity()
70 {2.0, Direction.LAST, RelativeUnit.MINUTES, "2 minutes ago"}, in TestRelativeDateWithQuantity()
108 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "In 0 minutes"}, in TestRelativeDateWithQuantityCaps()
109 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "In 0.5 minutes"}, in TestRelativeDateWithQuantityCaps()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRelativeDateTimeFormatterTest.java41 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "in 0 minutes"}, in TestRelativeDateWithQuantity()
42 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "in 0.5 minutes"}, in TestRelativeDateWithQuantity()
43 {1.0, Direction.NEXT, RelativeUnit.MINUTES, "in 1 minute"}, in TestRelativeDateWithQuantity()
44 {2.0, Direction.NEXT, RelativeUnit.MINUTES, "in 2 minutes"}, in TestRelativeDateWithQuantity()
70 {0.0, Direction.LAST, RelativeUnit.MINUTES, "0 minutes ago"}, in TestRelativeDateWithQuantity()
71 {0.5, Direction.LAST, RelativeUnit.MINUTES, "0.5 minutes ago"}, in TestRelativeDateWithQuantity()
72 {1.0, Direction.LAST, RelativeUnit.MINUTES, "1 minute ago"}, in TestRelativeDateWithQuantity()
73 {2.0, Direction.LAST, RelativeUnit.MINUTES, "2 minutes ago"}, in TestRelativeDateWithQuantity()
111 {0.0, Direction.NEXT, RelativeUnit.MINUTES, "In 0 minutes"}, in TestRelativeDateWithQuantityCaps()
112 {0.5, Direction.NEXT, RelativeUnit.MINUTES, "In 0.5 minutes"}, in TestRelativeDateWithQuantityCaps()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java25 import static java.util.concurrent.TimeUnit.MINUTES;
217 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
218 return MINUTES; in chooseUnit()
242 case MINUTES: in abbreviate()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java25 import static java.util.concurrent.TimeUnit.MINUTES;
232 if (MINUTES.convert(nanos, NANOSECONDS) > 0) { in chooseUnit()
233 return MINUTES; in chooseUnit()
257 case MINUTES: in abbreviate()
/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderSpecTest.java282 assertEquals(TimeUnit.MINUTES, spec.writeExpirationTimeUnit); in testParse_writeExpirationMinutes()
285 CacheBuilder.newBuilder().expireAfterWrite(10L, TimeUnit.MINUTES), CacheBuilder.from(spec)); in testParse_writeExpirationMinutes()
331 assertEquals(TimeUnit.MINUTES, spec.accessExpirationTimeUnit); in testParse_accessExpirationMinutes()
334 CacheBuilder.newBuilder().expireAfterAccess(10L, TimeUnit.MINUTES), in testParse_accessExpirationMinutes()
383 assertEquals(TimeUnit.MINUTES, spec.writeExpirationTimeUnit); in testParse_accessExpirationAndWriteExpiration()
390 .expireAfterWrite(9L, TimeUnit.MINUTES), in testParse_accessExpirationAndWriteExpiration()
404 assertEquals(TimeUnit.MINUTES, spec.accessExpirationTimeUnit); in testParse_multipleKeys()
413 .expireAfterAccess(10L, TimeUnit.MINUTES) in testParse_multipleKeys()
543 .expireAfterAccess(10L, TimeUnit.MINUTES); in testCacheBuilderFrom_string()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowUsageStatsManagerTest.java196 12, new String[] {"com.package1", "com.package2"}, 123L, TimeUnit.MINUTES, pendingIntent1); in testRegisterAppUsageObserver_uniqueObserverIds_shouldAddBothObservers()
207 TimeUnit.MINUTES, in testRegisterAppUsageObserver_uniqueObserverIds_shouldAddBothObservers()
218 12, new String[] {"com.package1", "com.package2"}, 123L, TimeUnit.MINUTES, pendingIntent1); in testRegisterAppUsageObserver_duplicateObserverIds_shouldOverrideExistingObserver()
234 12, new String[] {"com.package1", "com.package2"}, 123L, TimeUnit.MINUTES, pendingIntent1); in testUnregisterAppUsageObserver_existingObserverId_shouldRemoveObserver()
252 12, new String[] {"com.package1", "com.package2"}, 123L, TimeUnit.MINUTES, pendingIntent1); in testUnregisterAppUsageObserver_nonExistentObserverId_shouldBeNoOp()
265 TimeUnit.MINUTES, in testUnregisterAppUsageObserver_nonExistentObserverId_shouldBeNoOp()
276 12, new String[] {"com.package1", "com.package2"}, 123L, TimeUnit.MINUTES, pendingIntent1); in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
298 TimeUnit.MINUTES, in testTriggerRegisteredAppUsageObserver_shouldSendIntentAndRemoveObserver()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DWrappingScheduledExecutorServiceTest.java48 testExecutor.schedule(DO_NOTHING, 10, TimeUnit.MINUTES); in testSchedule()
49 mock.assertLastMethodCalled("scheduleRunnable", 10, TimeUnit.MINUTES); in testSchedule()
58 testExecutor.scheduleWithFixedDelay(DO_NOTHING, 100, 10, TimeUnit.MINUTES); in testSchedule_repeating()
59 mock.assertLastMethodCalled("scheduleWithFixedDelay", 100, 10, TimeUnit.MINUTES); in testSchedule_repeating()
DMoreExecutorsTest.java364 future = service.schedule(runnable, 5, TimeUnit.MINUTES); in testListeningDecorator_cancelled()
372 future = service.scheduleAtFixedRate(runnable, 5, 5, TimeUnit.MINUTES); in testListeningDecorator_cancelled()
380 future = service.scheduleWithFixedDelay(runnable, 5, 5, TimeUnit.MINUTES); in testListeningDecorator_cancelled()
DCycleDetectingLockFactoryTest.java520 finishLatch.await(1, TimeUnit.MINUTES); in run()
529 locked.await(1, TimeUnit.MINUTES); in waitUntilHoldingLock()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcServerRule.java103 channel.awaitTermination(1, TimeUnit.MINUTES); in after()
104 server.awaitTermination(1, TimeUnit.MINUTES); in after()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DWorkerProcessTest.java19 import static java.util.concurrent.TimeUnit.MINUTES;
119 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker(); in shutdownHook_exitValueThrows()
148 FakeWorkers.Sleeper.class, Long.toString(MINUTES.toMillis(1))).startWorker(); in shutdownHook_destroy()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyServerHandlerTest.java573 keepAliveTimeoutInNanos = TimeUnit.MINUTES.toNanos(30L); in keepAliveManager_pingSent()
687 maxConnectionIdleInNanos = TimeUnit.MINUTES.toNanos(30L); in noGoAwaySentBeforeMaxConnectionIdleReached()
690 fakeClock().forwardTime(20, TimeUnit.MINUTES); in noGoAwaySentBeforeMaxConnectionIdleReached()
846 maxConnectionAgeInNanos = TimeUnit.MINUTES.toNanos(30L); in noGoAwaySentBeforeMaxConnectionAgeReached()
849 fakeClock().forwardTime(20, TimeUnit.MINUTES); in noGoAwaySentBeforeMaxConnectionAgeReached()
928 maxConnectionAgeGraceInNanos = TimeUnit.MINUTES.toNanos(30L); in maxConnectionAgeGrace_channelStillOpenDuringGracePeriod()
945 fakeClock().forwardTime(20, TimeUnit.MINUTES); in maxConnectionAgeGrace_channelStillOpenDuringGracePeriod()
959 maxConnectionAgeGraceInNanos = TimeUnit.MINUTES.toNanos(30L); // greater than ping timeout in maxConnectionAgeGrace_channelClosedAfterGracePeriod_withPingTimeout()
997 maxConnectionAgeGraceInNanos = TimeUnit.MINUTES.toNanos(30L); // greater than ping timeout in maxConnectionAgeGrace_channelClosedAfterGracePeriod_withPingAck()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java654 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverLowerSharedMaxAge()
661 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverHigherMaxAge()
980 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES)) in requestMaxAge()
996 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestMinFresh()
1011 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStale()
1029 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStaleDirectiveWithNoValue()
1047 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStaleNotHonoredWithMustRevalidate()
1070 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestOnlyIfCachedWithFullResponseCached()
1082 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES))); in requestOnlyIfCachedWithConditionalResponseCached()
1142 String lastModifiedDate = formatDate(-3, TimeUnit.MINUTES); in clientSuppliedIfNoneMatchSinceWithCachedResult()
[all …]
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DDeadlineTest.java123 assertEquals(10, Deadline.after(10, TimeUnit.MINUTES, ticker).timeRemaining(TimeUnit.MINUTES)); in deadlineMatchesLongValue()
219 Deadline d = Deadline.after(-1, TimeUnit.MINUTES, ticker); in toString_after()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DCallOptionsTest.java24 import static java.util.concurrent.TimeUnit.MINUTES;
135 Deadline actual = CallOptions.DEFAULT.withDeadlineAfter(1, MINUTES).getDeadline(); in withDeadlineAfter()
136 Deadline expected = Deadline.after(1, MINUTES); in withDeadlineAfter()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DUrlConnectionCacheTest.java582 assertFullyCached(new MockResponse().addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverLowerSharedMaxAge()
588 assertNotCached(new MockResponse().addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverHigherMaxAge()
870 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES)) in requestMaxAge()
884 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestMinFresh()
897 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStale()
912 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStaleNotHonoredWithMustRevalidate()
936 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestOnlyIfCachedWithFullResponseCached()
950 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES))); in requestOnlyIfCachedWithConditionalResponseCached()
1014 String lastModifiedDate = formatDate(-3, TimeUnit.MINUTES); in clientSuppliedIfNoneMatchSinceWithCachedResult()
1016 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in clientSuppliedIfNoneMatchSinceWithCachedResult()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DCacheTest.java691 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverLowerSharedMaxAge()
698 .addHeader("Date: " + formatDate(-2, TimeUnit.MINUTES)) in maxAgePreferredOverHigherMaxAge()
1043 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES)) in requestMaxAge()
1062 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestMinFresh()
1080 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStale()
1100 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStaleDirectiveWithNoValue()
1120 .addHeader("Date: " + formatDate(-4, TimeUnit.MINUTES))); in requestMaxStaleNotHonoredWithMustRevalidate()
1153 .addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))); in requestOnlyIfCachedWithFullResponseCached()
1171 .addHeader("Date: " + formatDate(-1, TimeUnit.MINUTES))); in requestOnlyIfCachedWithConditionalResponseCached()
1253 String lastModifiedDate = formatDate(-3, TimeUnit.MINUTES); in clientSuppliedIfNoneMatchSinceWithCachedResult()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DFakeClockTest.java111 fakeClock.forwardTime(10L, TimeUnit.MINUTES); in testStopWatch()
112 expectedElapsedNanos += TimeUnit.MINUTES.toNanos(10L); in testStopWatch()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DExponentialBackoffPolicy.java41 private long maxBackoffNanos = TimeUnit.MINUTES.toNanos(2);
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/
DRouteGuideClient.java190 if (!finishLatch.await(1, TimeUnit.MINUTES)) { in recordRoute()
278 if (!finishLatch.await(1, TimeUnit.MINUTES)) { in main()
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DParsedOptions.java18 import static java.util.concurrent.TimeUnit.MINUTES;
144 private ShortDuration runTime = ShortDuration.of(5, MINUTES);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DICUDurationTest.java73 fields.put(DatatypeConstants.MINUTES, m); in ICUTestDuration()
88 if (m >= 0) { fields.put(DatatypeConstants.MINUTES, m); } in ICUTestDuration()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DICUDurationTest.java76 fields.put(DatatypeConstants.MINUTES, m); in ICUTestDuration()
91 if (m >= 0) { fields.put(DatatypeConstants.MINUTES, m); } in ICUTestDuration()
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/java/io/grpc/routeguideexample/
DRouteGuideActivity.java339 if (!finishLatch.await(1, TimeUnit.MINUTES)) { in recordRoute()
421 if (!finishLatch.await(1, TimeUnit.MINUTES)) { in routeChat()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DBasicDurationFormat.java100 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration()

123