Home
last modified time | relevance | path

Searched refs:getTimeInMillis (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/TV/tests/robotests/src/com/android/tv/util/
DUtilsTest.java71 .getTimeInMillis(); in getJanOfThisYearInMillis()
81 .getTimeInMillis(); in getFebOfThisYearInMillis()
459 new GregorianCalendar(2015, Calendar.JANUARY, 1).getTimeInMillis(), in testIsInGivenDay()
460 new GregorianCalendar(2015, Calendar.JANUARY, 1, 0, 30).getTimeInMillis())); in testIsInGivenDay()
467 new GregorianCalendar(2015, Calendar.JANUARY, 1).getTimeInMillis(), in testIsNotInGivenDay()
468 new GregorianCalendar(2015, Calendar.JANUARY, 2).getTimeInMillis())); in testIsNotInGivenDay()
478 long date2015StartMs = new GregorianCalendar(2015, Calendar.JANUARY, 1).getTimeInMillis(); in testIfTimeZoneApplied()
482 new GregorianCalendar(2015, Calendar.JANUARY, 1, 10, 0).getTimeInMillis(); in testIfTimeZoneApplied()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDailyLoggingAlarmScheduler.java52 if (lastTimestamp == -1 || lastTimestamp < oneDayAgo.getTimeInMillis()) { in setAlarm()
58 triggerAtMillis = oneMinuteFromNow.getTimeInMillis(); in setAlarm()
64 triggerAtMillis = oneDayFromNow.getTimeInMillis(); in setAlarm()
DDailyLoggingAlarmReceiver.java115 if (dailyWallpaperEnabledTimestamp > midnightYesterday.getTimeInMillis()) { in logDailyWallpaperRotationStatus()
128 if (lastRotationStatusTimestamp > midnightYesterday.getTimeInMillis()) { in logDailyWallpaperRotationStatus()
DDefaultWallpaperPreferences.java545 long oneWeekAgoTimestamp = oneWeekAgo.getTimeInMillis(); in getDailyRotationsInLastWeek()
591 long midnightYesterdayTimestamp = midnightYesterday.getTimeInMillis(); in getDailyRotationsPreviousDay()
597 long midnightTodayTimestamp = midnightToday.getTimeInMillis(); in getDailyRotationsPreviousDay()
/packages/apps/Settings/src/com/android/settings/datetime/
DDatePreferenceController.java106 d.getDatePicker().setMinDate(calendar.getTimeInMillis()); in buildDatePicker()
109 d.getDatePicker().setMaxDate(calendar.getTimeInMillis()); in buildDatePicker()
120 long when = Math.max(c.getTimeInMillis(), DatePreferenceHost.MIN_DATE); in setDate()
DTimePreferenceController.java118 long when = Math.max(c.getTimeInMillis(), TimePreferenceHost.MIN_DATE); in setTime()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/
DDatePreferenceController.java106 d.getDatePicker().setMinDate(calendar.getTimeInMillis()); in buildDatePicker()
109 d.getDatePicker().setMaxDate(calendar.getTimeInMillis()); in buildDatePicker()
120 long when = Math.max(c.getTimeInMillis(), DatePreferenceHost.MIN_DATE); in setDate()
DTimePreferenceController.java118 long when = Math.max(c.getTimeInMillis(), TimePreferenceHost.MIN_DATE); in setTime()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java490 return (int) ((calTo.getTimeInMillis() - calFrom.getTimeInMillis()) / ONE_DAY_MS); in computeDateDifference()
508 return calendar.getTimeInMillis(); in getLastMillisecondOfDay()
516 return calendar.getTimeInMillis(); in getFirstMillisecondOfDay()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmUpdateHandler.java88 mSnackbarAnchor, instance.getAlarmTime().getTimeInMillis()); in asyncAddAlarm()
144 mSnackbarAnchor, instance.getAlarmTime().getTimeInMillis()); in asyncUpdateAlarm()
DAlarmStateManager.java240 long alarmTime = nextAlarm.getAlarmTime().getTimeInMillis(); in updateNextAlarmInAlarmManager()
1002 final long timeInMillis = time.getTimeInMillis(); in scheduleInstanceStateChange()
/packages/apps/Settings/src/com/android/settings/applications/
DRecentAppStatsMixin.java121 UsageStatsManager.INTERVAL_BEST, mCalendar.getTimeInMillis(), in loadDisplayableRecentApps()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRecentAppStatsMixin.java121 UsageStatsManager.INTERVAL_BEST, mCalendar.getTimeInMillis(), in loadDisplayableRecentApps()
162 if (stat.getLastTimeUsed() < mCalendar.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DRecentAppsPreferenceController.java205 UsageStatsManager.INTERVAL_BEST, mCal.getTimeInMillis(), in reloadData()
250 if (stat.getLastTimeUsed() < mCal.getTimeInMillis()) { in shouldIncludePkgInRecents()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarm.java424 if (nextInstanceTime.getTimeInMillis() <= currentTime.getTimeInMillis()) {
/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DDatePickerFragment.java60 long when = Math.max(c.getTimeInMillis(), DatetimeSettingsFragment.MIN_DATE); in onCreate()
DTimePickerFragment.java63 long when = Math.max(c.getTimeInMillis(), DatetimeSettingsFragment.MIN_DATE); in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapUtils.java189 long timeStamp = Calendar.getInstance().getTimeInMillis(); in fetchPbapParams()
523 sDbIdentifier.set(Calendar.getInstance().getTimeInMillis()); in rolloverCounters()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/logging/
DFileLogTest.java93 new File(mTempDir, "log-" + i).setLastModified(threeDaysAgo.getTimeInMillis()); in testOldFileTruncated()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DPeriodicCallbackModel.java165 return nextMidnight.getTimeInMillis() - now + offset; in getDelay()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogFragment.java164 long whenMillis = mCalendar.getTimeInMillis(); in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUsageStatsActivity.java115 cal.getTimeInMillis(), System.currentTimeMillis()); in UsageStatsAdapter()
/packages/apps/Settings/src/com/android/settings/
DUsageStatsActivity.java115 cal.getTimeInMillis(), System.currentTimeMillis()); in UsageStatsAdapter()
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRoutineWatchEvaluatorTest.java326 long startTimeMs = startTime.getTimeInMillis(); in createDummyProgram()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DUiCallLogLiveData.java258 if (DateUtils.isToday(callLogCalender.getTimeInMillis())) { in getHeader()

12