Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCacheOomRankerTest.java209 NOW.minus(40, ChronoUnit.MINUTES).toEpochMilli(), 10 * 1024L, 1000); in reRankLruCachedApps_lruImpactsOrdering()
212 NOW.minus(42, ChronoUnit.MINUTES).toEpochMilli(), 20 * 1024L, 2000); in reRankLruCachedApps_lruImpactsOrdering()
215 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 10000); in reRankLruCachedApps_lruImpactsOrdering()
218 NOW.minus(15, ChronoUnit.MINUTES).toEpochMilli(), 100 * 1024L, 10); in reRankLruCachedApps_lruImpactsOrdering()
221 NOW.minus(17, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 20); in reRankLruCachedApps_lruImpactsOrdering()
225 NOW.minus(30, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 20); in reRankLruCachedApps_lruImpactsOrdering()
250 NOW.minus(40, ChronoUnit.MINUTES).toEpochMilli(), 10 * 1024L, 1000); in reRankLruCachedApps_rssImpactsOrdering()
253 NOW.minus(42, ChronoUnit.MINUTES).toEpochMilli(), 20 * 1024L, 2000); in reRankLruCachedApps_rssImpactsOrdering()
256 NOW.minus(60, ChronoUnit.MINUTES).toEpochMilli(), 1024L, 10000); in reRankLruCachedApps_rssImpactsOrdering()
259 NOW.minus(15, ChronoUnit.MINUTES).toEpochMilli(), 100 * 1024L, 10); in reRankLruCachedApps_rssImpactsOrdering()
[all …]
/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()
65 assertEquals(TimeUnit.MINUTES.toMillis(-8 * 15), nitz.getLocalOffsetMillis()); in testParse_withDst()
76 assertEquals(TimeUnit.MINUTES.toMillis(4 * 15), nitz.getLocalOffsetMillis()); in testParse_noDstField()
83 assertEquals(TimeUnit.MINUTES.toMillis(-4 * 15), nitz.getLocalOffsetMillis()); in testParse_noDstField()
93 assertEquals(TimeUnit.MINUTES.toMillis(-32 * 15), nitz.getLocalOffsetMillis()); in testParse_androidEmulatorTimeZoneExtension()
/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()
418 mTextColor[MINUTES] = mTextColor[HOURS]; in applyAttributes()
462 case MINUTES: in setCurrentItemShowing()
471 return mShowHours ? HOURS : MINUTES; in getCurrentItemShowing()
[all …]
DTextInputTimePickerView.java40 public static final int MINUTES = 1; field in TextInputTimePickerView
252 mListener.onValueChanged(MINUTES, MathUtils.constrain(minutes, 0, 59)); in parseAndSetMinuteInternal()
255 mListener.onValueChanged(MINUTES, minutes); in parseAndSetMinuteInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/internal/
DBackupHandlerTest.java76 mCountDownLatch.await(MESSAGE_TIMEOUT_MINUTES, TimeUnit.MINUTES); in testSendMessage_propagatesExceptions()
85 mCountDownLatch.await(MESSAGE_TIMEOUT_MINUTES, TimeUnit.MINUTES); in testPost_propagatesExceptions()
94 mCountDownLatch.await(MESSAGE_TIMEOUT_MINUTES, TimeUnit.MINUTES); in testSendMessage_stopping_doesntPropagateExceptions()
103 mCountDownLatch.await(MESSAGE_TIMEOUT_MINUTES, TimeUnit.MINUTES); in testPost_stopping_doesntPropagateExceptions()
/frameworks/base/tests/ManagedProfileLifecycleStressTest/src/com/android/test/stress/
DManagedProfileLifecycleStressTest.java60 final long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(TIME_LIMIT_MINUTES); in testCreateStartDelete()
83 final long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(TIME_LIMIT_MINUTES); in testCreateStartDeleteStable()
113 TimeUnit.MINUTES, in waitForBroadcastIdle()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoService.java52 public static long MINUTES = 60 * SECONDS; field in NekoService
55 public static long INTERVAL_FLEX = 5 * MINUTES;
163 long interval = intervalMinutes * MINUTES; in registerJob()
178 .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()
DZramWriteback.java179 .setMinimumLatency(TimeUnit.MINUTES.toMillis(markIdleDelay)) in scheduleZramWriteback()
180 .setOverrideDeadline(TimeUnit.MINUTES.toMillis(markIdleDelay)) in scheduleZramWriteback()
187 .setMinimumLatency(TimeUnit.MINUTES.toMillis(firstWbDelay)) in scheduleZramWriteback()
DPruneInstantAppsJobService.java36 ? TimeUnit.MINUTES.toMillis(1) : TimeUnit.DAYS.toMillis(1);
DSmartStorageMaintIdler.java81 long nextScheduleTime = TimeUnit.MINUTES.toMillis(nMinutes); in scheduleSmartIdlePass()
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnGatewayConnectionConfigTest.java75 TimeUnit.MINUTES.toMillis(1),
76 TimeUnit.MINUTES.toMillis(5),
77 TimeUnit.MINUTES.toMillis(15),
78 TimeUnit.MINUTES.toMillis(30)
/frameworks/base/apct-tests/perftests/packagemanager/src/android/content/pm/
DPackageInstallerBenchmark.java250 mCountDownLatch.await(1, TimeUnit.MINUTES); in commit_aSingleApkSession_untilFinishBenchmark()
268 mCountDownLatch.await(1, TimeUnit.MINUTES); in commit_threeSingleApkSessions_untilFinishBenchmark()
289 mCountDownLatch.await(1, TimeUnit.MINUTES); in commit_aMultiplePackagesSession_untilFinishBenchmark()
312 mCountDownLatch.await(1, TimeUnit.MINUTES); in commit_threeMultiplePackageSessions_untilFinishBenchmark()
330 mCountDownLatch.await(1, TimeUnit.MINUTES); in commit_aMultipleApksSession_untilFinishBenchmark()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DPowerUtil.java39 private static final long SEVEN_MINUTES_MILLIS = TimeUnit.MINUTES.toMillis(7);
40 private static final long FIFTEEN_MINUTES_MILLIS = TimeUnit.MINUTES.toMillis(15);
44 private static final long ONE_MIN_MILLIS = TimeUnit.MINUTES.toMillis(1);
/frameworks/base/core/java/android/net/vcn/
DVcnGatewayConnectionConfig.java150 private static final long MINIMUM_REPEATING_RETRY_INTERVAL_MS = TimeUnit.MINUTES.toMillis(15);
158 TimeUnit.MINUTES.toMillis(1),
159 TimeUnit.MINUTES.toMillis(5),
160 TimeUnit.MINUTES.toMillis(15)
/frameworks/base/services/core/java/com/android/server/am/
DAnrHelper.java45 private static final long EXPIRED_REPORT_TIME_MS = TimeUnit.MINUTES.toMillis(1);
50 private static final long CONSECUTIVE_ANR_TIME_MS = TimeUnit.MINUTES.toMillis(2);
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java175 waitForDeviceNotAvailable(2, TimeUnit.MINUTES); in testRollbackApexWithApkCrashing()
224 waitForDeviceNotAvailable(2, TimeUnit.MINUTES); in testWatchdogMonitorsAcrossReboots()
/frameworks/base/services/core/java/com/android/server/power/
DScreenUndimDetector.java62 static final long DEFAULT_KEEP_SCREEN_ON_FOR_MILLIS = TimeUnit.MINUTES.toMillis(10);
80 static final long DEFAULT_MAX_DURATION_BETWEEN_UNDIMS_MILLIS = TimeUnit.MINUTES.toMillis(5);
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/
DLogBufferFreezer.kt39 ) : this(dumpManager, executor, TimeUnit.MINUTES.toMillis(5))
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryJobService.java40 private static final long JOB_RUN_INTERVAL = TimeUnit.MINUTES.toMillis(20);
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DIkeSessionParamsUtilsTest.java91 final int dpdDelay = (int) TimeUnit.MINUTES.toSeconds(10L); in testEncodeRecodeParamsWithDpdDelay()
99 final int nattKeepAliveDelay = (int) TimeUnit.MINUTES.toSeconds(5L); in testEncodeRecodeParamsWithNattKeepalive()
/frameworks/base/services/core/java/com/android/server/policy/
DBurnInProtectionHelper.java47 TimeUnit.MINUTES.toMillis(1);
49 TimeUnit.MINUTES.toMillis(2);
/frameworks/base/tests/RollbackTest/NetworkStagedRollbackTest/src/com/android/tests/rollback/host/
DNetworkStagedRollbackTest.java92 assertTrue(getDevice().waitForDeviceNotAvailable(TimeUnit.MINUTES.toMillis(5))); in testNetworkFailedRollback()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyConstants.java117 TimeUnit.MINUTES.toSeconds(2)); in DevicePolicyConstants()
/frameworks/base/core/java/android/app/admin/
DSystemUpdatePolicy.java640 + TimeUnit.MINUTES.toMillis(query.get(Calendar.MINUTE)) in getInstallationOptionRegardlessFreezeAt()
643 long windowStartMillis = TimeUnit.MINUTES.toMillis(mMaintenanceWindowStart); in getInstallationOptionRegardlessFreezeAt()
644 long windowEndMillis = TimeUnit.MINUTES.toMillis(mMaintenanceWindowEnd); in getInstallationOptionRegardlessFreezeAt()

123