/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ScheduleConditionProviderTest.java | 94 assertTrue(cal.isInSchedule(now.getTimeInMillis())); in testEvaluateSubscription_noAlarmExit_InSchedule() 97 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_noAlarmExit_InSchedule() 118 assertTrue(cal.isInSchedule(now.getTimeInMillis())); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 123 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_noAlarmExit_InScheduleSnoozed() 151 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_noAlarmExit_beforeSchedule() 174 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_noAlarmExit_endSchedule() 191 conditionId, cal, now.getTimeInMillis() - 1000, now.getTimeInMillis() + 1000); in testEvaluateSubscription_alarmSetBeforeInSchedule() 195 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); in testEvaluateSubscription_alarmSetBeforeInSchedule() 199 assertTrue(cal.isInSchedule(now.getTimeInMillis() + 1000)); in testEvaluateSubscription_alarmSetBeforeInSchedule() 200 assertTrue("" + info.nextAlarm + " " + now.getTimeInMillis(), in testEvaluateSubscription_alarmSetBeforeInSchedule() [all …]
|
D | ScheduleCalendarTest.java | 80 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startToday() 83 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); in testGetNextChangeTime_startToday() 86 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), in testGetNextChangeTime_startToday() 106 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endToday() 110 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); in testGetNextChangeTime_endToday() 113 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), in testGetNextChangeTime_endToday() 133 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_startTomorrow() 138 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); in testGetNextChangeTime_startTomorrow() 141 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), in testGetNextChangeTime_startTomorrow() 161 expected.setTimeInMillis(cal.getTimeInMillis()); in testGetNextChangeTime_endTomorrow() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SmsProviderTest.java | 45 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), in testProvider() 46 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), in testProvider() 47 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), in testProvider() 48 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()), in testProvider()
|
/frameworks/base/core/java/android/webkit/ |
D | DateSorter.java | 58 mBins[0] = c.getTimeInMillis(); // Today in DateSorter() 60 mBins[1] = c.getTimeInMillis(); // Yesterday in DateSorter() 62 mBins[2] = c.getTimeInMillis(); // Five days ago in DateSorter() 65 mBins[3] = c.getTimeInMillis(); // One month ago in DateSorter()
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerView.java | 154 final long minDateMillis = tempDate.getTimeInMillis(); in DayPickerView() 159 final long maxDateMillis = tempDate.getTimeInMillis(); in DayPickerView() 300 if (timeInMillis < mMinDate.getTimeInMillis()) { 301 timeInMillis = mMinDate.getTimeInMillis(); 303 } else if (timeInMillis > mMaxDate.getTimeInMillis()) { 304 timeInMillis = mMaxDate.getTimeInMillis(); 323 return mSelectedDay.getTimeInMillis(); 350 return mMinDate.getTimeInMillis(); 359 return mMaxDate.getTimeInMillis(); 370 setDate(mSelectedDay.getTimeInMillis(), false, false);
|
D | DatePickerSpinnerDelegate.java | 125 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); in DatePickerSpinnerDelegate() 210 setMinDate(mTempDate.getTimeInMillis()); in DatePickerSpinnerDelegate() 221 setMaxDate(mTempDate.getTimeInMillis()); in DatePickerSpinnerDelegate() 297 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setMinDate() 321 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setMaxDate() 381 getMinDate().getTimeInMillis(), getMaxDate().getTimeInMillis()); in onSaveInstanceState() 445 final long currentTimeMillis = oldCalendar.getTimeInMillis(); in getCalendarForLocale() 511 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); in setDate() 513 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); in setDate() 572 mCalendarView.setDate(mCurrentDate.getTimeInMillis(), false, false); in updateCalendarView()
|
D | DatePickerCalendarDelegate.java | 162 mDayPickerView.setMinDate(mMinDate.getTimeInMillis()); in DatePickerCalendarDelegate() 163 mDayPickerView.setMaxDate(mMaxDate.getTimeInMillis()); in DatePickerCalendarDelegate() 164 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); in DatePickerCalendarDelegate() 238 mCurrentDate.setTimeInMillis(day.getTimeInMillis()); 328 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); in setCurrentView() 399 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); in onDateChanged() 543 return new SavedState(superState, year, month, day, mMinDate.getTimeInMillis(), in onSaveInstanceState() 544 mMaxDate.getTimeInMillis(), mCurrentView, listPosition, listPositionOffset); in onSaveInstanceState()
|
D | CalendarViewLegacyDelegate.java | 508 setDate(mTempDate.getTimeInMillis()); in setMinDate() 520 return mMinDate.getTimeInMillis(); in getMinDate() 534 setDate(mMaxDate.getTimeInMillis()); in setMaxDate() 546 return mMaxDate.getTimeInMillis(); in getMaxDate() 596 return mAdapter.mSelectedDate.getTimeInMillis(); in getDate() 676 final long currentTimeMillis = oldCalendar.getTimeInMillis(); in getCalendarForLocale() 821 mFirstDayOfMonth.setTimeInMillis(date.getTimeInMillis()); in goTo() 937 final long millis = calendar.getTimeInMillis(); in setMonthDisplayed() 952 long endTimeMillis = date.getTimeInMillis() in getWeeksSinceMinDate() 953 + date.getTimeZone().getOffset(date.getTimeInMillis()); in getWeeksSinceMinDate() [all …]
|
D | DatePicker.java | 300 return mDelegate.getMinDate().getTimeInMillis(); in getMinDate() 326 return mDelegate.getMaxDate().getTimeInMillis(); in getMaxDate() 665 : mCurrentDate.getTimeInMillis(); in getAutofillValue() 693 return DateUtils.formatDateTime(mContext, mCurrentDate.getTimeInMillis(), in getFormattedCurrentDate()
|
D | DayPickerPagerAdapter.java | 79 mMinDate.setTimeInMillis(min.getTimeInMillis()); in setRange() 80 mMaxDate.setTimeInMillis(max.getTimeInMillis()); in setRange()
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
D | TwilightService.java | 294 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState() 301 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState() 305 ca.setTime(noon.getTimeInMillis()); in calculateTwilightState()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UnixCalendar.java | 54 public long getTimeInMillis() { in getTimeInMillis() method in UnixCalendar
|
D | UserUsageStatsService.java | 172 if (event.mTimeStamp >= mDailyExpiryDate.getTimeInMillis()) { in reportEvent() 497 mDailyExpiryDate.getTimeInMillis() - 1, in rolloverStats() 504 mDailyExpiryDate.getTimeInMillis() - 1, in rolloverStats() 513 mDailyExpiryDate.getTimeInMillis() - 1); in rolloverStats() 514 stat.commitTime(mDailyExpiryDate.getTimeInMillis() - 1); in rolloverStats() 603 sDateFormat.format(mDailyExpiryDate.getTimeInMillis()) + "(" + in updateRolloverDeadline() 604 mDailyExpiryDate.getTimeInMillis() + ")"); in updateRolloverDeadline() 763 final long beginTime = yesterday.getTimeInMillis(); in printLast24HrEvents()
|
D | UsageStatsDatabase.java | 706 mCal.getTimeInMillis()); in prune() 711 mCal.getTimeInMillis()); in prune() 716 mCal.getTimeInMillis()); in prune() 721 mCal.getTimeInMillis()); in prune() 726 pruneChooserCountsOlderThan(mIntervalDirs[i], mCal.getTimeInMillis()); in prune()
|
/frameworks/base/core/java/android/service/notification/ |
D | ScheduleCalendar.java | 120 return mCalendar.getTimeInMillis(); in getTime() 194 return mCalendar.getTimeInMillis(); in addDays()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaPlayerInvokeTest.java | 42 rnd = new Random(Calendar.getInstance().getTimeInMillis()); in MediaPlayerInvokeTest()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 138 mAlarmManager.setExact(AlarmManager.RTC, calendar.getTimeInMillis(), TAG, this::onAlarm, in scheduleRotateLocked() 219 … normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode); in pathForApp() 298 long today = normalizeDate(System.currentTimeMillis()).getTimeInMillis(); in fetchActiveBuffersLocked()
|
D | MountServiceIdler.java | 102 final long timeToMidnight = calendar.getTimeInMillis() - System.currentTimeMillis(); in scheduleIdlePass()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 60 mCalendar.getTimeInMillis(); in MonthDisplayHelper()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
D | DatePickerDialog.java | 239 mAnimator.setDateMillis(mCalendar.getTimeInMillis()); in onCreateView() 291 long millis = mCalendar.getTimeInMillis(); in setCurrentView() 349 long millis = mCalendar.getTimeInMillis(); in updateDisplay()
|
D | MonthView.java | 447 long millis = mCalendar.getTimeInMillis(); in getMonthAndYearString() 799 mTempCalendar.getTimeInMillis()); in getItemDescription()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 111 return calendar.getTimeInMillis(); in createUtcTime()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 132 c.getTimeInMillis(), zone); in parse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeUi.java | 205 return calendar.getTimeInMillis(); in roundToNextMinute()
|
/frameworks/base/core/java/android/hardware/ |
D | GeomagneticField.java | 113 new GregorianCalendar(2015, 1, 1).getTimeInMillis();
|