Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DNitzDataTest.java51 assertEquals(TimeUnit.MINUTES.toMillis(-1 * 15), nitz.getLocalOffsetMillis()); in testParse_withDst()
58 assertEquals(TimeUnit.MINUTES.toMillis(8 * 15), nitz.getLocalOffsetMillis()); in testParse_withDst()
59 assertEquals(TimeUnit.MINUTES.toMillis(4 * 15), in testParse_withDst()
66 assertEquals(TimeUnit.MINUTES.toMillis(-8 * 15), nitz.getLocalOffsetMillis()); in testParse_withDst()
67 assertEquals(TimeUnit.MINUTES.toMillis(4 * 15), in testParse_withDst()
78 assertEquals(TimeUnit.MINUTES.toMillis(4 * 15), nitz.getLocalOffsetMillis()); in testParse_noDstField()
85 assertEquals(TimeUnit.MINUTES.toMillis(-4 * 15), nitz.getLocalOffsetMillis()); in testParse_noDstField()
95 assertEquals(TimeUnit.MINUTES.toMillis(-32 * 15), nitz.getLocalOffsetMillis()); in testParse_androidEmulatorTimeZoneExtension()
96 assertEquals(TimeUnit.MINUTES.toMillis(4 * 15), in testParse_androidEmulatorTimeZoneExtension()
/frameworks/support/work/workmanager-ktx/src/androidTest/java/androidx/work/
DPeriodicWorkRequestTest.kt36 repeatIntervalTimeUnit = TimeUnit.MINUTES) in testPeriodicWorkRequestBuilder()
40 assertEquals(workRequest.workSpec.intervalDuration, TimeUnit.MINUTES.toMillis(15)) in testPeriodicWorkRequestBuilder()
41 assertEquals(workRequest.workSpec.flexDuration, TimeUnit.MINUTES.toMillis(15)) in testPeriodicWorkRequestBuilder()
60 repeatIntervalTimeUnit = TimeUnit.MINUTES, in testPeriodicWorkRequestBuilder_withFlexTime()
62 flexTimeIntervalUnit = TimeUnit.MINUTES) in testPeriodicWorkRequestBuilder_withFlexTime()
66 assertEquals(workRequest.workSpec.flexDuration, TimeUnit.MINUTES.toMillis(10)) in testPeriodicWorkRequestBuilder_withFlexTime()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java65 public static final int MINUTES = 1; field in RadialTimePickerView
68 @IntDef({HOURS, MINUTES})
344 mPaint[MINUTES] = new Paint(); in RadialTimePickerView()
345 mPaint[MINUTES].setAntiAlias(true); in RadialTimePickerView()
346 mPaint[MINUTES].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView()
369 mTextSize[MINUTES] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal); in RadialTimePickerView()
373 mTextInset[MINUTES] = res.getDimensionPixelSize(R.dimen.timepicker_text_inset_normal); in RadialTimePickerView()
416 mTextColor[MINUTES] = mTextColor[HOURS]; in applyAttributes()
460 case MINUTES: in setCurrentItemShowing()
469 return mShowHours ? HOURS : MINUTES; in getCurrentItemShowing()
[all …]
DTextInputTimePickerView.java38 public static final int MINUTES = 1; field in TextInputTimePickerView
221 mListener.onValueChanged(MINUTES, MathUtils.constrain(minutes, 0, 59)); in parseAndSetMinuteInternal()
224 mListener.onValueChanged(MINUTES, minutes); in parseAndSetMinuteInternal()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DFunnyNamedDaoTest.java80 mExecutorRule.drainTasks(1, TimeUnit.MINUTES); in observe()
85 mExecutorRule.drainTasks(1, TimeUnit.MINUTES); in observe()
90 mExecutorRule.drainTasks(1, TimeUnit.MINUTES); in observe()
DInvalidationTest.java73 executorRule.drainTasks(1, TimeUnit.MINUTES); in drain()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java51 public static long MINUTES = 60 * SECONDS; field in NekoService
53 public static long INTERVAL_FLEX = 5 * MINUTES;
135 long interval = intervalMinutes * MINUTES; in registerJob()
150 .setContentTitle(String.format("Job scheduled in %d min", (interval / MINUTES))) in registerJob()
/frameworks/base/services/core/java/com/android/server/
DPreloadsFileCacheExpirationJobService.java53 long keepPreloadsMinTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(2) in schedule()
55 long keepPreloadsMaxTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(3) in schedule()
DPruneInstantAppsJobService.java36 ? TimeUnit.MINUTES.toMillis(1) : TimeUnit.DAYS.toMillis(1);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java38 private static final long SEVEN_MINUTES_MILLIS = TimeUnit.MINUTES.toMillis(7);
39 private static final long FIFTEEN_MINUTES_MILLIS = TimeUnit.MINUTES.toMillis(15);
DStringUtil.java130 unit = RelativeUnit.MINUTES; in formatRelativeTime()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java61 ? TimeUnit.MINUTES.toMillis(1)
114 .setMinimumLatency(TimeUnit.MINUTES.toMillis(1)) in schedule()
115 .setOverrideDeadline(TimeUnit.MINUTES.toMillis(1)) in schedule()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java47 TimeUnit.MINUTES.toMillis(1);
49 TimeUnit.MINUTES.toMillis(2);
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/
DJournalDbPostMigrationTest.java211 executorRule.drainTasks(1, TimeUnit.MINUTES);
218 executorRule.drainTasks(1, TimeUnit.MINUTES);
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/
DWorkTest.java64 is(TimeUnit.MINUTES.toMillis((2 * 60) + 3))); in testBuild_withInitialDelayUsingDurationParameter()
DPeriodicWorkTest.java169 is(TimeUnit.MINUTES.toMillis((1 * 60) + 2))); in testBuild_setPeriodic_withDurationParameters()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java642 + TimeUnit.MINUTES.toMillis(query.get(Calendar.MINUTE)) in getInstallationOptionRegardlessFreezeAt()
645 long windowStartMillis = TimeUnit.MINUTES.toMillis(mMaintenanceWindowStart); in getInstallationOptionRegardlessFreezeAt()
646 long windowEndMillis = TimeUnit.MINUTES.toMillis(mMaintenanceWindowEnd); in getInstallationOptionRegardlessFreezeAt()
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DRunMonkeyAction.java99 TimeUnit.MINUTES); in run()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DSecurityLogMonitor.java89 private static final long BROADCAST_RETRY_INTERVAL_MS = TimeUnit.MINUTES.toMillis(30);
93 private static final long POLLING_INTERVAL_MS = TimeUnit.MINUTES.toMillis(1);
/frameworks/base/core/java/android/provider/
DCalendarContract.java1314 Reminders.MINUTES,
1447 reminderValues.put(Reminders.MINUTES, subCursor.getInt(COLUMN_MINUTES)); in getEntityAndIncrementCursor()
2057 public static final String MINUTES = "minutes"; field
2196 public static final String MINUTES = "minutes"; field
2275 values.put(CalendarAlerts.MINUTES, minutes); in insert()
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/
DMainActivity.java136 new PeriodicWorkRequest.Builder(ToastWorker.class, 15, TimeUnit.MINUTES) in onCreate()
/frameworks/base/services/core/java/com/android/server/storage/
DDiskStatsLoggingService.java125 private static final long TIMEOUT_MILLIS = TimeUnit.MINUTES.toMillis(10);
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DTestUtils.java124 boolean latchResult = latch.await(1, TimeUnit.MINUTES); in waitTillState()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplTest.java489 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_setsUniqueName()
541 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
551 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_deletesOldWorkOnReplace()
605 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()
615 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_keepsExistingWorkOnKeep()
671 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()
682 TimeUnit.MINUTES) in testEnqueueUniquePeriodicWork_replacesExistingWorkOnKeepWhenExistingWorkIsDone()
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java60 private static final long TIMEOUT = TimeUnit.MINUTES.toMillis(1);

12