OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mClock
(Results
1 - 25
of
76
) sorted by null
1
2
3
4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ConnectedScore.java
35
final Clock
mClock
;
45
mClock
= clock;
62
return
mClock
.getWallClockMillis();
SelfRecovery.java
51
private final Clock
mClock
;
56
mClock
= clock;
84
mPastRestartTimes.add(
mClock
.getElapsedSinceBootMillis());
94
long now =
mClock
.getElapsedSinceBootMillis();
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DynamicAnimator.java
35
private final AnimationClock
mClock
;
44
mClock
= clock;
51
mDrawTimeMillis =
mClock
.getTimeMillis();
90
mLastDrawTimeMillis =
mClock
.getTimeMillis();
114
return
mClock
.getTimeMillis();
/packages/apps/Email/tests/src/com/android/email/
ThrottleTest.java
38
private final MockClock
mClock
= new MockClock();
39
private final MockTimer mTimer = new MockTimer(
mClock
);
41
MIN_TIMEOUT, MAX_TIMEOUT,
mClock
, mTimer);
47
mClock
.advance(milliseconds);
127
mClock
.advance(10);
132
mClock
.advance(Throttle.TIMEOUT_EXTEND_INTERVAL);
137
mClock
.advance(Throttle.TIMEOUT_EXTEND_INTERVAL);
142
mClock
.advance(Throttle.TIMEOUT_EXTEND_INTERVAL + 1);
172
private final Clock
mClock
;
182
mClock
= clock
[
all
...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
AnqpCache.java
39
private Clock
mClock
;
44
mClock
= clock;
46
mLastSweep =
mClock
.getElapsedSinceBootMillis();
57
ANQPData data = new ANQPData(
mClock
, anqpElements);
75
long now =
mClock
.getElapsedSinceBootMillis();
97
out.println("Last sweep " + Utils.toHMS(
mClock
.getElapsedSinceBootMillis() - mLastSweep)
ANQPData.java
38
private final Clock
mClock
;
43
mClock
= clock;
48
mExpiryTime =
mClock
.getElapsedSinceBootMillis() + DATA_LIFETIME_MILLISECONDS;
74
long now =
mClock
.getElapsedSinceBootMillis();
ANQPRequestManager.java
40
private final Clock
mClock
;
100
mClock
= clock;
161
long currentTime =
mClock
.getElapsedSinceBootMillis();
183
info.holdOffExpirationTime =
mClock
.getElapsedSinceBootMillis()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
ANQPDataTest.java
44
@Mock Clock
mClock
;
53
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(0L);
63
ANQPData data = new ANQPData(
mClock
, null);
75
ANQPData data = new ANQPData(
mClock
, null);
AnqpCacheTest.java
45
@Mock Clock
mClock
;
55
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(0L);
56
mCache = new AnqpCache(
mClock
);
92
when(
mClock
.getElapsedSinceBootMillis())
98
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(ANQPData.DATA_LIFETIME_MILLISECONDS);
ANQPRequestManagerTest.java
90
@Mock Clock
mClock
;
99
mManager = new ANQPRequestManager(mHandler,
mClock
);
165
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime);
171
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime + 1);
178
when(
mClock
.getElapsedSinceBootMillis())
194
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime);
200
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime);
215
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime);
224
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime + 1);
240
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(startTime)
[
all
...]
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
StorageManagerUpsellDialogTest.java
41
StorageManagerUpsellDialog.Clock
mClock
;
48
fragment.setClock(
mClock
);
55
when(
mClock
.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 2));
61
when(
mClock
.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 3));
67
when(
mClock
.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 4));
73
when(
mClock
.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 5));
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
HalWifiScannerTest.java
38
mClock
);
/system/core/libutils/include/utils/
StopWatch.h
45
int
mClock
;
/packages/apps/TV/src/com/android/tv/dvr/recorder/
ScheduledProgramReaper.java
39
private final Clock
mClock
;
43
mClock
= clock;
49
long cutoff =
mClock
.currentTimeMillis() - TimeUnit.DAYS.toMillis(DAYS);
/system/core/libutils/
StopWatch.cpp
35
: mName(name),
mClock
(clock), mFlags(flags)
73
return systemTime(
mClock
) - mStartTime;
79
mStartTime = systemTime(
mClock
);
/frameworks/base/location/java/android/location/
GnssMeasurementsEvent.java
37
private final GnssClock
mClock
;
100
mClock
= clock;
109
return
mClock
;
148
parcel.writeParcelable(
mClock
, flags);
161
builder.append(
mClock
.toString());
GpsMeasurementsEvent.java
55
private final GpsClock
mClock
;
88
mClock
= clock;
95
return
mClock
;
134
parcel.writeParcelable(
mClock
, flags);
147
builder.append(
mClock
.toString());
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
ClockPreference.java
32
private final String
mClock
;
42
mClock
= context.getString(com.android.internal.R.string.status_bar_clock);
64
mClockEnabled = !mBlacklist.contains(
mClock
);
89
mBlacklist.add(
mClock
);
91
mBlacklist.remove(
mClock
);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
SelfRecoveryTest.java
35
@Mock Clock
mClock
;
40
mSelfRecovery = new SelfRecovery(mWifiController,
mClock
);
53
when(
mClock
.getElapsedSinceBootMillis())
59
when(
mClock
.getElapsedSinceBootMillis())
87
when(
mClock
.getElapsedSinceBootMillis()).thenReturn(0L);
120
when(
mClock
.getElapsedSinceBootMillis())
126
when(
mClock
.getElapsedSinceBootMillis())
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
MessageWebView.java
45
private final Clock
mClock
= Clock.INSTANCE;
91
final long now =
mClock
.getTime();
115
mLastSizeChangeTime =
mClock
.getTime();
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
KeyguardDisplayManager.java
144
private View
mClock
;
152
int x = mMarginLeft + (int) (Math.random() * (mUsableWidth -
mClock
.getWidth()));
153
int y = mMarginTop + (int) (Math.random() * (mUsableHeight -
mClock
.getHeight()));
154
mClock
.setTranslationX(x);
155
mClock
.setTranslationY(y);
156
mClock
.postDelayed(mMoveTextRunnable, MOVE_CLOCK_TIMEOUT);
167
mClock
.removeCallbacks(mMoveTextRunnable);
182
mClock
= findViewById(R.id.clock);
185
mClock
.post(mMoveTextRunnable);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBarTransitions.java
35
private View mLeftSide, mStatusIcons, mSignalCluster, mBattery,
mClock
;
50
mClock
= mView.findViewById(R.id.clock);
95
animateTransitionTo(
mClock
, newAlphaBC)
107
mClock
.setAlpha(newAlphaBC);
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
AutomaticStorageManagementJobService.java
47
private Clock
mClock
;
163
if (
mClock
== null) {
164
mClock
= new Clock();
166
return
mClock
;
171
mClock
= clock;
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
StorageManagerUpsellDialog.java
53
private Clock
mClock
;
65
mClock
= clock;
157
if (
mClock
== null) {
158
mClock
= new Clock();
161
return
mClock
.currentTimeMillis();
/packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramDataManagerTest.java
73
private FakeClock
mClock
;
81
mClock
= FakeClock.createWithCurrentTime();
89
mContentResolver,
mClock
, mHandlerThread.getLooper());
112
int index = stub.getIndex(
mClock
.currentTimeMillis(), channelId);
115
assertTrue(startTimeMs <=
mClock
.currentTimeMillis());
116
assertTrue(
mClock
.currentTimeMillis() < startTimeMs + programAt.durationMs);
134
mClock
.setCurrentTimeMillis(prefetchTimeRangeStartMs + preventSnapDelayMs);
142
assertTrue(currentProgram.getStartTimeUtcMillis() <=
mClock
.currentTimeMillis()
143
&&
mClock
.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis());
148
mProgramDataManager.getPrograms(channelId,
mClock
.currentTimeMillis())
[
all
...]
Completed in 1099 milliseconds
1
2
3
4