Home
last modified time | relevance | path

Searched defs:ticker (Results 1 – 25 of 36) sorted by relevance

12

/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
DFakeTickerTest.java35 FakeTicker ticker = new FakeTicker(); in testAdvance() local
44 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
49 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
56 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
63 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
70 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero() local
84 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative() local
/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java46 FakeTicker ticker = new FakeTicker(); in testAdvance() local
55 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
60 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
67 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
74 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
81 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_resetToZero() local
95 FakeTicker ticker = new FakeTicker(); in testAutoIncrement_negative() local
106 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance() local
128 final FakeTicker ticker = in testConcurrentAutoIncrementStep() local
/external/guava/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local
62 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local
74 FakeTicker ticker, CountingRemovalListener<String, Integer> removalListener) { in checkExpiration()
86 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
92 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
99 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite() local
111 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess() local
123 FakeTicker ticker, CountingRemovalListener<String, Integer> removalListener) { in runExpirationTest()
146 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
161 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
[all …]
DCacheRefreshTest.java32 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() local
DCacheLoadingTest.java211 FakeTicker ticker = new FakeTicker(); in testRefresh() local
271 FakeTicker ticker = new FakeTicker(); in testRefresh_getIfPresent() local
745 FakeTicker ticker = new FakeTicker(); in testRefreshNull() local
1024 FakeTicker ticker = new FakeTicker(); in testRefreshError() local
1346 FakeTicker ticker = new FakeTicker(); in testRefreshCheckedException() local
1618 FakeTicker ticker = new FakeTicker(); in testRefreshUncheckedException() local
/external/jemalloc_new/include/jemalloc/internal/
Dticker.h20 ticker_init(ticker_t *ticker, int32_t nticks) { in ticker_init()
26 ticker_copy(ticker_t *ticker, const ticker_t *other) { in ticker_copy()
31 ticker_read(const ticker_t *ticker) { in ticker_read()
59 ticker_fixup(ticker_t *ticker) { in ticker_fixup()
65 ticker_ticks(ticker_t *ticker, int32_t nticks) { in ticker_ticks()
74 ticker_tick(ticker_t *ticker) { in ticker_tick()
/external/jemalloc/include/jemalloc/internal/
Dticker.h33 ticker_init(ticker_t *ticker, int32_t nticks) in ticker_init()
41 ticker_copy(ticker_t *ticker, const ticker_t *other) in ticker_copy()
48 ticker_read(const ticker_t *ticker) in ticker_read()
55 ticker_ticks(ticker_t *ticker, int32_t nticks) in ticker_ticks()
67 ticker_tick(ticker_t *ticker) in ticker_tick()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DStopwatch.java76 private final Ticker ticker; field in Stopwatch
97 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
117 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
139 Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java77 private final Ticker ticker; field in Stopwatch
98 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
118 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
140 Stopwatch(Ticker ticker) { in Stopwatch()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DDeadline.java51 static Deadline after(long duration, TimeUnit units, Ticker ticker) { in after()
56 private final Ticker ticker; field in Deadline
60 private Deadline(Ticker ticker, long offset, boolean baseInstantAlreadyExpired) { in Deadline()
64 private Deadline(Ticker ticker, long baseInstant, long offset, in Deadline()
/external/caliper/caliper/src/main/java/com/google/caliper/worker/
DRuntimeWorker.java45 protected final Ticker ticker; field in RuntimeWorker
52 Method method, Random random, Ticker ticker, in RuntimeWorker()
105 @BenchmarkMethod Method method, Random random, Ticker ticker, in Micro()
131 @BenchmarkMethod Method method, Random random, Ticker ticker, in Pico()
DMacrobenchmarkWorker.java48 Ticker ticker, @WorkerOptions Map<String, String> workerOptions) { in MacrobenchmarkWorker()
/external/jemalloc/test/unit/
Dticker.c7 ticker_t ticker; in TEST_BEGIN() local
32 ticker_t ticker; in TEST_BEGIN() local
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DMaxConnectionIdleManagerTest.java39 private final Ticker ticker = new Ticker() { field in MaxConnectionIdleManagerTest
105 TestMaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in TestMaxConnectionIdleManager()
DKeepAliveEnforcerTest.java31 private FakeTicker ticker = new FakeTicker(); field in KeepAliveEnforcerTest
/external/jemalloc_new/test/unit/
Dticker.c8 ticker_t ticker; in TEST_BEGIN() local
32 ticker_t ticker; in TEST_BEGIN() local
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DMaxConnectionIdleManager.java39 private final Ticker ticker; field in MaxConnectionIdleManager
54 MaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in MaxConnectionIdleManager()
DKeepAliveEnforcer.java33 private final Ticker ticker; field in KeepAliveEnforcer
45 KeepAliveEnforcer(boolean permitWithoutCalls, long minTime, TimeUnit unit, Ticker ticker) { in KeepAliveEnforcer()
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DClockProvider.java48 private static Ticker ticker = SYSTEM_TICKER; field in ClockProvider
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DCacheBuilder.java230 Ticker ticker; field in CacheBuilder
455 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() method in CacheBuilder
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DKeepAliveManager.java38 private final Ticker ticker; field in KeepAliveManager
134 Ticker ticker, long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in KeepAliveManager()
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java236 Ticker ticker; field in CacheBuilder
700 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() method in CacheBuilder
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DGrpcCleanupRule.java79 GrpcCleanupRule setTicker(Ticker ticker) { in setTicker()
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DStopwatchTest.java36 private final FakeTicker ticker = new FakeTicker(); field in StopwatchTest
/external/guava/guava-tests/test/com/google/common/base/
DStopwatchTest.java37 private final FakeTicker ticker = new FakeTicker(); field in StopwatchTest

12