/packages/apps/DeskClock/src/com/android/deskclock/ |
D | StopwatchTextController.java | 26 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 56 final int seconds = (int) (remainder / SECOND_IN_MILLIS); in setTimeString() 57 remainder = (int) (remainder % SECOND_IN_MILLIS); in setTimeString() 64 if ((mLastTime / SECOND_IN_MILLIS) != (accumulatedTime / SECOND_IN_MILLIS)) { in setTimeString()
|
D | TimerTextController.java | 23 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 49 int seconds = (int) (remainder / SECOND_IN_MILLIS); in setTimeString() 50 remainder = (int) (remainder % SECOND_IN_MILLIS); in setTimeString()
|
D | AnalogClock.java | 33 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 58 final long delay = SECOND_IN_MILLIS - now % SECOND_IN_MILLIS;
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimerStringFormatter.java | 27 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 38 int roundedSeconds = (int) (remainingTime / SECOND_IN_MILLIS % 60); in formatTimeRemaining() 43 if ((remainingTime % SECOND_IN_MILLIS != 0) && shouldShowSeconds) { in formatTimeRemaining()
|
D | TimerStringFormatter.kt | 22 import android.text.format.DateUtils.SECOND_IN_MILLIS 40 var roundedSeconds = (remainingTime / SECOND_IN_MILLIS % 60).toInt() in formatTimeRemaining() 45 if (remainingTime % SECOND_IN_MILLIS != 0L && shouldShowSeconds) { in formatTimeRemaining()
|
D | Timer.java | 27 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 73 public static final long MIN_LENGTH = SECOND_IN_MILLIS; 77 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS;
|
D | Timer.kt | 22 import android.text.format.DateUtils.SECOND_IN_MILLIS in <lambda>() 335 val MIN_LENGTH: Long = SECOND_IN_MILLIS in <lambda>() 338 val MAX_LENGTH: Long = 99 * HOUR_IN_MILLIS + 99 * MINUTE_IN_MILLIS + 99 * SECOND_IN_MILLIS in <lambda>()
|
D | SettingsDAO.kt | 226 return crescendoSeconds.toInt() * DateUtils.SECOND_IN_MILLIS in getAlarmCrescendoDuration() 235 return crescendoSeconds.toInt() * DateUtils.SECOND_IN_MILLIS in getTimerCrescendoDuration()
|
D | SettingsDAO.java | 233 return Integer.parseInt(crescendoSeconds) * DateUtils.SECOND_IN_MILLIS; in getAlarmCrescendoDuration() 242 return Integer.parseInt(crescendoSeconds) * DateUtils.SECOND_IN_MILLIS; in getTimerCrescendoDuration()
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
D | WakelockAnomalyTest.java | 70 final long durationMs = DateUtils.SECOND_IN_MILLIS * 15; in testWakelockAnomaly_longTimeWhileRunning_report() 92 final long durationMs = DateUtils.SECOND_IN_MILLIS; in testWakelockAnomaly_shortTime_notReport() 114 final long durationMs = DateUtils.SECOND_IN_MILLIS * 10; in testWakelockAnomaly_longTimeWhileNotRunning_notReport()
|
D | BluetoothAnomalyTest.java | 70 final long durationMs = DateUtils.SECOND_IN_MILLIS * 15; in testBluetoothAnomaly_longScanningTime_reportAnomaly() 91 final long durationMs = DateUtils.SECOND_IN_MILLIS; in testBluetoothAnomaly_shortScanningTime_notReport()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 22 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 130 waitForStatus(expected, afterMillis, 15 * SECOND_IN_MILLIS); in waitForStatus() 156 SystemClock.sleep(SECOND_IN_MILLIS * 3); in waitForStatus()
|
D | DownloadProviderFunctionalTest.java | 19 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 137 final long timeout = SystemClock.elapsedRealtime() + (15 * SECOND_IN_MILLIS); in runUntilStatus()
|
D | PublicApiFunctionalTest.java | 22 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 447 mSystemFacade.incrementTimeMillis((RETRY_DELAY + 60) * SECOND_IN_MILLIS); in testRunawayUnavailable() 523 final long timeout = SystemClock.elapsedRealtime() + (15 * SECOND_IN_MILLIS); in testCancel()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/util/ |
D | FormatUtils.java | 56 (int) ((millis + DateUtils.SECOND_IN_MILLIS / 2) / DateUtils.SECOND_IN_MILLIS); in formatDuration()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | MigrateEstimateTask.java | 104 long timeMillis = (mSizeBytes * DateUtils.SECOND_IN_MILLIS) / SPEED_ESTIMATE_BPS; in onPostExecute() 105 timeMillis = Math.max(timeMillis, DateUtils.SECOND_IN_MILLIS); in onPostExecute()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | MigrateEstimateTask.java | 104 long timeMillis = (mSizeBytes * DateUtils.SECOND_IN_MILLIS) / SPEED_ESTIMATE_BPS; in onPostExecute() 105 timeMillis = Math.max(timeMillis, DateUtils.SECOND_IN_MILLIS); in onPostExecute()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | Dates.java | 35 public static final long SECOND_IN_MILLIS = 1000; field in Dates 36 public static final long MINUTE_IN_MILLIS = SECOND_IN_MILLIS * 60;
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | LapsAdapter.java | 253 seconds = (int) (remainder / DateUtils.SECOND_IN_MILLIS); in formatTime() 254 remainder = (int) (remainder % DateUtils.SECOND_IN_MILLIS); in formatTime()
|
D | LapsAdapter.kt | 317 seconds = (remainder / DateUtils.SECOND_IN_MILLIS).toInt() in formatTime() 318 remainder = (remainder % DateUtils.SECOND_IN_MILLIS).toInt() in formatTime()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerSetupViewTest.java | 45 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 268 hours * HOUR_IN_MILLIS + minutes * MINUTE_IN_MILLIS + seconds * SECOND_IN_MILLIS; in assertHasValue()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 40 import static android.text.format.DateUtils.SECOND_IN_MILLIS; 118 private static final int DEFAULT_TIMEOUT = (int) (20 * SECOND_IN_MILLIS); 818 mInfoDelta.mRetryAfter = (int) (retryAfter * SECOND_IN_MILLIS); in parseUnavailableHeaders()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 1042 cursor.getLong(ImagesBucketQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); in includeImagesBucket() 1072 cursor.getLong(ImageQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); in includeImage() 1102 cursor.getLong(VideosBucketQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); in includeVideosBucket() 1132 cursor.getLong(VideoQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); in includeVideo() 1204 cursor.getLong(SongQuery.DATE_MODIFIED) * DateUtils.SECOND_IN_MILLIS); in includeAudio()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/livedata/ |
D | HeartBeatLiveDataTest.java | 48 mHeartBeatLiveData = new HeartBeatLiveData(DateUtils.SECOND_IN_MILLIS); in setup()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | PsipData.java | 743 return ConvertUtils.convertGPSTimeToUnixEpoch(mStartTime) * DateUtils.SECOND_IN_MILLIS; in getStartTimeUtcMillis() 748 * DateUtils.SECOND_IN_MILLIS; in getEndTimeUtcMillis()
|