/external/guava/guava-tests/test/com/google/common/base/ |
D | StopwatchTest.java | 37 private final FakeTicker ticker = new FakeTicker(); field in StopwatchTest 38 private final Stopwatch stopwatch = new Stopwatch(ticker); 87 ticker.advance(1); in testReset_new() 90 ticker.advance(2); in testReset_new() 93 ticker.advance(3); in testReset_new() 98 ticker.advance(1); in testReset_whileRunning() 101 ticker.advance(2); in testReset_whileRunning() 105 ticker.advance(3); in testReset_whileRunning() 110 ticker.advance(78); in testElapsedTime_whileRunning() 114 ticker.advance(345); in testElapsedTime_whileRunning() [all …]
|
/external/chromium/chrome/common/ |
D | worker_thread_ticker_unittest.cc | 51 WorkerThreadTicker ticker(50); in TEST() local 52 EXPECT_FALSE(ticker.IsRunning()); in TEST() 53 EXPECT_TRUE(ticker.RegisterTickHandler(&callback)); in TEST() 54 EXPECT_TRUE(ticker.UnregisterTickHandler(&callback)); in TEST() 55 EXPECT_TRUE(ticker.Start()); in TEST() 56 EXPECT_FALSE(ticker.RegisterTickHandler(&callback)); in TEST() 57 EXPECT_FALSE(ticker.UnregisterTickHandler(&callback)); in TEST() 58 EXPECT_TRUE(ticker.IsRunning()); in TEST() 59 EXPECT_FALSE(ticker.Start()); // Can't start when it is running. in TEST() 60 EXPECT_TRUE(ticker.Stop()); in TEST() [all …]
|
D | worker_thread_ticker.cc | 16 explicit TimerTask(WorkerThreadTicker* ticker) : ticker_(ticker) { in TimerTask() argument
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheExpirationTest.java | 50 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterWrite() local 56 .ticker(ticker) in testExpiration_expireAfterWrite() 58 checkExpiration(cache, loader, ticker, removalListener); in testExpiration_expireAfterWrite() 62 FakeTicker ticker = new FakeTicker(); in testExpiration_expireAfterAccess() local 68 .ticker(ticker) in testExpiration_expireAfterAccess() 70 checkExpiration(cache, loader, ticker, removalListener); in testExpiration_expireAfterAccess() 74 FakeTicker ticker, CountingRemovalListener<String, Integer> removalListener) { in checkExpiration() argument 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 [all …]
|
D | CacheRefreshTest.java | 32 FakeTicker ticker = new FakeTicker(); in testAutoRefresh() local 38 .ticker(ticker) in testAutoRefresh() 47 ticker.advance(1, MILLISECONDS); in testAutoRefresh() 57 ticker.advance(1, MILLISECONDS); in testAutoRefresh() 67 ticker.advance(1, MILLISECONDS); in testAutoRefresh() 75 ticker.advance(1, MILLISECONDS); in testAutoRefresh() 83 ticker.advance(1, MILLISECONDS); in testAutoRefresh() 91 ticker.advance(1, MILLISECONDS); in testAutoRefresh()
|
D | LocalCacheTest.java | 137 assertSame(NULL_TICKER, map.ticker); in testDefaults() 377 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().ticker(testTicker)); in testSetTicker() 378 assertSame(testTicker, map.ticker); in testSetTicker() 818 FakeTicker ticker = new FakeTicker(); in testRemovalListener_expired() local 823 .ticker(ticker) in testRemovalListener_expired() 834 ticker.advance(1); in testRemovalListener_expired() 836 ticker.advance(1); in testRemovalListener_expired() 839 ticker.advance(1); in testRemovalListener_expired() 960 FakeTicker ticker = new FakeTicker(); in testSegmentGetAndContains() local 963 .ticker(ticker) in testSegmentGetAndContains() [all …]
|
D | CacheLoadingTest.java | 207 FakeTicker ticker = new FakeTicker(); in testRefresh() local 221 .ticker(ticker) in testRefresh() 238 ticker.advance(1, MILLISECONDS); in testRefresh() 246 ticker.advance(1, MILLISECONDS); in testRefresh() 254 ticker.advance(1, MILLISECONDS); in testRefresh() 266 FakeTicker ticker = new FakeTicker(); in testRefresh_getIfPresent() local 280 .ticker(ticker) in testRefresh_getIfPresent() 297 ticker.advance(1, MILLISECONDS); in testRefresh_getIfPresent() 305 ticker.advance(1, MILLISECONDS); in testRefresh_getIfPresent() 313 ticker.advance(1, MILLISECONDS); in testRefresh_getIfPresent() [all …]
|
D | CacheTesting.java | 408 static void expireEntries(Cache<?, ?> cache, long expiringTime, FakeTicker ticker) { 409 expireEntries(toLocalCache(cache), expiringTime, ticker); 413 LocalCache<?, ?> cchm, long expiringTime, FakeTicker ticker) { 419 ticker.advance(2 * expiringTime, TimeUnit.MILLISECONDS); 421 long now = ticker.read();
|
D | CacheBuilderTest.java | 353 new CacheBuilder<Object, Object>().ticker(testTicker); in testTicker_setTwice() 356 builder.ticker(testTicker); in testTicker_setTwice()
|
/external/guava/guava-tests/test/com/google/common/testing/ |
D | FakeTickerTest.java | 39 FakeTicker ticker = new FakeTicker(); in testAdvance() local 40 assertEquals(0, ticker.read()); in testAdvance() 41 assertSame(ticker, ticker.advance(10)); in testAdvance() 42 assertEquals(10, ticker.read()); in testAdvance() 43 ticker.advance(1, TimeUnit.MILLISECONDS); in testAdvance() 44 assertEquals(1000010L, ticker.read()); in testAdvance() 50 final FakeTicker ticker = new FakeTicker(); in testConcurrentAdvance() local 63 ticker.advance(1L); in testConcurrentAdvance() 65 ticker.advance(1L); in testConcurrentAdvance() 72 assertEquals(numberOfThreads * 2, ticker.read()); in testConcurrentAdvance()
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
D | Stopwatch.java | 73 private final Ticker ticker; field in Stopwatch 90 public Stopwatch(Ticker ticker) { in Stopwatch() argument 91 this.ticker = checkNotNull(ticker); in Stopwatch() 112 startTick = ticker.read(); in start() 124 long tick = ticker.read(); in stop() 144 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
|
/external/guava/guava/src/com/google/common/base/ |
D | Stopwatch.java | 74 private final Ticker ticker; field in Stopwatch 91 public Stopwatch(Ticker ticker) { in Stopwatch() argument 92 this.ticker = checkNotNull(ticker); in Stopwatch() 113 startTick = ticker.read(); in start() 125 long tick = ticker.read(); in stop() 145 return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos; in elapsedNanos()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 220 Ticker ticker; field in CacheBuilder 652 public CacheBuilder<K, V> ticker(Ticker ticker) { in ticker() argument 653 checkState(this.ticker == null); in ticker() 654 this.ticker = checkNotNull(ticker); in ticker() 659 if (ticker != null) { in getTicker() 660 return ticker; in getTicker()
|
D | LocalCache.java | 213 final Ticker ticker; field in LocalCache 253 ticker = builder.getTicker(recordsTime()); in LocalCache() 2213 long now = map.ticker.read(); in get() 2252 long now = map.ticker.read(); in lockedGetOrLoad() 2338 long now = map.ticker.read(); in waitForLoadingValue() 2441 long now = map.ticker.read(); in insertLoadingValueReference() 2784 long now = map.ticker.read(); in get() 2806 long now = map.ticker.read(); in containsKey() 2828 long now = map.ticker.read(); in containsValue() 2854 long now = map.ticker.read(); in put() [all …]
|
/external/chromium/base/ |
D | time_win.cc | 388 TickFunctionType ticker) { in SetMockTickFunction() argument 390 tick_function = ticker; in SetMockTickFunction()
|
D | time.h | 550 static TickFunctionType SetMockTickFunction(TickFunctionType ticker);
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 138 Ticker ticker; field in MapMaker 530 return firstNonNull(ticker, Ticker.systemTicker()); in getTicker()
|
D | MapMakerInternalMap.java | 191 final Ticker ticker; field in MapMakerInternalMap 210 ticker = builder.getTicker(); in MapMakerInternalMap() 1966 return isExpired(entry, ticker.read()); in isExpired() 2356 entry.setExpirationTime(map.ticker.read() + expirationNanos); in recordExpirationTime() 2382 long now = map.ticker.read(); in expireEntries()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | MainMenuActivity.java | 155 mTicker = findViewById(R.id.ticker); in onCreate()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapMakerInternalMapTest.java | 91 assertSame(Ticker.systemTicker(), map.ticker); in testDefaults()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2002-12-03 | 7777 the ticker on livepage.apple.com clipping properly. 7788 Make the news ticker on livepage.apple.com scroll properly.
|
D | ChangeLog-2005-08-23 | 23111 …9> 8A367: Dashboard: Stock widget not visible when click remove to remove single char ticker symbol
|
/external/webkit/Source/WebKit/mac/ |
D | ChangeLog-2006-02-09 | 27381 … Fixed: 3206018 - REGRESSION: Clicks on the BBC news ticker applet don't open story in new window 28054 - fixed 3204257 - CNN's 'war on iraq' ticker stops on mouseover 33861 - fixed 3133611 -- Java "ticker" applet renders badly when scrolling page
|
/external/webkit/PerformanceTests/Parser/resources/ |
D | final-url-en | 8437 http://investor.nuance.com/ireye/ir_site.zhtml?ticker=nuan&script=460&layout=6&item_id=282840 34291 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=AETC&script=400&layout=11 34292 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=BDK&script=1801 34293 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=SIAL&script=410&layout=-6&item_id=634263 34294 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=SIAL&script=410&layout=-6&item_id=671921 34295 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=alex&script=400&item_id=1020304050607 34296 http://www.corporate-ir.net/ireye/ir_site.zhtml?ticker=alex&script=400&layout=7&item_id=10203040506…
|