/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 22 public long mTime = DEFAULT_TIME; 26 return mTime; 30 mTime++; 34 mTime += milliseconds;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
TrackPoint.java | 25 private long mTime; 28 mTime = time; 32 return mTime;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
LogCatMessage.java | 33 private final String mTime; 45 mTime = time; 81 return mTime; 90 return mTime + ": "
|
/system/extras/tests/sdcard/ |
stopwatch.h | 79 struct timespec mTime;
|
/frameworks/base/services/java/com/android/server/ |
NetworkTimeUpdateService.java | 79 private TrustedTime mTime; 96 mTime = NtpTrustedTime.getInstance(context); 160 if (mTime.getCacheAge() >= POLLING_INTERVAL_MS) { 161 mTime.forceRefresh(); 165 if (mTime.getCacheAge() < POLLING_INTERVAL_MS) { 166 final long ntp = mTime.currentTimeMillis();
|
ThrottleService.java | 130 private TrustedTime mTime; 159 mTime = time; 247 long bestNow = mTime.hasCache() ? mTime.currentTimeMillis() 504 if (mTime.getCacheAge() > mMaxNtpCacheAge) { 505 if (mTime.forceRefresh()) { 596 if (!mTime.hasCache()) { 757 if (mTime.getCacheAge() > mMaxNtpCacheAge) { 758 mTime.forceRefresh(); 763 if (mTime.hasCache()) [all...] |
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 62 Date mTime; 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);
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaFragment.java | 58 private final Time mTime; 80 mTime.switchTimezone(mTimeZone); 93 mTime = new Time(); 95 mTime.setToNow(); 97 mTime.set(mInitialTimeMillis); 106 mTime.switchTimezone(mTimeZone); 125 mTime.set(prevTime); 127 Log.d(TAG, "Restoring time to " + mTime.toString()); 207 Log.v(TAG, "OnResume to " + mTime.toString()); 221 mAgendaListView.goTo(mTime, -1, mQuery, true, false) [all...] |
AgendaListView.java | 51 private Time mTime; 59 mTime.switchTimezone(mTimeZone); 92 mTime = new Time(mTimeZone); 188 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone); 189 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); 191 mTime.set(startTime); 204 time = mTime; 211 mTime.set(time); 212 mTime.switchTimezone(mTimeZone); 213 mTime.normalize(true) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
VelocityTrackerTest.java | 38 private long mTime; 48 mTime = 1000; 148 mTime += step; 158 mTime += duration; 162 if (mTime >= mLastTime) { 163 MotionEvent ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0); 166 mLastTime = mTime; 174 mTime, mPx, mPy, mVx, mVy, mAx, mAy,
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/ |
AddVoicemailActivity.java | 74 private TextView mTime; 125 String dateStr = mTime.getText().toString(); 157 mTime.setText(DATE_FORMATTER.format(new Date()));
|
/frameworks/av/services/audioflinger/ |
AudioPolicyService.h | 195 nsecs_t mTime; // time stamp
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V21.java | 49 private long mTime; 73 mTime += end - start; 85 mTime += end - start; 95 return mTime; [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
TimezoneAdapter.java | 80 mOffset = tz.getOffset(TimezoneAdapter.this.mTime); 206 private long mTime; 223 mTime = time; 224 mDateTime = new Date(mTime); 342 if (time != mTime) { 343 mTime = time; 344 mDateTime.setTime(mTime);
|
CalendarController.java | 93 private final Time mTime = new Time(); 99 mTime.switchTimezone(Utils.getTimeZone(mContext, this)); 305 mTime.setToNow(); 438 Log.e(TAG, "mTime " + (mTime == null ? "null" : mTime.toString())); 446 // Set mTime if selectedTime is set 448 mTime.set(event.selectedTime); 451 // selectedTime is not set so set mTime to startTime iff it is not 453 long mtimeMillis = mTime.toMillis(false) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkStatsServiceTest.java | 113 private TrustedTime mTime; 133 mTime = createMock(TrustedTime.class); 138 mServiceContext, mNetManager, mAlarmManager, mTime, mStatsDir, mSettings); 173 mTime = null; [all...] |
NetworkPolicyManagerServiceTest.java | 122 private TrustedTime mTime; 205 mTime = createMock(TrustedTime.class); 210 mStatsService, mNetworkManager, mTime, mPolicyDir, true); 258 mTime = null; [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsService.java | 150 private final TrustedTime mTime; 258 mTime = checkNotNull(time, "missing TrustedTime"); 364 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() 668 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() [all...] |
NetworkPolicyManagerService.java | 235 private final TrustedTime mTime; 303 mTime = checkNotNull(time, "missing TrustedTime"); [all...] |
/frameworks/base/location/java/android/location/ |
Location.java | 61 private long mTime = 0; 86 pw.println(prefix + "mProvider=" + mProvider + " mTime=" + mTime); 120 mTime = l.mTime; 139 mTime = 0; 474 return mTime; 482 mTime = time; 683 ",mTime=" + mTime [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon/ |
RecurrenceProcessor.java | 420 mTime = new Time(Time.TIMEZONE_UTC); 445 t = mTime; 465 t = mTime; 614 private Time mTime; [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
DeskClock.java | 92 private DigitalClock mTime; 259 mTime = (DigitalClock) findViewById(R.id.time); 268 mTime.setSystemUiVisibility(View.STATUS_BAR_HIDDEN); 351 mTime.setSystemUiVisibility(mDimmed ? View.SYSTEM_UI_FLAG_LOW_PROFILE 485 mTime = (DigitalClock) findViewById(R.id.time); 489 mTime.setSystemUiVisibility(View.STATUS_BAR_VISIBLE); 490 mTime.getRootView().requestFocus();
|
/frameworks/base/core/java/com/android/internal/util/ |
StateMachine.java | 451 private long mTime; 475 mTime = System.currentTimeMillis(); 486 return mTime; 525 c.setTimeInMillis(mTime); [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
VideoEditorProject.java | 88 private final long mTime; 102 mTime = time; 127 * @return the mTime 130 return mTime; [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventView.java | 261 private Time mTime; 264 mTime = time; 269 TimePickerDialog tp = new TimePickerDialog(mActivity, new TimeListener(v), mTime.hour, 270 mTime.minute, DateFormat.is24HourFormat(mActivity)); 572 private Time mTime; 575 mTime = time; 580 mActivity, new DateListener(v), mTime.year, mTime.month, mTime.monthDay); [all...] |