/external/chromium_org/chrome/common/ |
worker_thread_ticker_unittest.cc | 52 WorkerThreadTicker ticker(50); 53 EXPECT_FALSE(ticker.IsRunning()); 54 EXPECT_TRUE(ticker.RegisterTickHandler(&callback)); 55 EXPECT_TRUE(ticker.UnregisterTickHandler(&callback)); 56 EXPECT_TRUE(ticker.Start()); 57 EXPECT_FALSE(ticker.RegisterTickHandler(&callback)); 58 EXPECT_FALSE(ticker.UnregisterTickHandler(&callback)); 59 EXPECT_TRUE(ticker.IsRunning()); 60 EXPECT_FALSE(ticker.Start()); // Can't start when it is running. 61 EXPECT_TRUE(ticker.Stop()) [all...] |
/external/guava/guava-tests/test/com/google/common/testing/ |
FakeTickerTest.java | 39 FakeTicker ticker = new FakeTicker(); local 40 assertEquals(0, ticker.read()); 41 assertSame(ticker, ticker.advance(10)); 42 assertEquals(10, ticker.read()); 43 ticker.advance(1, TimeUnit.MILLISECONDS); 44 assertEquals(1000010L, ticker.read()); 50 final FakeTicker ticker = new FakeTicker(); local 60 // adds two nanoseconds to the ticker 63 ticker.advance(1L) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
StopwatchTest.java | 37 private final FakeTicker ticker = new FakeTicker(); field in class:StopwatchTest 38 private final Stopwatch stopwatch = new Stopwatch(ticker); 87 ticker.advance(1); 90 ticker.advance(2); 93 ticker.advance(3); 98 ticker.advance(1); 101 ticker.advance(2); 105 ticker.advance(3); 110 ticker.advance(78); 114 ticker.advance(345) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheExpirationTest.java | 50 FakeTicker ticker = new FakeTicker(); local 56 .ticker(ticker) 58 checkExpiration(cache, loader, ticker, removalListener); 62 FakeTicker ticker = new FakeTicker(); local 68 .ticker(ticker) 70 checkExpiration(cache, loader, ticker, removalListener); 74 FakeTicker ticker, CountingRemovalListener<String, Integer> removalListener) { 86 CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); 99 FakeTicker ticker = new FakeTicker(); local 111 FakeTicker ticker = new FakeTicker(); local 172 FakeTicker ticker = new FakeTicker(); local 213 FakeTicker ticker = new FakeTicker(); local 225 FakeTicker ticker = new FakeTicker(); local 237 FakeTicker ticker = new FakeTicker(); local 251 FakeTicker ticker = new FakeTicker(); local 303 FakeTicker ticker = new FakeTicker(); local 350 FakeTicker ticker = new FakeTicker(); local [all...] |
CacheRefreshTest.java | 32 FakeTicker ticker = new FakeTicker(); local 38 .ticker(ticker) 47 ticker.advance(1, MILLISECONDS); 57 ticker.advance(1, MILLISECONDS); 67 ticker.advance(1, MILLISECONDS); 75 ticker.advance(1, MILLISECONDS); 83 ticker.advance(1, MILLISECONDS); 91 ticker.advance(1, MILLISECONDS);
|
LocalCacheTest.java | 36 import com.google.common.base.Ticker; 137 assertSame(NULL_TICKER, map.ticker); 371 Ticker testTicker = new Ticker() { 377 LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder().ticker(testTicker)); 378 assertSame(testTicker, map.ticker); 818 FakeTicker ticker = new FakeTicker(); local 823 .ticker(ticker) 834 ticker.advance(1) 960 FakeTicker ticker = new FakeTicker(); local 2038 FakeTicker ticker = new FakeTicker(); local 2077 FakeTicker ticker = new FakeTicker(); local 2306 Ticker ticker = new SerializableTicker(); local 2362 Ticker ticker = new SerializableTicker(); local [all...] |
CacheLoadingTest.java | 207 FakeTicker ticker = new FakeTicker(); local 221 .ticker(ticker) 238 ticker.advance(1, MILLISECONDS); 246 ticker.advance(1, MILLISECONDS); 254 ticker.advance(1, MILLISECONDS); 266 FakeTicker ticker = new FakeTicker(); local 280 .ticker(ticker) 297 ticker.advance(1, MILLISECONDS) 737 FakeTicker ticker = new FakeTicker(); local 1013 FakeTicker ticker = new FakeTicker(); local 1257 FakeTicker ticker = new FakeTicker(); local 1501 FakeTicker ticker = new FakeTicker(); local [all...] |
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();
|
CacheBuilderTest.java | 30 import com.google.common.base.Ticker; 349 @GwtIncompatible("ticker") 351 Ticker testTicker = Ticker.systemTicker(); 353 new CacheBuilder<Object, Object>().ticker(testTicker); 356 builder.ticker(testTicker);
|
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
Stopwatch.java | 61 * #Stopwatch(Ticker) alternate constructor} to supply a fake or mock ticker. 73 private final Ticker ticker; field in class:Stopwatch 83 this(Ticker.systemTicker()); 90 public Stopwatch(Ticker ticker) { 91 this.ticker = checkNotNull(ticker); 112 startTick = ticker.read() [all...] |
/external/guava/guava/src/com/google/common/base/ |
Stopwatch.java | 62 * #Stopwatch(Ticker) alternate constructor} to supply a fake or mock ticker. 74 private final Ticker ticker; field in class:Stopwatch 84 this(Ticker.systemTicker()); 91 public Stopwatch(Ticker ticker) { 92 this.ticker = checkNotNull(ticker); 113 startTick = ticker.read() [all...] |
/cts/suite/cts/utils/ |
grapher.py | 22 import matplotlib.ticker as ticker namespace
|
/external/guava/guava/src/com/google/common/cache/ |
CacheBuilder.java | 33 import com.google.common.base.Ticker; 190 static final Ticker NULL_TICKER = new Ticker() { 220 Ticker ticker; field in class:CacheBuilder 649 * @throws IllegalStateException if a ticker was already set 652 public CacheBuilder<K, V> ticker(Ticker ticker) { method in class:CacheBuilder 653 checkState(this.ticker == null) [all...] |
LocalCache.java | 30 import com.google.common.base.Ticker; 213 final Ticker ticker; field in class:LocalCache 253 ticker = builder.getTicker(recordsTime()); [all...] |
/packages/apps/Email/src/com/android/email/ |
EmailNotificationController.java | 122 * @param ticker Text displayed when the notification is first shown. May be {@code null}. 132 String ticker, CharSequence title, String contentText, Intent intent, 141 // NOTE: the ticker is not shown for notifications in the Holo UX 149 .setTicker(ticker) 164 * @param ticker Text displayed when the notification is first shown. May be {@code null}. 170 private void showNotification(long accountId, String ticker, String title, 173 ticker, title, contentText, intent, null, true, 461 final String ticker = local 464 showNotification(accountId, ticker, title, accountName, intent, 482 final String ticker = mContext.getString(R.string.password_expired_ticker) local 505 String ticker = local 521 final String ticker = local 538 final String ticker = local [all...] |
/external/chromium_org/base/time/ |
time_win.cc | 493 TickFunctionType ticker) { 496 tick_function = ticker;
|
time.h | 718 static TickFunctionType SetMockTickFunction(TickFunctionType ticker);
|
/frameworks/base/core/tests/overlaytests/ |
testrunner.py | 50 class Ticker(threading.Thread): 84 self.ticker = VerbosePrinter.Ticker(self.cond_var, self.text) 85 self.ticker.start() 88 self.ticker.stop() 89 self.ticker.join() 90 self.ticker = None 99 self.ticker = None
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
MessagingNotification.java | 357 public MmsSmsDeliveryInfo(CharSequence ticker, long timeMillis) { 358 mTicker = ticker; 386 * @param ticker text displayed ticker-style across the notification, typically formatted 397 CharSequence ticker, long timeMillis, String title, 404 mTicker = ticker; 781 CharSequence ticker = buildTickerMessage( local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
MapMaker.java | 30 import com.google.common.base.Ticker; 139 Ticker ticker; field in class:MapMaker 530 Ticker getTicker() { 531 return firstNonNull(ticker, Ticker.systemTicker()); [all...] |
MapMakerInternalMap.java | 23 import com.google.common.base.Ticker; 191 final Ticker ticker; field in class:MapMakerInternalMap 210 ticker = builder.getTicker(); [all...] |
/frameworks/base/location/java/com/android/internal/location/ |
GpsNetInitiatedHandler.java | 568 String ticker = String.format(context.getString(R.string.gpsNotifTicker), local 571 return ticker;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
Ticker.java | 39 public abstract class Ticker { 153 public Ticker(Context context, View sb) { 160 mTickerView = sb.findViewById(R.id.ticker);
|
/external/replicaisland/src/com/replica/replicaisland/ |
MainMenuActivity.java | 155 mTicker = findViewById(R.id.ticker);
|
/prebuilts/misc/common/tradefed/ |
tradefed-prebuilt.jar | |