/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DatabaseWrapper.java | 109 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/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppStatsMixinTest.java | 96 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidRecentAppSet_shouldHaveOneRecentApp() 119 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 123 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 127 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_threeValidRecentAppsSet_shouldHaveThreeRecentApps() 154 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 158 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 162 stat3.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_oneValidAndTwoInvalidSet_shouldHaveOneRecentApp() 191 stat.mLastTimeUsed = System.currentTimeMillis() + 200; in loadDisplayableRecentApps_oneInstantAppSet_shouldHaveOneRecentApp() 216 stat1.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash() 220 stat2.mLastTimeUsed = System.currentTimeMillis(); in loadDisplayableRecentApps_withNullAppEntryOrInfo_shouldNotCrash() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | FavoriteChannelEvaluatorTest.java | 34 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/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | DatabaseHelperTest.java | 87 values.put(FileColumns.DATE_ADDED, System.currentTimeMillis()); in assertDowngrade() 88 values.put(FileColumns.DATE_MODIFIED, System.currentTimeMillis()); in assertDowngrade() 127 values.put(FileColumns.DATE_ADDED, System.currentTimeMillis()); in assertUpgrade() 128 values.put(FileColumns.DATE_MODIFIED, System.currentTimeMillis()); in assertUpgrade() 138 values.put(FileColumns.DATE_ADDED, System.currentTimeMillis()); in assertUpgrade() 139 values.put(FileColumns.DATE_MODIFIED, System.currentTimeMillis()); in assertUpgrade() 149 values.put(FileColumns.DATE_ADDED, System.currentTimeMillis()); in assertUpgrade() 150 values.put(FileColumns.DATE_MODIFIED, System.currentTimeMillis()); in assertUpgrade() 160 values.put(FileColumns.DATE_ADDED, System.currentTimeMillis()); in assertUpgrade() 161 values.put(FileColumns.DATE_MODIFIED, System.currentTimeMillis()); in assertUpgrade() [all …]
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
D | SuggestionService.java | 33 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/Settings/tests/unit/src/com/android/settings/fuelgauge/batterytip/ |
D | RestrictAppTest.java | 59 mBatteryDatabaseManager.deleteAllAnomaliesBeforeTimeStamp(System.currentTimeMillis() + in setUp() 68 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); in batterySettings_hasOneAnomaly_showAnomaly() 80 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); in batterySettings_hasTwoAnomalies_showAnomalies() 83 AnomalyDatabaseHelper.State.NEW, System.currentTimeMillis()); in batterySettings_hasTwoAnomalies_showAnomalies() 95 AnomalyDatabaseHelper.State.AUTO_HANDLED, System.currentTimeMillis()); in batterySettings_hasAutoHandledAnomalies_showAutoHandled() 98 AnomalyDatabaseHelper.State.AUTO_HANDLED, System.currentTimeMillis()); in batterySettings_hasAutoHandledAnomalies_showAutoHandled() 109 final long now = System.currentTimeMillis(); in insertDuplicateAnomalies_onlyInsertOnce()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowAdapter.java | 65 long currentTimeMs = System.currentTimeMillis(); 95 long deadLine = Utils.getLastMillisecondOfDay(System.currentTimeMillis()); in start() 119 sendNextUpdateMessage(System.currentTimeMillis()); in start() 125 ((deadLine - Utils.getLastMillisecondOfDay(System.currentTimeMillis())) in calculateHeaderDate() 279 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingAdded() 290 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingRemoved() 323 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingUpdated() 340 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingUpdated() 379 return schedule.getEndTimeMs() > System.currentTimeMillis() in willBeKept() 420 mHandler.sendEmptyMessageDelayed(MSG_UPDATE_ROW, nextTime - System.currentTimeMillis()); in sendNextUpdateMessage()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceControllerTest.java | 144 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 148 stat2.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 152 stat3.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 181 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecentsWithInstantApp() 187 stat2.mLastTimeUsed = System.currentTimeMillis() + 200; in display_showRecentsWithInstantApp() 224 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecentsWithNullAppEntryOrInfo() 228 stat2.mLastTimeUsed = System.currentTimeMillis(); in display_showRecentsWithNullAppEntryOrInfo() 251 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_hasRecentButNoneDisplayable_showAllApps() 255 stat2.mLastTimeUsed = System.currentTimeMillis(); in display_hasRecentButNoneDisplayable_showAllApps() 277 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents_formatSummary()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothPreferences.java | 80 long currentTimeMillis = System.currentTimeMillis(); in shouldShowDialogInForeground() local 87 > currentTimeMillis) { in shouldShowDialogInForeground() 98 GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND) > currentTimeMillis) { in shouldShowDialogInForeground() 112 > currentTimeMillis) { in shouldShowDialogInForeground() 138 System.currentTimeMillis()); in persistSelectedDeviceInPicker()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | LocalBluetoothPreferences.java | 80 long currentTimeMillis = System.currentTimeMillis(); in shouldShowDialogInForeground() local 87 > currentTimeMillis) { in shouldShowDialogInForeground() 98 GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND) > currentTimeMillis) { in shouldShowDialogInForeground() 112 > currentTimeMillis) { in shouldShowDialogInForeground() 138 System.currentTimeMillis()); in persistSelectedDeviceInPicker()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | GlobalSearchLoaderTest.java | 72 doc.lastModified = System.currentTimeMillis(); in setUp() 144 doc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDirectory() 176 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 179 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 182 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeSearchString() 207 pdfDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot() 210 apkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot() 213 testApkDoc.lastModified = System.currentTimeMillis(); in testSearchResult_includeDifferentRoot()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 95 final long now = System.currentTimeMillis(); in setUp() 140 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatDaysCorrectly() 155 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatHoursCorrectly() 170 final long updateTime = System.currentTimeMillis() in testCarrierUpdateTime_shouldFormatMinutesCorrectly() 183 final long updateTime = System.currentTimeMillis() - TimeUnit.SECONDS.toMillis(45); in testCarrierUpdateTime_shouldFormatLessThanMinuteCorrectly() 195 final long updateTime = System.currentTimeMillis() - TimeUnit.SECONDS.toMillis(45); in testCarrierUpdateTimeWithNoCarrier_shouldSayJustNow() 207 final long updateTime = System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(2); in testCarrierUpdateTimeWithNoCarrier_shouldFormatTime() 219 final long updateTime = System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1); in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont() 233 final long updateTime = System.currentTimeMillis() - TimeUnit.HOURS.toMillis(7); in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont() 266 final long cycleEnd = System.currentTimeMillis() + TimeUnit.HOURS.toMillis(23); in testSetUsageInfo_cycleRemainingTimeIsLessOneDay() [all …]
|
D | DataUsageSummaryPreferenceControllerTest.java | 148 final long now = System.currentTimeMillis(); in testSummaryUpdate_onePlan_basic() 173 final long now = System.currentTimeMillis(); in testSummaryUpdate_noPlan_basic() 198 final long now = System.currentTimeMillis(); in testSummaryUpdate_noCarrier_basic() 225 final long now = System.currentTimeMillis(); in testSummaryUpdate_noPlanData_basic() 252 final long now = System.currentTimeMillis(); in testSummaryUpdate_noLimitNoWarning() 269 final long now = System.currentTimeMillis(); in testSummaryUpdate_warningOnly() 290 final long now = System.currentTimeMillis(); in testSummaryUpdate_limitOnly() 311 final long now = System.currentTimeMillis(); in testSummaryUpdate_limitAndWarning() 334 final long now = System.currentTimeMillis(); in testSummaryUpdate_noSim_shouldSetWifiMode()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
D | ServiceProxy.java | 104 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceConnected() 152 (System.currentTimeMillis() - mStartTime) + "ms"); in onServiceDisconnected() 177 mStartTime = System.currentTimeMillis(); in setTask() 201 long time = System.currentTimeMillis(); in waitForCompletion() 213 (System.currentTimeMillis() - time) + "ms"); in waitForCompletion() 229 (System.currentTimeMillis() - mStartTime) + "ms"); in test()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothUtils.java | 112 long currentTimeMillis = System.currentTimeMillis(); in shouldShowDialogInForeground() local 119 > currentTimeMillis) { in shouldShowDialogInForeground() 130 GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND) > currentTimeMillis) { in shouldShowDialogInForeground() 144 > currentTimeMillis) { in shouldShowDialogInForeground() 168 editor.putLong(KEY_LAST_SELECTED_DEVICE_TIME, System.currentTimeMillis()); in persistSelectedDeviceInPicker()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 222 return System.currentTimeMillis(); in getRecordEndTimeMs() 345 long currentTimeMs = System.currentTimeMillis(); in jumpToNext() 629 if (recordStartTimeMs > System.currentTimeMillis()) { in PlayController() 640 + System.currentTimeMillis()); in PlayController() 641 recordStartTimeMs = System.currentTimeMillis(); in PlayController() 688 mAvailablityChangedTimeMs = System.currentTimeMillis(); in onAvailabilityChanged() 712 ? System.currentTimeMillis() in handleGetCurrentPosition() 741 setCurrentPositionMs(System.currentTimeMillis()); in handleGetCurrentPosition() 807 ? System.currentTimeMillis() in seekTo() 926 endTimeMs = System.currentTimeMillis(); in onRecordTimeRangeChanged() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/ |
D | DataUsageSummaryPreferenceControllerTest.java | 201 info.cycleEnd = System.currentTimeMillis() + TimeUnit.DAYS.toMillis(numDays) in refreshUi_endTimeIsGreaterThanOneDay_setsBillingCycleText() 217 info.cycleEnd = System.currentTimeMillis() + TimeUnit.HOURS.toMillis(22); in refreshUi_endTimeIsLessThanOneDay_setsBillingCycleText() 231 info.cycleEnd = System.currentTimeMillis(); in refreshUi_endTimeIsNow_setsBillingCycleText() 249 setSubscriptionPlan(/* usageBytes= */ 1000L, System.currentTimeMillis()); in refreshUi_hasCarrierName_hasRecentUpdate_setsCarrierInfoText() 268 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_hasCarrierName_hasOldUpdate_setsCarrierInfoText() 284 setSubscriptionPlan(/* usageBytes= */ 1000L, System.currentTimeMillis()); in refreshUi_noCarrierName_hasRecentUpdate_setsCarrierInfoText() 301 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(numDays)); in refreshUi_noCarrierName_hasOldUpdate_setsCarrierInfoText() 321 System.currentTimeMillis() - DataUsageSummaryPreferenceController.WARNING_AGE in refreshUi_hasUpdateTimeOlderThanWarning_setsCarrierInfoStyle() 340 System.currentTimeMillis() - DataUsageSummaryPreferenceController.WARNING_AGE in refreshUi_hasUpdateTimeYoungerThanWarning_setsCarrierInfoStyle()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderEncoderTests.java | 70 this(System.currentTimeMillis(), DEFAULT_MAX_UNIGRAMS); in BinaryDictDecoderEncoderTests() 168 now = System.currentTimeMillis(); in timeWritingDictToFile() 173 diff = System.currentTimeMillis() - now; in timeWritingDictToFile() 221 now = System.currentTimeMillis(); in timeReadingAndCheckDict() 223 diff = System.currentTimeMillis() - now; in timeReadingAndCheckDict() 241 final String dictVersion = Long.toString(System.currentTimeMillis()); in runReadAndWrite() 282 final String dictVersion = Long.toString(System.currentTimeMillis()); in testCharacterTableIsPresent() 417 now = System.currentTimeMillis(); 419 diff = System.currentTimeMillis() - now; 434 final String dictVersion = Long.toString(System.currentTimeMillis()); [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeClock.java | 31 long now = System.currentTimeMillis(); in createWithCurrentTime() 48 private FakeClock(long currentTimeMillis, long bootTimeMillis) { in FakeClock() argument 49 mCurrentTimeMillis = currentTimeMillis; in FakeClock() 87 public long currentTimeMillis() { in currentTimeMillis() method in FakeClock
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | EventLog.java | 65 String.format("timestamp: %d - %s", System.currentTimeMillis(), eventType)); in logUnlockEvent() 76 System.currentTimeMillis(), eventType, value)); in logUnlockEvent() 87 "timestamp: %d - %s", System.currentTimeMillis(), eventType)); in logEnrollmentEvent() 98 System.currentTimeMillis(), eventType, value)); in logEnrollmentEvent()
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 129 long currentTimeMs = System.currentTimeMillis(); 239 mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTune() 277 mPausedTimeMs = mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTimeShiftPause() 284 mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTimeShiftResume() 289 mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTimeShiftSeekTo() 432 mStartTime = System.currentTimeMillis(); in onStartRecording() 439 mEndTime = System.currentTimeMillis(); in onStopRecording() 447 long time = System.currentTimeMillis(); in onStopRecording()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DailyLoggingAlarmScheduler.java | 47 long currentTimeMillis = System.currentTimeMillis(); in setAlarm() local 48 oneDayAgo.setTimeInMillis(currentTimeMillis); in setAlarm() 56 oneMinuteFromNow.setTimeInMillis(currentTimeMillis); in setAlarm()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | KeyboardInterpreter.java | 51 if ((System.currentTimeMillis() - mLastDeckNavigation) > mBounce) { in onKeyDown() 52 mLastDeckNavigation = System.currentTimeMillis(); in onKeyDown() 59 if ((System.currentTimeMillis() - mLastDeckNavigation) > mBounce) { in onKeyDown() 60 mLastDeckNavigation = System.currentTimeMillis(); in onKeyDown()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | StorageManagerUpsellDialogTest.java | 50 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 2)); in testNoThanksMaximumShownTimes() 56 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 3)); in testNoThanksMaximumShownTimes() 62 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 4)); in testNoThanksMaximumShownTimes() 68 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 5)); in testNoThanksMaximumShownTimes()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | CurrentPositionMediatorTest.java | 46 long currentTimeMs = System.currentTimeMillis(); in testInitialize() 54 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnSeekRequested() 67 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedInvalidInput() 85 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedValidInput()
|