HomeSort by relevance Sort by last modified time
    Searched refs:mClock (Results 1 - 12 of 12) sorted by null

  /packages/apps/Email/tests/src/com/android/email/activity/
UIControllerTwoPaneRefreshTaskTest.java 40 private MockClock mClock = new MockClock();
47 mClock, null);
61 getContext(), ACCOUNT_ID, MAILBOX_ID, mClock, mRefreshManager);
65 mClock.mTime = 123456789;
80 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime;
85 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime + 1;
90 mClock.mTime = mRefreshManager.mLastMailboxListRefresTime
95 mClock.advance();
104 getContext(), ACCOUNT_ID, MAILBOX_ID, mClock, mRefreshManager);
108 mClock.mTime = 123456789
    [all...]
  /packages/apps/Email/tests/src/com/android/email/
ThrottleTest.java 33 private final MockClock mClock = new MockClock();
34 private final MockTimer mTimer = new MockTimer(mClock);
36 MIN_TIMEOUT, MAX_TIMEOUT, mClock, mTimer);
42 mClock.advance(milliseconds);
122 mClock.advance(10);
127 mClock.advance(Throttle.TIMEOUT_EXTEND_INTERVAL);
132 mClock.advance(Throttle.TIMEOUT_EXTEND_INTERVAL);
137 mClock.advance(Throttle.TIMEOUT_EXTEND_INTERVAL + 1);
167 private final Clock mClock;
177 mClock = clock
    [all...]
RefreshManagerTest.java 34 private MockClock mClock;
56 mClock = new MockClock();
61 mTarget = new RefreshManager(mProviderContext, mController, mClock, null);
92 s.onCallback(null, 0, mClock);
98 s.onCallback(null, 50, mClock);
104 s.onCallback(null, 100, mClock);
107 assertEquals(mClock.mTime, s.getLastRefreshTime());
110 s.onCallback(null, 0, mClock);
113 assertEquals(mClock.mTime, s.getLastRefreshTime());
115 mClock.advance()
    [all...]
  /frameworks/base/include/utils/
StopWatch.h 45 int mClock;
  /frameworks/base/libs/utils/
StopWatch.cpp 33 : mName(name), mClock(clock), mFlags(flags)
71 return systemTime(mClock) - mStartTime;
77 mStartTime = systemTime(mClock);
  /packages/apps/Email/src/com/android/email/view/
RigidWebView.java 51 private final Clock mClock = Clock.INSTANCE;
70 long now = mClock.getTime();
96 mLastSizeChangeTime = mClock.getTime();
  /packages/apps/Email/src/com/android/email/
Throttle.java 45 private final Clock mClock;
90 mClock = clock;
115 final long now = mClock.getTime();
RefreshManager.java 58 private final Clock mClock;
179 mClock = clock;
226 return mClock.getTime() >= (mMessageListStatus.get(mailboxId).getLastRefreshTime()
231 return mClock.getTime() >= (mMailboxListStatus.get(accountId).getLastRefreshTime()
376 mMailboxListStatus.get(accountId).onCallback(exception, progress, mClock);
420 mMessageListStatus.get(mailboxId).onCallback(exception, progress, mClock);
NotificationController.java 88 private final Clock mClock;
127 mClock = clock;
185 .setWhen(mClock.getTime())
447 long now = mClock.getTime();
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
DigitalClock.java 71 private WeakReference<DigitalClock> mClock;
75 mClock = new WeakReference<DigitalClock>(clock);
84 final DigitalClock clock = mClock.get();
133 private WeakReference<DigitalClock> mClock;
137 mClock = new WeakReference<DigitalClock>(clock);
142 DigitalClock digitalClock = mClock.get();
  /packages/apps/Email/src/com/android/email/activity/
UIControllerTwoPane.java 537 private final Clock mClock;
555 mClock = clock;
605 if (nextRefreshTime > mClock.getTime()) {
625 if (nextRefreshTime > mClock.getTime()) {
  /development/samples/GlobalTime/src/com/android/globaltime/
GlobalTime.java 181 private Clock mClock;
258 mClock = new Clock();
752 mClock.setCity(null);
762 mClock.setCity(null);
816 mClock.setCity(null);
826 mClock.setCity(null);
838 mClock.setCity(null);
850 mClock.setCity(null);
    [all...]

Completed in 489 milliseconds