Home
last modified time | relevance | path

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

12

/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java45 FakeTicker ticker = new FakeTicker(); in testAdvance() local
54 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
59 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
66 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
73 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
80 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
129 final FakeTicker ticker = in testConcurrentAutoIncrementStep() local
/external/guava/android/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java45 FakeTicker ticker = new FakeTicker(); in testAdvance() local
54 FakeTicker ticker = new FakeTicker(); in testAutoIncrementStep_returnsSameInstance() local
59 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(10, TimeUnit.NANOSECONDS); in testAutoIncrementStep_nanos() local
66 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(1, TimeUnit.MILLISECONDS); in testAutoIncrementStep_millis() local
73 FakeTicker ticker = new FakeTicker().setAutoIncrementStep(3, TimeUnit.SECONDS); in testAutoIncrementStep_seconds() local
80 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
129 final FakeTicker ticker = in testConcurrentAutoIncrementStep() local
/external/guava/android/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local
78 FakeTicker ticker, in checkExpiration()
91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite() local
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess() local
130 FakeTicker ticker, in runExpirationTest()
154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
[all …]
DCacheRefreshTest.java31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() local
/external/guava/guava-tests/test/com/google/common/cache/
DCacheExpirationTest.java50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local
63 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local
78 FakeTicker ticker, in checkExpiration()
91 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
96 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in checkExpiration() local
102 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterWrite() local
115 FakeTicker ticker = new FakeTicker(); in testExpiringGet_expireAfterAccess() local
130 FakeTicker ticker, in runExpirationTest()
154 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
169 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); in runExpirationTest() local
[all …]
DCacheRefreshTest.java31 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() 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/dagger2/java/dagger/producers/monitoring/
DTimingProductionComponentMonitor.java34 private final Ticker ticker; field in TimingProductionComponentMonitor
37 TimingProductionComponentMonitor(ProductionComponentTimingRecorder recorder, Ticker ticker) { in TimingProductionComponentMonitor()
50 private final Ticker ticker; field in TimingProductionComponentMonitor.Factory
56 Factory(ProductionComponentTimingRecorder.Factory recorderFactory, Ticker ticker) { in Factory()
/external/guava/android/guava/src/com/google/common/base/
DStopwatch.java82 private final Ticker ticker; field in Stopwatch
101 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
119 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
127 Stopwatch(Ticker ticker) { in Stopwatch()
/external/guava/guava/src/com/google/common/base/
DStopwatch.java85 private final Ticker ticker; field in Stopwatch
104 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted()
122 public static Stopwatch createStarted(Ticker ticker) { in createStarted()
130 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/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()
/external/jemalloc/test/unit/
Dticker.c7 ticker_t ticker; in TEST_BEGIN() local
32 ticker_t ticker; in TEST_BEGIN() local
/external/jemalloc_new/test/unit/
Dticker.c8 ticker_t ticker; in TEST_BEGIN() local
32 ticker_t ticker; in TEST_BEGIN() local
/external/dagger2/java/dagger/internal/codegen/
DDaggerStatisticsCollector.java36 private final Ticker ticker; field in DaggerStatisticsCollector
46 DaggerStatisticsCollector(Ticker ticker, Optional<DaggerStatisticsRecorder> statisticsRecorder) { in DaggerStatisticsCollector()
DSystemComponentsModule.java28 static Ticker ticker() { in ticker() method
/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/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DDelay.kt99 val ticker = fixedPeriodTicker(periodMillis) in sample() constant
/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DClockProvider.java48 private static Ticker ticker = SYSTEM_TICKER; field in ClockProvider
/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/android/guava/src/com/google/common/cache/
DCacheBuilder.java253 @MonotonicNonNullDecl Ticker ticker; field in CacheBuilder
758 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() argument

12