Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/anomaly/
DAlarmTracker_test.cpp53 int64_t startMillis = 100000000 * MS_PER_SEC; in TEST() local
54 int64_t nextAlarmTime = startMillis / MS_PER_SEC + 15; in TEST()
55 AlarmTracker tracker(startMillis, startMillis, alarm, kConfigKey, subscriberAlarmMonitor); in TEST()
59 uint64_t currentTimeSec = startMillis / MS_PER_SEC + 10; in TEST()
67 currentTimeSec = startMillis / MS_PER_SEC + 7000; in TEST()
68 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST()
77 currentTimeSec = startMillis / MS_PER_SEC + 15 + 2 * 60 * 60; in TEST()
78 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 3 * 60 * 60; in TEST()
87 currentTimeSec = startMillis / MS_PER_SEC + 15 + 4 * 60 * 60; in TEST()
88 nextAlarmTime = startMillis / MS_PER_SEC + 15 + 5 * 60 * 60; in TEST()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.kt223 startMillis: Long, in handleEvent()
234 sender, eventType, eventId, startMillis, endMillis, x, y, in handleEvent()
258 startMillis: Long, in sendEventRelatedEventWithExtra()
267 startMillis, endMillis, x, y, extraLong, selectedMillis, null, -1 in sendEventRelatedEventWithExtra()
291 startMillis: Long, in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
307 (info.startTime as Time).set(startMillis) in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
435 var startMillis: Long = 0 in sendEvent() variable
438 startMillis = (event.startTime as Time).toMillis(false) in sendEvent()
446 if (startMillis != 0L) { in sendEvent()
451 if (mtimeMillis < startMillis || in sendEvent()
[all …]
DEvent.kt121 e.startMillis = 0 in newInstance()
318 e.startMillis = eStart in generateEventFromCursor()
488 @JvmField var startMillis = 0L // UTC milliseconds since the epoch variable in com.android.calendar.Event
521 e.startMillis = startMillis in clone()
541 dest.startMillis = startMillis in copyTo()
620 fun setStartMillis(startMillis: Long) { in setStartMillis()
621 this.startMillis = startMillis in setStartMillis()
625 return startMillis in getStartMillis()
638 return allDay || endMillis - startMillis >= DateUtils.DAY_IN_MILLIS in drawAsAllday()
DEventInfoFragment.kt214 var startMillis: Long = 0 variable in com.android.calendar.EventInfoFragment
294 startMillis: Long,
316 this.startMillis = startMillis
327 startMillis: Long,
333 context as Context, ContentUris.withAppendedId(Events.CONTENT_URI, eventId), startMillis,
549 values.put(Events.ORIGINAL_INSTANCE_TIME, startMillis) in createExceptionResponse()
578 if (startMillis == 0L && endMillis == 0L) { in updateEvent()
579 startMillis = mEventCursor.getLong(EVENT_INDEX_DTSTART) in updateEvent()
587 val endMillis: Long = startMillis + d.getMillis() in updateEvent()
588 if (endMillis >= startMillis) { in updateEvent()
[all …]
DUtils.kt264 startMillis: Long, in formatDateRange()
268 return mTZUtils?.formatDateRange(context as Context, startMillis, endMillis, flags) in formatDateRange()
1344 startMillis: Long, in getDisplayedDatetime()
1363 val localStartMillis = convertAlldayUtcToLocal(null, startMillis, localTimezone) in getDisplayedDatetime()
1382 context, f, startMillis, in getDisplayedDatetime()
1387 datetimeString = if (singleDayEvent(startMillis, endMillis, currentTime.gmtoff)) { in getDisplayedDatetime()
1390 context, startMillis, endMillis, in getDisplayedDatetime()
1396 context.getResources(), startMillis, in getDisplayedDatetime()
1414 context, startMillis, endMillis, in getDisplayedDatetime()
1428 context, startMillis, endMillis, in getDisplayedDatetime()
[all …]
DCalendarUtils.kt166 fun formatDateRange(context: Context, startMillis: Long, in formatDateRange()
177 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, in formatDateRange()
DDayView.kt155 mClickedEvent!!.startMillis, mClickedEvent!!.endMillis, in run()
1146 `when` = Utils.formatDateRange(mContext, calEvent.startMillis, calEvent.endMillis, in appendEventAccessibilityString()
3179 val startMillis = selectedTimeInMillis in onCreateContextMenu() constant
3183 val title: String? = Utils.formatDateRange(mContext, startMillis, startMillis, flags) in onCreateContextMenu()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.kt61 startMillis: Long, in makeBasicNotification()
73 startMillis, in makeBasicNotification()
80 return NotificationWrapper(n, notificationId, eventId, startMillis, endMillis, doPopup) in makeBasicNotification()
88 startMillis: Long, in buildBasicNotification()
DAlertService.kt46 startMillis: Long,
52 mBegin = startMillis
94 var startMillis: Long, variable in com.android.calendar.alerts.NotificationInfo
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractPublicApiTest.java118 final long startMillis = mSystemFacade.currentTimeMillis(); in runUntilStatus() local
120 waitForStatus(status, startMillis); in runUntilStatus()
124 final long startMillis = mSystemFacade.currentTimeMillis(); in runUntilStatus() local
126 waitForStatus(status, startMillis, timeout); in runUntilStatus()
DThreadingTest.java67 final long startMillis = mSystemFacade.currentTimeMillis(); in testFilenameRace() local
69 d.first.waitForStatus(DownloadManager.STATUS_SUCCESSFUL, startMillis); in testFilenameRace()
/packages/modules/StatsD/statsd/src/anomaly/
DAlarmTracker.cpp32 AlarmTracker::AlarmTracker(const int64_t startMillis, in AlarmTracker() argument
40 mAlarmSec = (startMillis + mAlarmConfig.offset_millis()) / MS_PER_SEC; in AlarmTracker()
DAlarmTracker.h34 AlarmTracker(const int64_t startMillis,
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java280 long startMillis = currentTimeInMillis in getSummaryForAllUid() local
292 param.buildNetworkTemplate(), startMillis, currentTimeInMillis); in getSummaryForAllUid()
295 param.buildNetworkTemplate(), startMillis, currentTimeInMillis); in getSummaryForAllUid()
301 RefinedStats result = new RefinedStats(startMillis, currentTimeInMillis); in getSummaryForAllUid()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java46 static int convertMillisToPixel(long startMillis, long endMillis) { in convertMillisToPixel() argument
49 - GuideUtils.convertMillisToPixel(startMillis); in convertMillisToPixel()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DMetricsUtils.java174 FieldDescriptor startMillis = descriptor.findFieldByName("start_bucket_elapsed_millis"); in assertBucketTimePresent() local
178 } else if (startMillis != null && bucketInfo.hasField(startMillis) && in assertBucketTimePresent()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DSettings.java342 long startMillis = lastBadCertTimeStart.toEpochMilli(); in setLastBadCertTimeRange() local
348 if (sharedPref.getLong(KEY_LAST_BAD_CERT_TIME_START, NO_TIME_PROVIDED) != startMillis) { in setLastBadCertTimeRange()
349 editor.putLong(KEY_LAST_BAD_CERT_TIME_START, startMillis); in setLastBadCertTimeRange()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/net/
DRefinedStats.java52 public RefinedStats(long startMillis, long endMillis) { in RefinedStats() argument
53 mStartMillis = startMillis; in RefinedStats()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java186 long startMillis = dateTest.date1.toMillis(false /* use isDst */); in testAll() local
189 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
DUtilsTests.java203 e.startMillis = e.startDay * 1000L * 3600L * 24L + e.startTime * 60L * 1000L; in buildTestEvent()
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
DHttpFetcher.java269 final long startMillis = SystemClock.uptimeMillis(); field in HttpFetcher.HttpInputStreamWrapper
282 LogUtil.i("HttpFetcher.close", "fetch took " + (endMillis - startMillis) + " ms"); in close()
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkStatsCollection.java743 private void noteRecordedHistory(long startMillis, long endMillis, long totalBytes) { in noteRecordedHistory() argument
744 if (startMillis < mStartMillis) mStartMillis = startMillis; in noteRecordedHistory()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.kt840 text = DateUtils.formatDateRange(getContext(), mFormatter, event.startMillis, in drawEvent()
991 text.add(Utils.formatDateRange(context, e.startMillis, e.endMillis, in onHoverEvent()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java3966 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeRssiPolling() local
3976 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPolling()
3981 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPolling()
4001 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeRssiPollingWithSameSignalLevel() local
4011 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPollingWithSameSignalLevel()
4015 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPollingWithSameSignalLevel()
4055 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeRssiPollingWithSameSignalLevelVerboseLoggingEnabled() local
4065 when(mClock.getWallClockMillis()).thenReturn(startMillis + 0); in verifyConnectedModeRssiPollingWithSameSignalLevelVerboseLoggingEnabled()
4069 when(mClock.getWallClockMillis()).thenReturn(startMillis + 3333); in verifyConnectedModeRssiPollingWithSameSignalLevelVerboseLoggingEnabled()
4117 final long startMillis = 1_500_000_000_100L; in verifyConnectedModeNetworkCapabilitiesBandwidthUpdate() local
[all …]
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp1785 int64_t startMillis = timeBaseNs / 1000 / 1000; in initAlarms() local
1801 new AlarmTracker(startMillis, currentTimeMillis, alarm, key, periodicAlarmMonitor)); in initAlarms()