Home
last modified time | relevance | path

Searched refs:timeMillis (Results 1 – 19 of 19) 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/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/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/
DFakeTimeSource.java29 FakeTimeSource(long timeMillis) { in FakeTimeSource() argument
30 mTimeMillis = timeMillis; in FakeTimeSource()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanionService.java772 for (Long timeMillis : mDeathTimeMillis) { in binderDied()
773 long ageMillis = now - timeMillis; in binderDied()
775 mDeathTimeMillis.remove(timeMillis); in binderDied()
778 for (Long timeMillis : mDeletedFiles.keySet()) { in binderDied()
779 long ageMillis = now - timeMillis; in binderDied()
781 mDeletedFiles.remove(timeMillis); in binderDied()
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/core/
DLogUtils.java37 public static String formatUtcTime(long timeMillis) { in formatUtcTime() argument
38 return Instant.ofEpochMilli(timeMillis).toString(); in formatUtcTime()
/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/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/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinDialogFragment.java91 public static void setDisablePinUntil(Context context, long timeMillis) { in setDisablePinUntil() argument
94 .putLong(PREF_DISABLE_PIN_UNTIL, timeMillis) in setDisablePinUntil()
/packages/modules/StatsD/statsd/tests/shell/
DShellSubscriber_test.cpp174 shared_ptr<LogEvent> makeCpuActiveTimeAtom(int32_t uid, int64_t timeMillis) { in makeCpuActiveTimeAtom() argument
179 AStatsEvent_writeInt64(statsEvent, timeMillis); in makeCpuActiveTimeAtom()
/packages/modules/StatsD/statsd/src/
DStatsService.cpp94 [this](const shared_ptr<IStatsCompanionService>& /*sc*/, int64_t timeMillis) { in StatsService() argument
95 mProcessor->setAnomalyAlarm(timeMillis); in StatsService()
104 [](const shared_ptr<IStatsCompanionService>& sc, int64_t timeMillis) { in __anon55b448e80302() argument
106 sc->setAlarmForSubscriberTriggering(timeMillis); in __anon55b448e80302()
DStatsLogProcessor.h144 void setAnomalyAlarm(const int64_t timeMillis);
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java1120 private boolean shouldSkipConnectionAttempt(long timeMillis) { in shouldSkipConnectionAttempt() argument
1125 if ((timeMillis - connectionAttemptTimeMillis) in shouldSkipConnectionAttempt()
1140 private void noteConnectionAttempt(long timeMillis) { in noteConnectionAttempt() argument
1141 localLog("noteConnectionAttempt: timeMillis=" + timeMillis); in noteConnectionAttempt()
1142 mConnectionAttemptTimeStamps.addLast(timeMillis); in noteConnectionAttempt()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DConcreteClientModeManagerTest.java156 private void moveTimeForward(long timeMillis) { in moveTimeForward() argument
157 mLooper.moveTimeForward(timeMillis); in moveTimeForward()
158 mElapsedSinceBootMillis += timeMillis; in moveTimeForward()