/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 62 Date mTime; field in class:DateTimeView 99 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); 104 if (mTime == null) { 111 Date time = mTime; 164 String text = format.format(mTime);
|
H A D | TextClock.java | 125 private Calendar mTime; field in class:TextClock 239 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); 241 mTime = Calendar.getInstance(); 502 mTime.setTimeInMillis(System.currentTimeMillis()); 503 setText(DateFormat.format(mFormat, mTime));
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.h | 195 nsecs_t mTime; // time stamp member in class:android::AudioPolicyService::AudioCommandThread::AudioCommand
|
/frameworks/base/services/java/com/android/server/ |
H A D | NetworkTimeUpdateService.java | 70 private TrustedTime mTime; field in class:NetworkTimeUpdateService 96 mTime = NtpTrustedTime.getInstance(context); 169 if (mTime.getCacheAge() >= mPollingIntervalMs) { 170 mTime.forceRefresh(); 174 if (mTime.getCacheAge() < mPollingIntervalMs) { 175 final long ntp = mTime.currentTimeMillis();
|
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
H A D | JankTestBase.java | 98 int mTime = DEFAULT_TRACE_TIME; field in class:JankTestBase.SystraceTracker 114 mTime = traceTime; 123 String command = String.format(ATRACE_COMMAND, mTime);
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessor.java | 420 mTime = new Time(Time.TIMEZONE_UTC); 445 t = mTime; 465 t = mTime; 614 private Time mTime; field in class:RecurrenceProcessor.DaySet
|
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 309 private final long mTime; field in class:AppOpsManager.OpEntry 316 mTime = time; 330 return mTime; 342 return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration; 354 dest.writeLong(mTime); 362 mTime = source.readLong();
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 81 private long mTime = 0; field in class:Location 131 mTime = l.mTime; 152 mTime = 0; 503 return mTime; 513 mTime = time; 776 if (mTime == 0) return false; 796 if (mTime == 0) mTime = System.currentTimeMillis(); 834 if (mTime [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 119 private TrustedTime mTime; field in class:NetworkPolicyManagerServiceTest 192 mTime = createMock(TrustedTime.class); 197 mStatsService, mNetworkManager, mTime, mPolicyDir, true); 245 mTime = null; 845 expect(mTime.forceRefresh()).andReturn(false).anyTimes(); 846 expect(mTime.hasCache()).andReturn(true).anyTimes(); 847 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes(); 848 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); 849 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes(); 1035 mNetworkManager, mTime, mConnManage [all...] |
H A D | NetworkStatsServiceTest.java | 113 private TrustedTime mTime; field in class:NetworkStatsServiceTest 133 mTime = createMock(TrustedTime.class); 138 mServiceContext, mNetManager, mAlarmManager, mTime, mStatsDir, mSettings); 173 mTime = null; 951 expect(mTime.forceRefresh()).andReturn(false).anyTimes(); 952 expect(mTime.hasCache()).andReturn(true).anyTimes(); 953 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes(); 954 expect(mTime.getCacheAge()).andReturn(0L).anyTimes(); 955 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes(); 1051 EasyMock.replay(mNetManager, mAlarmManager, mTime, mSetting [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardParserImpl_V21.java | 49 private long mTime; field in class:VCardParserImpl_V21.CustomBufferedReader 73 mTime += end - start; 85 mTime += end - start; 95 return mTime;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 449 private long mTime; field in class:StateMachine.LogRec 480 mTime = System.currentTimeMillis(); 492 return mTime; 535 c.setTimeInMillis(mTime);
|
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 158 private final TrustedTime mTime; field in class:NetworkStatsService 266 mTime = checkNotNull(time, "missing TrustedTime"); 376 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 680 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 920 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 944 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) { 945 mTime [all...] |
H A D | NetworkPolicyManagerService.java | 239 private final TrustedTime mTime; field in class:NetworkPolicyManagerService 307 mTime = checkNotNull(time, "missing TrustedTime"); 2022 * Try refreshing {@link #mTime} when stale. 2025 if (mTime.getCacheAge() > TIME_CACHE_MAX_AGE) { 2026 mTime.forceRefresh(); 2031 return mTime.hasCache() ? mTime.currentTimeMillis() : System.currentTimeMillis();
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryStats.java | 1473 final long mTime; field in class:BatteryStats.TimerEntry 1478 mTime = time; 1562 long lhsTime = lhs.mTime; 1563 long rhsTime = rhs.mTime;
|