/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ScheduleConditionProviderTest.java | 94 assertTrue(cal.isInSchedule(now.getTimeInMillis())); 97 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); 118 assertTrue(cal.isInSchedule(now.getTimeInMillis())); 123 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); 151 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() + 1000); 174 conditionId, cal, now.getTimeInMillis(), now.getTimeInMillis() [all...] |
H A D | ScheduleCalendarTest.java | 80 expected.setTimeInMillis(cal.getTimeInMillis()); 83 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); 86 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), 106 expected.setTimeInMillis(cal.getTimeInMillis()); 110 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); 113 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), 133 expected.setTimeInMillis(cal.getTimeInMillis()); 138 long actualMs = mScheduleCalendar.getNextChangeTime(cal.getTimeInMillis()); 141 assertEquals("Expected " + expected + " was " + actual, expected.getTimeInMillis(), 161 expected.setTimeInMillis(cal.getTimeInMillis()); [all...] |
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | SmsProviderTest.java | 44 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), 45 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), 46 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), 47 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
|
/frameworks/base/core/java/android/webkit/ |
H A D | DateSorter.java | 58 mBins[0] = c.getTimeInMillis(); // Today 60 mBins[1] = c.getTimeInMillis(); // Yesterday 62 mBins[2] = c.getTimeInMillis(); // Five days ago 65 mBins[3] = c.getTimeInMillis(); // One month ago 86 * returned by Calendar.getTimeInMillis()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UnixCalendar.java | 54 public long getTimeInMillis() { method in class:UnixCalendar
|
H A D | UserUsageStatsService.java | 159 if (event.mTimeStamp >= mDailyExpiryDate.getTimeInMillis()) { 465 stat.update(pkgStats.mPackageName, mDailyExpiryDate.getTimeInMillis() - 1, 471 stat.updateConfigurationStats(null, mDailyExpiryDate.getTimeInMillis() - 1); 472 stat.commitTime(mDailyExpiryDate.getTimeInMillis() - 1); 544 sDateFormat.format(mDailyExpiryDate.getTimeInMillis()) + "(" + 545 mDailyExpiryDate.getTimeInMillis() + ")"); 616 final long beginTime = yesterday.getTimeInMillis();
|
/frameworks/base/core/java/android/widget/ |
H A D | DayPickerView.java | 152 final long minDateMillis = tempDate.getTimeInMillis(); 157 final long maxDateMillis = tempDate.getTimeInMillis(); 298 if (timeInMillis < mMinDate.getTimeInMillis()) { 299 timeInMillis = mMinDate.getTimeInMillis(); 301 } else if (timeInMillis > mMaxDate.getTimeInMillis()) { 302 timeInMillis = mMaxDate.getTimeInMillis(); 321 return mSelectedDay.getTimeInMillis(); 348 return mMinDate.getTimeInMillis(); 357 return mMaxDate.getTimeInMillis(); 368 setDate(mSelectedDay.getTimeInMillis(), fals [all...] |
H A D | DatePickerSpinnerDelegate.java | 124 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); 209 setMinDate(mTempDate.getTimeInMillis()); 220 setMaxDate(mTempDate.getTimeInMillis()); 296 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 320 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); 380 getMinDate().getTimeInMillis(), getMaxDate().getTimeInMillis()); 444 final long currentTimeMillis = oldCalendar.getTimeInMillis(); 509 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 511 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); [all...] |
H A D | DatePickerCalendarDelegate.java | 162 mDayPickerView.setMinDate(mMinDate.getTimeInMillis()); 163 mDayPickerView.setMaxDate(mMaxDate.getTimeInMillis()); 164 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); 238 mCurrentDate.setTimeInMillis(day.getTimeInMillis()); 328 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); 399 mDayPickerView.setDate(mCurrentDate.getTimeInMillis()); 543 return new SavedState(superState, year, month, day, mMinDate.getTimeInMillis(), 544 mMaxDate.getTimeInMillis(), mCurrentView, listPosition, listPositionOffset);
|
H A D | CalendarViewLegacyDelegate.java | 508 setDate(mTempDate.getTimeInMillis()); 520 return mMinDate.getTimeInMillis(); 534 setDate(mMaxDate.getTimeInMillis()); 546 return mMaxDate.getTimeInMillis(); 596 return mAdapter.mSelectedDate.getTimeInMillis(); 676 final long currentTimeMillis = oldCalendar.getTimeInMillis(); 821 mFirstDayOfMonth.setTimeInMillis(date.getTimeInMillis()); 937 final long millis = calendar.getTimeInMillis(); 952 long endTimeMillis = date.getTimeInMillis() 953 + date.getTimeZone().getOffset(date.getTimeInMillis()); [all...] |
H A D | DatePicker.java | 287 return mDelegate.getMinDate().getTimeInMillis(); 312 return mDelegate.getMaxDate().getTimeInMillis(); 647 : mCurrentDate.getTimeInMillis(); 675 return DateUtils.formatDateTime(mContext, mCurrentDate.getTimeInMillis(),
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/ |
H A D | GuidedDatePickerTest.java | 227 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); 234 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 779 .date(currCal.getTimeInMillis()) 781 .minDate(minCal.getTimeInMillis()) 782 .maxDate(maxCal.getTimeInMillis()) 789 dateFormat.format(minCal.getTimeInMillis()), 790 dateFormat.format(maxCal.getTimeInMillis()))) 792 .date(currCal.getTimeInMillis()) 794 .minDate(minCal.getTimeInMillis()) 795 .maxDate(maxCal.getTimeInMillis()) [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaPlayerInvokeTest.java | 42 rnd = new Random(Calendar.getInstance().getTimeInMillis());
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
H A D | SimpleWakefulController.java | 65 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/ |
H A D | SimpleWakefulController.java | 65 am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ScheduleCalendar.java | 120 return mCalendar.getTimeInMillis(); 194 return mCalendar.getTimeInMillis();
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/ |
H A D | DatePicker.java | 92 mMinDate.setTimeInMillis(mTempDate.getTimeInMillis()); 102 mMaxDate.setTimeInMillis(mTempDate.getTimeInMillis()); 297 mTempDate.setTimeInMillis(mCurrentDate.getTimeInMillis()); 330 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 347 return mMinDate.getTimeInMillis(); 365 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); 381 return mMaxDate.getTimeInMillis(); 391 return mCurrentDate.getTimeInMillis(); 397 mCurrentDate.setTimeInMillis(mMinDate.getTimeInMillis()); 399 mCurrentDate.setTimeInMillis(mMaxDate.getTimeInMillis()); [all...] |
H A D | PickerUtility.java | 92 final long currentTimeMillis = oldCalendar.getTimeInMillis();
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | GuidedDatePickerAction.java | 45 mDate = c.getTimeInMillis();
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
H A D | TwilightService.java | 297 ca.setTime(noon.getTimeInMillis()); 304 ca.setTime(noon.getTimeInMillis()); 308 ca.setTime(noon.getTimeInMillis());
|
/frameworks/base/core/java/android/util/ |
H A D | MonthDisplayHelper.java | 60 mCalendar.getTimeInMillis();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountServiceIdler.java | 102 final long timeToMidnight = calendar.getTimeInMillis() - System.currentTimeMillis();
|
H A D | GraphicsStatsService.java | 138 mAlarmManager.setExact(AlarmManager.RTC, calendar.getTimeInMillis(), TAG, this::onAlarm, 219 normalizeDate(info.startTime).getTimeInMillis(), info.packageName, info.versionCode); 298 long today = normalizeDate(System.currentTimeMillis()).getTimeInMillis();
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | NitzDataTest.java | 114 return calendar.getTimeInMillis();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
H A D | DozeUi.java | 193 return calendar.getTimeInMillis();
|