Home
last modified time | relevance | path

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

12345678910>>...40

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/scheduling/
DFederatedComputeJobManagerTest.java158 when(mClock.currentTimeMillis()).thenReturn(CURRENT_TIME_MILLIS); in setUp()
184 when(mClock.currentTimeMillis()).thenReturn(1000L).thenReturn(2000L); in testOnTrainerStartCalledSuccess()
204 when(mClock.currentTimeMillis()).thenReturn(1000L).thenReturn(2000L); in testOnTrainerStartCalledFailureDueToFaultyOwnerPackage()
227 when(mClock.currentTimeMillis()).thenReturn(1000L); in testOnTrainerStartCalledFailureDueToTaskLimit()
238 when(mClock.currentTimeMillis()).thenReturn(2000L); in testOnTrainerStartCalledFailureDueToTaskLimit()
269 when(mClock.currentTimeMillis()).thenReturn(1000L); in testOnTrainerStartCalled_firstTime()
272 when(mClock.currentTimeMillis()).thenReturn(2000L); in testOnTrainerStartCalled_firstTime()
363 when(mClock.currentTimeMillis()).thenReturn(1000L); in testOnTrainerStartCalled_multipleTimes_sameParams()
366 when(mClock.currentTimeMillis()).thenReturn(2000L); in testOnTrainerStartCalled_multipleTimes_sameParams()
369 when(mClock.currentTimeMillis()).thenReturn(3000L); in testOnTrainerStartCalled_multipleTimes_sameParams()
[all …]
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltLoggerImpl.java81 long currentTimeMillis = mSystemClock.currentTimeMillis(); in logOccurrence() local
83 return mDataService.loggerDisabled(Instant.ofEpochMilli(currentTimeMillis)); in logOccurrence()
90 mDataService.loggerEnabled(Instant.ofEpochMilli(currentTimeMillis))) in logOccurrence()
101 metric, count, eventCodes, currentTimeMillis), in logOccurrence()
108 long currentTimeMillis = mSystemClock.currentTimeMillis(); in logString() local
110 return mDataService.loggerDisabled(Instant.ofEpochMilli(currentTimeMillis)); in logString()
117 mDataService.loggerEnabled(Instant.ofEpochMilli(currentTimeMillis))) in logString()
125 metric, stringValue, eventCodes, currentTimeMillis), in logString()
130 MetricDefinition metric, long count, List<Integer> eventCodes, long currentTimeMillis) { in loggerEnabledLogOccurrence() argument
138 logNumberToReports(metric, count, eventVector, currentTimeMillis))) in loggerEnabledLogOccurrence()
[all …]
/packages/modules/Profiling/service/java/com/android/os/profiling/
DRateLimiter.java160 mLastPersistedTimestampMs = System.currentTimeMillis(); in RateLimiter()
186 final long currentTimeMillis = System.currentTimeMillis(); in isProfilingRequestAllowed() local
187 int status = mPastRunsHour.isProfilingAllowed(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
189 status = mPastRunsDay.isProfilingAllowed(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
192 status = mPastRunsWeek.isProfilingAllowed(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
195 mPastRunsHour.add(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
196 mPastRunsDay.add(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
197 mPastRunsWeek.add(uid, cost, currentTimeMillis); in isProfilingRequestAllowed()
236 || (System.currentTimeMillis() - mLastPersistedTimestampMs in maybePersistToDisk()
254 - System.currentTimeMillis(); in maybePersistToDisk()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/metrics/
DTetheringMetricsTest.java90 return currentTimeMillis(); in timeNow()
94 private long currentTimeMillis() { in currentTimeMillis() method in TetheringMetricsTest
290 final long wifiTetheringStartTime = currentTimeMillis(); in testMultiBuildersCreatedBeforeSendReport()
293 final long usbTetheringStartTime = currentTimeMillis(); in testMultiBuildersCreatedBeforeSendReport()
296 final long bluetoothTetheringStartTime = currentTimeMillis(); in testMultiBuildersCreatedBeforeSendReport()
302 currentTimeMillis() - wifiTetheringStartTime, 0L, 0L); in testMultiBuildersCreatedBeforeSendReport()
305 currentTimeMillis() - wifiTetheringStartTime); in testMultiBuildersCreatedBeforeSendReport()
311 currentTimeMillis() - usbTetheringStartTime, 0L, 0L); in testMultiBuildersCreatedBeforeSendReport()
315 currentTimeMillis() - usbTetheringStartTime); in testMultiBuildersCreatedBeforeSendReport()
321 currentTimeMillis() - bluetoothTetheringStartTime, 0L, 0L); in testMultiBuildersCreatedBeforeSendReport()
[all …]
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/service/
DPermissionStorageTimeChangeReceiverTest.kt117 verify(editor).putLong(PREF_KEY_SYSTEM_TIME_SNAPSHOT, fakeTimeSource.currentTimeMillis) in onReceive_bootCompletedReceived_savesSnapshot()
123 fakeTimeSource.currentTimeMillis = in onReceive_timeSetReceived_beforeBootCompleted_doesNothing()
124 fakeTimeSource.currentTimeMillis + TimeUnit.DAYS.toMillis(2) in onReceive_timeSetReceived_beforeBootCompleted_doesNothing()
143 fakeTimeSource.currentTimeMillis = in onReceive_timeDiffBelowMinimum_doesNothing()
144 fakeTimeSource.currentTimeMillis - TimeUnit.SECONDS.toMillis(30) in onReceive_timeDiffBelowMinimum_doesNothing()
155 fakeTimeSource.currentTimeMillis = in onReceive_timeChangedAboveMinimum_callsOnTimeChanged()
156 fakeTimeSource.currentTimeMillis + TimeUnit.DAYS.toMillis(1) in onReceive_timeChangedAboveMinimum_callsOnTimeChanged()
165 .thenReturn(fakeTimeSource.currentTimeMillis) in mockBootCompletedSnapshot()
171 var currentTimeMillis: Long = System.currentTimeMillis(), variable in com.android.permissioncontroller.tests.mocking.permission.service.PermissionStorageTimeChangeReceiverTest.FakeTimeSource
175 override fun currentTimeMillis(): Long { in currentTimeMillis() method in com.android.permissioncontroller.tests.mocking.permission.service.PermissionStorageTimeChangeReceiverTest.FakeTimeSource
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DRecentAppStatsMixinTest.java115 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp()
138 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()
142 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()
146 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps()
173 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp()
177 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp()
181 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp()
210 stat.mLastTimeUsed = System.currentTimeMillis() + 200; in loadDisplayableRecentApps_oneInstantAppSet_shouldHaveOneRecentApp()
235 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash()
239 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash()
[all …]
/packages/modules/Profiling/tests/cts/src/android/profiling/cts/
DProfilingServiceTests.java415 long currentTimeMillis = System.currentTimeMillis(); in testRateLimiter_PersistAndRestore() local
416 mRateLimiter.mPastRunsHour.removeOlderThan(currentTimeMillis); in testRateLimiter_PersistAndRestore()
417 mRateLimiter.mPastRunsDay.removeOlderThan(currentTimeMillis); in testRateLimiter_PersistAndRestore()
418 mRateLimiter.mPastRunsWeek.removeOlderThan(currentTimeMillis); in testRateLimiter_PersistAndRestore()
422 mRateLimiter.mPastRunsHour.add(1, 1, currentTimeMillis - 1000); in testRateLimiter_PersistAndRestore()
423 mRateLimiter.mPastRunsDay.add(1, 1, currentTimeMillis - 1000); in testRateLimiter_PersistAndRestore()
424 mRateLimiter.mPastRunsWeek.add(1, 1, currentTimeMillis - 1000); in testRateLimiter_PersistAndRestore()
425 mRateLimiter.mPastRunsDay.add(2, 1, currentTimeMillis - (60 * 60 * 1000) - 1000); in testRateLimiter_PersistAndRestore()
426 mRateLimiter.mPastRunsWeek.add(2, 1, currentTimeMillis - (60 * 60 * 1000) - 1000); in testRateLimiter_PersistAndRestore()
427 mRateLimiter.mPastRunsWeek.add(2, 1, currentTimeMillis - (24 * 60 * 60 * 1000) - 1000); in testRateLimiter_PersistAndRestore()
[all …]
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DFavoriteChannelEvaluatorTest.java34 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2);
36 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(1);
94 long latestWatchEndTimeMs = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2); in testMultiChannelsWithSimpleWatchLogs()
120 System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithSameWatchDuration()
124 System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(30), in testTwoChannelsWithSameWatchDuration()
138 System.currentTimeMillis() - TimeUnit.HOURS.toMillis(3), in testTwoChannelsWithDifferentWatchDuration()
142 System.currentTimeMillis() - TimeUnit.HOURS.toMillis(2), in testTwoChannelsWithDifferentWatchDuration()
152 System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithDifferentWatchDuration()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DDataProcessManager.java236 final long startTime = System.currentTimeMillis(); in loadCurrentBatteryHistoryMap()
245 (System.currentTimeMillis() - startTime))); in loadCurrentBatteryHistoryMap()
278 final long startTime = System.currentTimeMillis(); in loadCurrentAppUsageList()
303 (System.currentTimeMillis() - startTime))); in loadCurrentAppUsageList()
328 final long startTime = System.currentTimeMillis(); in loadDatabaseAppUsageList()
341 (System.currentTimeMillis() - startTime))); in loadDatabaseAppUsageList()
362 final long startTime = System.currentTimeMillis(); in loadPowerConnectionBatteryEventList()
374 batteryEventList.size(), (System.currentTimeMillis() - startTime))); in loadPowerConnectionBatteryEventList()
396 final long startTime = System.currentTimeMillis(); in loadBatteryUsageSlotList()
406 (System.currentTimeMillis() - startTime))); in loadBatteryUsageSlotList()
[all …]
DBatteryUsageDataLoader.java60 final long currentTime = System.currentTimeMillis(); in loadBatteryStatsData()
70 final long elapsedTime = System.currentTimeMillis() - currentTime; in loadBatteryStatsData()
89 final long start = System.currentTimeMillis(); in loadAppUsageData()
107 final long elapsedTime = System.currentTimeMillis() - start; in loadAppUsageData()
119 final long start = System.currentTimeMillis(); in preprocessBatteryUsageSlots()
162 batteryLevelData, System.currentTimeMillis() - start)); in preprocessBatteryUsageSlots()
168 final long start = System.currentTimeMillis(); in loadUsageDataSafely()
171 context, System.currentTimeMillis()); in loadUsageDataSafely()
184 "loadUsageDataSafely() in %d/ms", System.currentTimeMillis() - start)); in loadUsageDataSafely()
DDatabaseUtils.java167 final long startTime = System.currentTimeMillis(); in getAppUsageStartTimestampOfUser()
184 userId, latestTimestampString, (System.currentTimeMillis() - startTime))); in getAppUsageStartTimestampOfUser()
196 final long startTime = System.currentTimeMillis(); in getAppUsageEventForUsers()
226 (System.currentTimeMillis() - startTime))); in getAppUsageEventForUsers()
236 final long startTime = System.currentTimeMillis(); in getBatteryEvents()
262 batteryEventList.size(), (System.currentTimeMillis() - startTime))); in getBatteryEvents()
271 final long startTime = System.currentTimeMillis(); in getBatteryUsageSlots()
291 batteryUsageSlotList.size(), (System.currentTimeMillis() - startTime))); in getBatteryUsageSlots()
297 final long startTime = System.currentTimeMillis(); in getLastFullChargeTime()
313 lastFullChargeTimeString, (System.currentTimeMillis() - startTime))); in getLastFullChargeTime()
[all …]
DPeriodicJobManager.java77 long currentTimeMillis = System.currentTimeMillis(); in refreshJob() local
78 final long triggerAtMillis = getTriggerAtMillis(currentTimeMillis, fromBoot); in refreshJob()
100 static long getTriggerAtMillis(final long currentTimeMillis, final boolean fromBoot) { in getTriggerAtMillis() argument
105 long targetTimeMillis = TimestampUtils.getNextHourTimestamp(currentTimeMillis); in getTriggerAtMillis()
108 && (targetTimeMillis - currentTimeMillis) <= sBroadcastDelayFromBoot) { in getTriggerAtMillis()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java109 final long t2 = System.currentTimeMillis(); in printTiming()
124 final long t1 = System.currentTimeMillis(); in beginTransaction()
152 t1 = System.currentTimeMillis(); in endTransaction()
163 (System.currentTimeMillis() - transactionStartTime))); in endTransaction()
170 yieldStartTime = System.currentTimeMillis(); in yieldTransaction()
182 t1 = System.currentTimeMillis(); in insertWithOnConflict()
257 t1 = System.currentTimeMillis(); in query()
288 t1 = System.currentTimeMillis(); in query()
305 t1 = System.currentTimeMillis(); in queryNumEntries()
325 t1 = System.currentTimeMillis(); in rawQuery()
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionService.java33 final long startTime = System.currentTimeMillis(); in onGetSuggestions()
42 final long endTime = System.currentTimeMillis(); in onGetSuggestions()
51 final long startTime = System.currentTimeMillis(); in onSuggestionDismissed()
54 final long endTime = System.currentTimeMillis(); in onSuggestionDismissed()
65 final long startTime = System.currentTimeMillis(); in onSuggestionLaunched()
68 final long endTime = System.currentTimeMillis(); in onSuggestionLaunched()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DProgramDataManagerTest.java120 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testProgramUtils()
123 assertThat(startTimeMs).isAtMost(mClock.currentTimeMillis()); in testProgramUtils()
124 assertThat(mClock.currentTimeMillis()).isLessThan(startTimeMs + programAt.durationMs); in testProgramUtils()
139 long prefetchTimeRangeStartMs = System.currentTimeMillis() + preventSnapDelayMs; in testGetPrograms()
151 .isLessThan(mClock.currentTimeMillis()); in testGetPrograms()
154 .isGreaterThan(mClock.currentTimeMillis()); in testGetPrograms()
159 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis()); in testGetPrograms()
161 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testGetPrograms()
193 int index = stub.getIndex(mClock.currentTimeMillis(), testChannelId); in testCurrentProgramListener()
206 mClock.setCurrentTimeMillis(mClock.currentTimeMillis() + WAIT_TIME_OUT_MS); in testCurrentProgramListener()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DGlobalSearchLoaderTest.java101 doc.lastModified = System.currentTimeMillis(); in setUp()
155 doc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory()
213 currentUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers()
218 otherUserDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory_excludedOtherUsers()
238 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
241 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
244 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString()
269 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
272 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
275 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportWindowCalcDelegateTest.java90 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSourceAppDestination()
108 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSrcInstallAttributedAppDestinationTrigger1stWindow()
128 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSrcInstallAttributedAppDestinationTrigger2ndWindow()
147 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSrcInstallAttributedWebDestinationTrigger1stWindow()
166 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSrcInstallAttributedWebDestinationTrigger2ndWindow()
185 long triggerTime = System.currentTimeMillis(); in getReportingTime_eventSourceWebDestination()
203 long triggerTime = System.currentTimeMillis(); in getReportingTime_navigationSourceTriggerInFirstWindow()
222 long triggerTime = System.currentTimeMillis(); in getReportingTime_navigationSourceTriggerInSecondWindow()
241 long triggerTime = System.currentTimeMillis(); in getReportingTime_navigationSecondExpiry()
259 long triggerTime = System.currentTimeMillis(); in getReportingTime_navigationLast()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/core/instrumentation/
DMetricsDataModelTest.kt44 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in addTimeStamp_addOnePageTimeStamp_sizeShouldBeOne()
51 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in addTimeStamp_addTwoSamePageTimeStamp_sizeShouldBeTwo()
52 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in addTimeStamp_addTwoSamePageTimeStamp_sizeShouldBeTwo()
59 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in getPageDuration_getExistPageId_mustFoundValue()
68 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in getPageDuration_getNonExistPageId_valueShouldBeZero()
75 metricsDataModel.addTimeStamp(PageTimeStamp(TEST_PID, System.currentTimeMillis())) in getPageDuration_getExistPageIdAndDonotRemoved_sizeShouldBeOne()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothServerSocket.java103 mSocketCreationTimeMillis = System.currentTimeMillis(); in BluetoothServerSocket()
110 mSocketCreationLatencyMillis = System.currentTimeMillis() - mSocketCreationTimeMillis; in BluetoothServerSocket()
127 mSocketCreationTimeMillis = System.currentTimeMillis(); in BluetoothServerSocket()
134 mSocketCreationLatencyMillis = System.currentTimeMillis() - mSocketCreationTimeMillis; in BluetoothServerSocket()
148 mSocketCreationTimeMillis = System.currentTimeMillis(); in BluetoothServerSocket()
153 mSocketCreationLatencyMillis = System.currentTimeMillis() - mSocketCreationTimeMillis; in BluetoothServerSocket()
185 long socketConnectionTime = System.currentTimeMillis(); in accept()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/util/
DTrainingConditionsCheckerTest.java68 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_allConditionsOk()
80 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_allTrainingConditionsNotOk()
94 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_memoryConditionNotOk()
107 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_batteryNotOk()
119 when(mClock.currentTimeMillis()).thenReturn(1000L, 1100L, 2100L); in testCheckAllFlConditions_throttled()
144 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_thermallyThrottled_conditionsReported()
158 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_thermallyThrottledAtThreshold_conditionsReported()
171 when(mClock.currentTimeMillis()).thenReturn(1000L); in testCheckAllConditionsForFlTraining_notThermallyThrottled_conditionsNotReported()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DRunnerState.java63 long startTime = System.currentTimeMillis(); in processMessage()
72 long runTime = System.currentTimeMillis() - startTime; in processMessage()
84 long startTime = System.currentTimeMillis(); in enter()
89 long runTime = System.currentTimeMillis() - startTime; in enter()
100 long startTime = System.currentTimeMillis(); in exit()
105 long runTime = System.currentTimeMillis() - startTime; in exit()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DLocalBluetoothPreferences.java85 long currentTimeMillis = System.currentTimeMillis(); in shouldShowDialogInForeground() local
92 > currentTimeMillis) { in shouldShowDialogInForeground()
103 GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND) > currentTimeMillis) { in shouldShowDialogInForeground()
117 > currentTimeMillis) { in shouldShowDialogInForeground()
157 System.currentTimeMillis()); in persistSelectedDeviceInPicker()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DLogUtilsTest.java83 final long currentTimeMillis = System.currentTimeMillis(); in dumpBatteryReattributeDatabaseHist_printExpectedResult() local
87 .setTimestampStart(currentTimeMillis - 20000) in dumpBatteryReattributeDatabaseHist_printExpectedResult()
88 .setTimestampEnd(currentTimeMillis - 10000) in dumpBatteryReattributeDatabaseHist_printExpectedResult()
96 .setTimestampStart(currentTimeMillis - 40000) in dumpBatteryReattributeDatabaseHist_printExpectedResult()
97 .setTimestampEnd(currentTimeMillis - 20000) in dumpBatteryReattributeDatabaseHist_printExpectedResult()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/
DInputTaskSchedulerTest.java140 mFakeClock.currentTimeMillis(), in testAddSchedule_start()
141 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1))); in testAddSchedule_start()
148 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveNoStop()
170 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveNoFail()
200 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveUseLessSession()
227 mFakeClock.currentTimeMillis(), in testUpdateSchedule_noCancel()
228 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); in testUpdateSchedule_noCancel()
242 mFakeClock.currentTimeMillis(), in testUpdateSchedule_cancel()
243 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(2)); in testUpdateSchedule_cancel()
248 .setStartTimeMs(mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)) in testUpdateSchedule_cancel()
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DStatsLogWriter.java35 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in visible()
46 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in hidden()
57 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in clicked()
68 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in changed()
115 ElapsedTimeUtils.getElapsedTime(System.currentTimeMillis())); in action()

12345678910>>...40