/packages/apps/Dialer/java/com/android/dialer/calllog/ |
D | RefreshAnnotatedCallLogWorker.java | 58 long startTime = System.currentTimeMillis(); in doInBackground() 63 System.currentTimeMillis() - startTime); in doInBackground() 72 long startTime = System.currentTimeMillis(); in checkDirtyAndRebuildIfNecessary() 90 System.currentTimeMillis() - startTime); in checkDirtyAndRebuildIfNecessary() 92 startTime = System.currentTimeMillis(); in checkDirtyAndRebuildIfNecessary() 97 System.currentTimeMillis() - startTime); in checkDirtyAndRebuildIfNecessary() 107 long startTime = System.currentTimeMillis(); in isDirty() 115 System.currentTimeMillis() - startTime); in isDirty() 134 long startTime = System.currentTimeMillis(); in rebuild() 140 System.currentTimeMillis() - startTime); in rebuild() [all …]
|
/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/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 112 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); in testProgramUtils() 115 assertTrue(startTimeMs <= mClock.currentTimeMillis()); in testProgramUtils() 116 assertTrue(mClock.currentTimeMillis() < startTimeMs + programAt.durationMs); in testProgramUtils() 133 long prefetchTimeRangeStartMs = System.currentTimeMillis() + preventSnapDelayMs; 142 assertTrue(currentProgram.getStartTimeUtcMillis() <= mClock.currentTimeMillis() 143 && mClock.currentTimeMillis() <= currentProgram.getEndTimeUtcMillis()); 148 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis()); 150 int index = stub.getIndex(mClock.currentTimeMillis(), channelId); 183 int index = stub.getIndex(mClock.currentTimeMillis(), testChannelId); 194 mClock.setCurrentTimeMillis(mClock.currentTimeMillis() + WAIT_TIME_OUT_MS); [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/ |
D | InputTaskSchedulerTest.java | 123 CHANNEL_ID, mFakeClock.currentTimeMillis(), in testAddSchedule_start() 124 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1))); in testAddSchedule_start() 131 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveNoStop() 153 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveNoFail() 182 long startTimeMs = mFakeClock.currentTimeMillis(); in testAddSchedule_consecutiveUseLessSession() 206 CHANNEL_ID, mFakeClock.currentTimeMillis(), in testUpdateSchedule_noCancel() 207 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)); in testUpdateSchedule_noCancel() 218 CHANNEL_ID, mFakeClock.currentTimeMillis(), in testUpdateSchedule_cancel() 219 mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(2)); in testUpdateSchedule_cancel() 223 .setStartTimeMs(mFakeClock.currentTimeMillis() + TimeUnit.HOURS.toMillis(1)) in testUpdateSchedule_cancel()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | FavoriteChannelEvaluatorTest.java | 35 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2); 37 System.currentTimeMillis() - TimeUnit.DAYS.toMillis(1); 91 long latestWatchEndTimeMs = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(2); in testMultiChannelsWithSimpleWatchLogs() 115 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithSameWatchDuration() 117 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.MINUTES.toMillis(30), in testTwoChannelsWithSameWatchDuration() 129 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(3), in testTwoChannelsWithDifferentWatchDuration() 131 addWatchLog(channelTwo, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(2), in testTwoChannelsWithDifferentWatchDuration() 138 addWatchLog(channelOne, System.currentTimeMillis() - TimeUnit.HOURS.toMillis(1), in testTwoChannelsWithDifferentWatchDuration()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | ScheduleRowAdapter.java | 62 long currentTimeMs = System.currentTimeMillis(); 94 long deadLine = Utils.getLastMillisecondOfDay(System.currentTimeMillis()); in start() 112 sendNextUpdateMessage(System.currentTimeMillis()); in start() 117 Utils.getLastMillisecondOfDay(System.currentTimeMillis())) / ONE_DAY_MS); in calculateHeaderDate() 262 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingAdded() 275 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingRemoved() 310 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingUpdated() 327 sendNextUpdateMessage(System.currentTimeMillis()); in onScheduledRecordingUpdated() 374 return schedule.getEndTimeMs() > System.currentTimeMillis() in willBeKept() 422 nextTime - System.currentTimeMillis()); in sendNextUpdateMessage()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 221 return System.currentTimeMillis(); in getRecordEndTimeMs() 344 long currentTimeMs = System.currentTimeMillis(); in jumpToNext() 620 if (recordStartTimeMs > System.currentTimeMillis()) { in PlayController() 626 + System.currentTimeMillis()); in PlayController() 627 recordStartTimeMs = System.currentTimeMillis(); in PlayController() 669 mAvailablityChangedTimeMs = System.currentTimeMillis(); in onAvailabilityChanged() 691 long currentTimeMs = mRecordEndTimeMs == CURRENT_TIME ? System.currentTimeMillis() in handleGetCurrentPosition() 719 setCurrentPositionMs(System.currentTimeMillis()); in handleGetCurrentPosition() 785 ? System.currentTimeMillis() : mRecordEndTimeMs, in seekTo() 894 endTimeMs = System.currentTimeMillis(); in onRecordTimeRangeChanged() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlarmSchedulerTest.java | 169 BATCH_SIZE, System.currentTimeMillis()); in testNoEvents() 175 long currentMillis = System.currentTimeMillis(); in testNonAllDayEvent() 221 long currentMillis = System.currentTimeMillis(); in testExpiredReminder() 235 long currentMillis = System.currentTimeMillis(); in testAlarmMax() 249 long currentMillis = System.currentTimeMillis(); in testMultipleEvents() 264 long currentMillis = System.currentTimeMillis(); in testRecurringEvents() 285 long currentMillis = System.currentTimeMillis(); in testMultipleRemindersForEvent() 301 long currentMillis = System.currentTimeMillis(); in testLargeBatch()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | LocalBluetoothPreferences.java | 81 long currentTimeMillis = System.currentTimeMillis(); in shouldShowDialogInForeground() local 88 > currentTimeMillis) { in shouldShowDialogInForeground() 99 GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND) > currentTimeMillis) { in shouldShowDialogInForeground() 113 > currentTimeMillis) { in shouldShowDialogInForeground() 139 System.currentTimeMillis()); in persistSelectedDeviceInPicker()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardSummary.java | 87 long startTime = System.currentTimeMillis(); in onCreate() 105 Log.d(TAG, "onCreate took " + (System.currentTimeMillis() - startTime) in onCreate() 118 long startTime = System.currentTimeMillis(); in onResume() 131 Log.d(TAG, "onResume took " + (System.currentTimeMillis() - startTime) + " ms"); in onResume() 153 long startTime = System.currentTimeMillis(); in onWindowFocusChanged() 165 + (System.currentTimeMillis() - startTime) + " ms"); in onWindowFocusChanged() 187 long startTime = System.currentTimeMillis(); in onViewCreated() 208 + (System.currentTimeMillis() - startTime) + " ms"); in onViewCreated()
|
/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/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 131 long currentTimeMs = System.currentTimeMillis(); 235 = System.currentTimeMillis(); in onTune() 273 = System.currentTimeMillis(); in onTimeShiftPause() 280 mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTimeShiftResume() 285 mLastCurrentPositionUpdateTimeMs = System.currentTimeMillis(); in onTimeShiftSeekTo() 427 mStartTime = System.currentTimeMillis(); in onStartRecording() 434 mEndTime = System.currentTimeMillis(); in onStopRecording() 442 long time = System.currentTimeMillis(); in onStopRecording()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeClock.java | 34 long now = System.currentTimeMillis(); in createWithCurrentTime() 50 private FakeClock(long currentTimeMillis, long bootTimeMillis) { in FakeClock() argument 51 mCurrentTimeMillis = currentTimeMillis; in FakeClock() 89 public long currentTimeMillis() { in currentTimeMillis() method in FakeClock
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 401 System.currentTimeMillis()); in onUpdateSelection() 1233 System.currentTimeMillis()); in unlearnWord() 1441 System.currentTimeMillis()); in performAdditionToUserHistoryDictionary() 1450 startTimeMillis = System.currentTimeMillis(); in performUpdateSuggestionStripSync() 1500 long runTimeMillis = System.currentTimeMillis() - startTimeMillis; in performUpdateSuggestionStripSync() 2155 startTimeMillis = System.currentTimeMillis(); in commitChosenWord() 2166 long runTimeMillis = System.currentTimeMillis() - startTimeMillis; in commitChosenWord() 2169 startTimeMillis = System.currentTimeMillis(); in commitChosenWord() 2177 long runTimeMillis = System.currentTimeMillis() - startTimeMillis; in commitChosenWord() 2181 startTimeMillis = System.currentTimeMillis(); in commitChosenWord() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | RecentAppsPreferenceControllerTest.java | 161 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 165 stat2.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 169 stat3.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents() 208 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_hasRecentButNoneDisplayable_showAppInfo() 212 stat2.mLastTimeUsed = System.currentTimeMillis(); in display_hasRecentButNoneDisplayable_showAppInfo() 241 stat1.mLastTimeUsed = System.currentTimeMillis(); in display_showRecents_formatSummary()
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
D | CurrentPositionMediatorTest.java | 44 long currentTimeMs = System.currentTimeMillis(); in testInitialize() 52 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnSeekRequested() 61 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedInvalidInput() 73 long seekToTimeMs = System.currentTimeMillis() - REQUEST_TIMEOUT_MS * 3; in testOnCurrentPositionChangedValidInput()
|
/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/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | GetCapabilitiesTask.java | 65 long start = System.currentTimeMillis(); in doInBackground() 77 " (" + (System.currentTimeMillis() - start) + "ms)"); in doInBackground() 85 start = System.currentTimeMillis(); in doInBackground() 96 " (" + (System.currentTimeMillis() - start) + "ms)"); in doInBackground()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | StorageManagerUpsellDialogTest.java | 55 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 2)); in testNoThanksMaximumShownTimes() 61 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 3)); in testNoThanksMaximumShownTimes() 67 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 4)); in testNoThanksMaximumShownTimes() 73 when(mClock.currentTimeMillis()).thenReturn(TimeUnit.DAYS.toMillis(90 * 5)); in testNoThanksMaximumShownTimes()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | RecurringRunner.java | 98 long now = System.currentTimeMillis(); in postAt() 129 long next = getSharedPreferences().getLong(mName, System.currentTimeMillis()); in getNextRunTime() 130 if (next > System.currentTimeMillis() + mIntervalMs) { in getNextRunTime() 137 long next = System.currentTimeMillis() + mIntervalMs; in resetNextRunTime()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrinter.java | 46 private long mLastSeenTime = System.currentTimeMillis(); 68 return !mFound && (System.currentTimeMillis() - mLastSeenTime) > in isExpired() 140 mLastSeenTime = System.currentTimeMillis(); in found() 164 mLastSeenTime = System.currentTimeMillis(); in notFound()
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
D | CameraStartUp.java | 51 long beforeStart = System.currentTimeMillis(); in launchCamera() 54 long cameraStarted = System.currentTimeMillis(); in launchCamera() 74 long beforeStart = System.currentTimeMillis(); in launchVideo() 77 long cameraStarted = System.currentTimeMillis(); in launchVideo()
|
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
D | AutomaticStorageManagementJobService.java | 70 System.currentTimeMillis()); in onStartJob() 145 final long currentTime = clock.currentTimeMillis(); in maybeDisableDueToPolicy() 177 public long currentTimeMillis() { in currentTimeMillis() method in AutomaticStorageManagementJobService.Clock 178 return System.currentTimeMillis(); in currentTimeMillis()
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
D | CameraStartUp.java | 52 long beforeStart = System.currentTimeMillis(); in launchCamera() 55 long cameraStarted = System.currentTimeMillis(); in launchCamera() 74 long beforeStart = System.currentTimeMillis(); in launchVideo() 77 long cameraStarted = System.currentTimeMillis(); in launchVideo()
|
/packages/apps/TV/src/com/android/tv/dvr/recorder/ |
D | RecordingScheduler.java | 190 mClock.currentTimeMillis() + SOON_DURATION_IN_MS), in updatePendingRecordings() 200 || (mLastStartTimePendingMs > mClock.currentTimeMillis() in updatePendingRecordings() 201 && mLastStartTimePendingMs < mClock.currentTimeMillis() + SOON_DURATION_IN_MS); in updatePendingRecordings() 294 Math.max(mLastStartTimePendingMs, mClock.currentTimeMillis())); in updateNextAlarm() 309 return mClock.currentTimeMillis() >= scheduledRecording.getStartTimeMs() - durationInMs; in startsWithin()
|