/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | CacheOomRankerTest.java | 209 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/ |
D | NitzDataTest.java | 51 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/ |
D | RadialTimePickerView.java | 65 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 …]
|
D | TextInputTimePickerView.java | 40 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/ |
D | BackupHandlerTest.java | 76 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/ |
D | ManagedProfileLifecycleStressTest.java | 60 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/ |
D | NekoService.java | 52 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/ |
D | PreloadsFileCacheExpirationJobService.java | 53 long keepPreloadsMinTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(2) in schedule() 55 long keepPreloadsMaxTimeoutMs = DEBUG ? TimeUnit.MINUTES.toMillis(3) in schedule()
|
D | ZramWriteback.java | 179 .setMinimumLatency(TimeUnit.MINUTES.toMillis(markIdleDelay)) in scheduleZramWriteback() 180 .setOverrideDeadline(TimeUnit.MINUTES.toMillis(markIdleDelay)) in scheduleZramWriteback() 187 .setMinimumLatency(TimeUnit.MINUTES.toMillis(firstWbDelay)) in scheduleZramWriteback()
|
D | PruneInstantAppsJobService.java | 36 ? TimeUnit.MINUTES.toMillis(1) : TimeUnit.DAYS.toMillis(1);
|
D | SmartStorageMaintIdler.java | 81 long nextScheduleTime = TimeUnit.MINUTES.toMillis(nMinutes); in scheduleSmartIdlePass()
|
/frameworks/base/tests/vcn/java/android/net/vcn/ |
D | VcnGatewayConnectionConfigTest.java | 75 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/ |
D | PackageInstallerBenchmark.java | 250 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/ |
D | PowerUtil.java | 39 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/ |
D | VcnGatewayConnectionConfig.java | 150 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/ |
D | AnrHelper.java | 45 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/ |
D | StagedRollbackTest.java | 175 waitForDeviceNotAvailable(2, TimeUnit.MINUTES); in testRollbackApexWithApkCrashing() 224 waitForDeviceNotAvailable(2, TimeUnit.MINUTES); in testWatchdogMonitorsAcrossReboots()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ScreenUndimDetector.java | 62 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/ |
D | LogBufferFreezer.kt | 39 ) : this(dumpManager, executor, TimeUnit.MINUTES.toMillis(5))
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryJobService.java | 40 private static final long JOB_RUN_INTERVAL = TimeUnit.MINUTES.toMillis(20);
|
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | IkeSessionParamsUtilsTest.java | 91 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/ |
D | BurnInProtectionHelper.java | 47 TimeUnit.MINUTES.toMillis(1); 49 TimeUnit.MINUTES.toMillis(2);
|
/frameworks/base/tests/RollbackTest/NetworkStagedRollbackTest/src/com/android/tests/rollback/host/ |
D | NetworkStagedRollbackTest.java | 92 assertTrue(getDevice().waitForDeviceNotAvailable(TimeUnit.MINUTES.toMillis(5))); in testNetworkFailedRollback()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyConstants.java | 117 TimeUnit.MINUTES.toSeconds(2)); in DevicePolicyConstants()
|
/frameworks/base/core/java/android/app/admin/ |
D | SystemUpdatePolicy.java | 640 + 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()
|