Home
last modified time | relevance | path

Searched refs:timeMillis (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java294 long timeMillis = -1; in onCreate() local
298 timeMillis = icicle.getLong(BUNDLE_KEY_RESTORE_TIME); in onCreate()
304 timeMillis = parseViewAction(intent); in onCreate()
307 if (timeMillis == -1) { in onCreate()
308 timeMillis = Utils.timeFromIntentInMillis(intent); in onCreate()
317 t.set(timeMillis); in onCreate()
387 initFragments(timeMillis, viewType, icicle); in onCreate()
397 long timeMillis = -1; in parseViewAction() local
410 timeMillis = mIntentEventStartMillis; in parseViewAction()
417 return timeMillis; in parseViewAction()
[all …]
DDayFragment.java77 public DayFragment(long timeMillis, int numOfDays) { in DayFragment() argument
79 if (timeMillis == 0) { in DayFragment()
82 mSelectedDay.set(timeMillis); in DayFragment()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DMigrateEstimateTask.java104 long timeMillis = (mSizeBytes * DateUtils.SECOND_IN_MILLIS) / SPEED_ESTIMATE_BPS; in onPostExecute() local
105 timeMillis = Math.max(timeMillis, DateUtils.SECOND_IN_MILLIS); in onPostExecute()
108 final String time = DateUtils.formatDuration(timeMillis).toString(); in onPostExecute()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DMigrateEstimateTask.java104 long timeMillis = (mSizeBytes * DateUtils.SECOND_IN_MILLIS) / SPEED_ESTIMATE_BPS; in onPostExecute() local
105 timeMillis = Math.max(timeMillis, DateUtils.SECOND_IN_MILLIS); in onPostExecute()
108 final String time = DateUtils.formatDuration(timeMillis).toString(); in onPostExecute()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskExecutor.java339 private void sleep(long timeMillis) {
340 VvmLog.i(TAG, "sleep for " + timeMillis + " millis");
341 if (timeMillis < SHORT_SLEEP_THRESHOLD_MILLISECONDS) {
349 timeMillis);
352 scheduleJobAndTerminate(timeMillis, false);
DBaseTask.java120 public void setExecutionTime(long timeMillis) { in setExecutionTime() argument
122 executionTime = timeMillis; in setExecutionTime()
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DVoicemailPopulator.java87 long timeMillis = System.currentTimeMillis(); in populateVoicemail() local
90 Voicemail voicemail = builder.setTimeMillis(timeMillis).build(); in populateVoicemail()
96 timeMillis -= TimeUnit.HOURS.toMillis(2); in populateVoicemail()
174 public abstract Builder setTimeMillis(long timeMillis); in setTimeMillis() argument
DCallLogPopulator.java93 long timeMillis = System.currentTimeMillis(); in populateCallLog() local
102 CallEntry callEntry = builder.setTimeMillis(timeMillis).build(); in populateCallLog()
111 timeMillis -= TimeUnit.HOURS.toMillis(1); in populateCallLog()
176 abstract Builder setTimeMillis(long timeMillis); in setTimeMillis() argument
/packages/apps/TV/src/com/android/tv/util/
DUtils.java639 public static String toTimeString(long timeMillis, boolean fullFormat) { in toTimeString() argument
641 return new Date(timeMillis).toString(); in toTimeString()
645 timeMillis, in toTimeString()
653 public static String toTimeString(long timeMillis) { in toTimeString() argument
654 return toTimeString(timeMillis, true); in toTimeString()
DTvSettings.java239 public static void setDisablePinUntil(Context context, long timeMillis) { in setDisablePinUntil() argument
242 .putLong(PREF_DISABLE_PIN_UNTIL, timeMillis) in setDisablePinUntil()
/packages/apps/TV/common/src/com/android/tv/common/util/
DCommonUtils.java131 public static String toIsoDateTimeString(long timeMillis) { in toIsoDateTimeString() argument
132 return ISO_8601.get().format(new Date(timeMillis)); in toIsoDateTimeString()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java82 public static void setDisablePinUntil(Context context, long timeMillis) { in setDisablePinUntil() argument
84 PREF_DISABLE_PIN_UNTIL, timeMillis).apply(); in setDisablePinUntil()