/external/guava/guava/src/com/google/common/base/ |
D | Ticker.java | 31 public abstract class Ticker { class 33 protected Ticker() {} in Ticker() method in Ticker 43 public static Ticker systemTicker() { in systemTicker() 47 private static final Ticker SYSTEM_TICKER = 48 new Ticker() {
|
D | Stopwatch.java | 93 private final Ticker ticker; 112 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted() 130 public static Stopwatch createStarted(Ticker ticker) { in createStarted() 135 this.ticker = Ticker.systemTicker(); in Stopwatch() 138 Stopwatch(Ticker ticker) { in Stopwatch()
|
/external/guava/android/guava/src/com/google/common/base/ |
D | Ticker.java | 31 public abstract class Ticker { class 33 protected Ticker() {} in Ticker() method in Ticker 43 public static Ticker systemTicker() { in systemTicker() 47 private static final Ticker SYSTEM_TICKER = 48 new Ticker() {
|
D | Stopwatch.java | 91 private final Ticker ticker; 110 public static Stopwatch createUnstarted(Ticker ticker) { in createUnstarted() 128 public static Stopwatch createStarted(Ticker ticker) { in createStarted() 133 this.ticker = Ticker.systemTicker(); in Stopwatch() 136 Stopwatch(Ticker ticker) { in Stopwatch()
|
/external/dagger2/java/dagger/producers/monitoring/ |
D | TimingProductionComponentMonitor.java | 20 import com.google.common.base.Ticker; 34 private final Ticker ticker; 37 TimingProductionComponentMonitor(ProductionComponentTimingRecorder recorder, Ticker ticker) { in TimingProductionComponentMonitor() 50 private final Ticker ticker; 53 this(recorderFactory, Ticker.systemTicker()); in Factory() 56 Factory(ProductionComponentTimingRecorder.Factory recorderFactory, Ticker ticker) { in Factory()
|
D | TimingProducerMonitor.java | 22 import com.google.common.base.Ticker; 36 ProducerTimingRecorder recorder, Ticker ticker, Stopwatch componentStopwatch) { in TimingProducerMonitor()
|
/external/grpc-grpc-java/context/src/main/java/io/grpc/ |
D | Deadline.java | 51 static Deadline after(long duration, TimeUnit units, Ticker ticker) { in after() 56 private final Ticker ticker; 60 private Deadline(Ticker ticker, long offset, boolean baseInstantAlreadyExpired) { in Deadline() 64 private Deadline(Ticker ticker, long baseInstant, long offset, in Deadline() 160 abstract static class Ticker { class in Deadline 165 private static class SystemTicker extends Ticker {
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | MaxConnectionIdleManager.java | 31 private static final Ticker systemTicker = new Ticker() { 39 private final Ticker ticker; 54 MaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in MaxConnectionIdleManager() 127 interface Ticker { interface in MaxConnectionIdleManager
|
D | KeepAliveEnforcer.java | 33 private final Ticker ticker; 45 KeepAliveEnforcer(boolean permitWithoutCalls, long minTime, TimeUnit unit, Ticker ticker) { in KeepAliveEnforcer() 104 interface Ticker { interface in KeepAliveEnforcer 109 static class SystemTicker implements Ticker {
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | MaxConnectionIdleManagerTest.java | 26 import io.grpc.netty.MaxConnectionIdleManager.Ticker; 39 private final Ticker ticker = new Ticker() { 105 TestMaxConnectionIdleManager(long maxConnectionIdleInNanos, Ticker ticker) { in TestMaxConnectionIdleManager()
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
D | RuntimeWorker.java | 29 import com.google.common.base.Ticker; 45 protected final Ticker ticker; 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()
|
D | WorkerModule.java | 24 import com.google.common.base.Ticker; 126 static Ticker provideTicker() { in provideTicker() 127 return Ticker.systemTicker(); in provideTicker()
|
D | MacrobenchmarkWorker.java | 30 import com.google.common.base.Ticker; 48 Ticker ticker, @WorkerOptions Map<String, String> workerOptions) { in MacrobenchmarkWorker()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | KeepAliveManager.java | 38 private final Ticker ticker; 134 Ticker ticker, long keepAliveTimeInNanos, long keepAliveTimeoutInNanos, in KeepAliveManager() 291 abstract static class Ticker { class in KeepAliveManager 296 private static class SystemTicker extends Ticker {
|
/external/setupcompat/main/java/com/google/android/setupcompat/internal/ |
D | ClockProvider.java | 47 private static final Ticker SYSTEM_TICKER = () -> System.nanoTime(); 48 private static Ticker ticker = SYSTEM_TICKER;
|
D | Ticker.java | 25 public interface Ticker { interface
|
/external/guava/android/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 28 import com.google.common.base.Ticker; 216 static final Ticker NULL_TICKER = 217 new Ticker() { 252 @NullableDecl Ticker ticker; 762 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() 768 Ticker getTicker(boolean recordsTime) { in getTicker() 772 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 23 import com.google.common.base.Ticker; 40 public class FakeTicker extends Ticker {
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 28 import com.google.common.base.Ticker; 215 static final Ticker NULL_TICKER = 216 new Ticker() { 251 @Nullable Ticker ticker; 862 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() 868 Ticker getTicker(boolean recordsTime) { in getTicker() 872 return recordsTime ? Ticker.systemTicker() : NULL_TICKER; in getTicker()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | FakeClock.java | 21 import com.google.common.base.Ticker; 56 private final Ticker ticker = 57 new Ticker() { 207 public Ticker getTicker() { in getTicker()
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | FakeTicker.java | 24 import com.google.common.base.Ticker; 41 public class FakeTicker extends Ticker {
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | GrpcCleanupRule.java | 24 import com.google.common.base.Ticker; 79 GrpcCleanupRule setTicker(Ticker ticker) { in setTicker()
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | LocalCache.java | 24 import com.google.common.base.Ticker; 59 private final Ticker ticker; 81 this.ticker = firstNonNull(builder.ticker, Ticker.systemTicker()); in LocalCache() 308 private final Ticker ticker; 312 public Timestamped(V value, Ticker ticker) { in Timestamped()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | NanoTimeGranularityTester.java | 23 import com.google.common.base.Ticker;
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | CallOptionsTest.java | 47 private final Deadline.Ticker ticker = new FakeTicker(); 234 private static class FakeTicker extends Deadline.Ticker {
|