/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 69 public static final int HOURS = 0; field in RadialTimePickerView 73 @IntDef({HOURS, MINUTES}) 345 mPaint[HOURS] = new Paint(); in RadialTimePickerView() 346 mPaint[HOURS].setAntiAlias(true); in RadialTimePickerView() 347 mPaint[HOURS].setTextAlign(Paint.Align.CENTER); in RadialTimePickerView() 373 mTextSize[HOURS] = res.getDimensionPixelSize(R.dimen.timepicker_text_size_normal); in RadialTimePickerView() 377 mTextInset[HOURS] = res.getDimensionPixelSize(R.dimen.timepicker_text_inset_normal); in RadialTimePickerView() 382 mHoursToMinutes = HOURS; in RadialTimePickerView() 419 mTextColor[HOURS] = numbersTextColor == null ? in applyAttributes() 423 mTextColor[MINUTES] = mTextColor[HOURS]; in applyAttributes() [all …]
|
D | TextInputTimePickerView.java | 39 public static final int HOURS = 0; field in TextInputTimePickerView 235 mListener.onValueChanged(HOURS, getHourOfDayFromLocalizedHour( in parseAndSetHourInternal() 239 mListener.onValueChanged(HOURS, getHourOfDayFromLocalizedHour(hour)); in parseAndSetHourInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | SystemUpdatePolicyTest.java | 281 assertInstallationOption(SystemUpdatePolicy.TYPE_PAUSE, TimeUnit.HOURS.toMillis(2), in testInstallationOptionWithoutFreeze() 285 SystemUpdatePolicy.TYPE_INSTALL_AUTOMATIC, TimeUnit.HOURS.toMillis(1), in testInstallationOptionWithoutFreeze() 286 millis_2018_01_01 + TimeUnit.HOURS.toMillis(2), p); in testInstallationOptionWithoutFreeze() 288 assertInstallationOption(SystemUpdatePolicy.TYPE_PAUSE, TimeUnit.HOURS.toMillis(22), in testInstallationOptionWithoutFreeze() 289 millis_2018_01_01 + TimeUnit.HOURS.toMillis(4), p); in testInstallationOptionWithoutFreeze() 293 assertInstallationOption(SystemUpdatePolicy.TYPE_PAUSE, TimeUnit.HOURS.toMillis(1), in testInstallationOptionWithoutFreeze() 294 millis_2018_01_01 + TimeUnit.HOURS.toMillis(21), p); in testInstallationOptionWithoutFreeze() 297 SystemUpdatePolicy.TYPE_INSTALL_AUTOMATIC, TimeUnit.HOURS.toMillis(2), in testInstallationOptionWithoutFreeze() 300 assertInstallationOption(SystemUpdatePolicy.TYPE_PAUSE, TimeUnit.HOURS.toMillis(19), in testInstallationOptionWithoutFreeze() 301 millis_2018_01_01 + TimeUnit.HOURS.toMillis(3), p); in testInstallationOptionWithoutFreeze() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 81 int lonSummerOffsetMillis = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzByNitz() 82 int lonSummerDstOffsetMillis = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzByNitz() 122 int mtvSummerOffsetMillis = (int) TimeUnit.HOURS.toMillis(-8); in testLookupByNitzByNitz() 123 int mtvSummerDstOffsetMillis = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzByNitz() 126 int mtvWinterOffsetMillis = (int) TimeUnit.HOURS.toMillis(-7); in testLookupByNitzByNitz() 235 int expectedUtcOffset = (int) TimeUnit.HOURS.toMillis(2); in testLookupByNitzCountry_dstKnownAndUnknown() 236 Integer expectedDstOffset = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzCountry_dstKnownAndUnknown() 263 int expectedUtcOffset = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzCountry_dstKnownAndUnknown() 290 int expectedUtcOffset = (int) TimeUnit.HOURS.toMillis(2); in testLookupByNitzCountry_dstKnownAndUnknown() 307 int expectedUtcOffset = (int) TimeUnit.HOURS.toMillis(1); in testLookupByNitzCountry_dstKnownAndUnknown() [all …]
|
D | NitzStateMachineImplTest.java | 279 int timeStepMillis = (int) TimeUnit.HOURS.toMillis(3); in test_airplaneModeClearsState() 385 int timeStepMillis = (int) TimeUnit.HOURS.toMillis(3); in test_airplaneModeClearsState_onlyCountryCleared_b227047106() 435 int timeStepMillis = (int) TimeUnit.HOURS.toMillis(3); in test_handleNetworkUnavailableClearsNetworkState_noRestoreOfClearedNitz() 531 int timeStepMillis = (int) TimeUnit.HOURS.toMillis(3); in test_handleNetworkUnavailableClearsNetworkState_withinRetentionThreshold() 626 int timeStepMillis = (int) TimeUnit.HOURS.toMillis(3); in test_handleNetworkUnavailable_noNetworkAvailableCall_withinRetentionThreshold()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsSchedulerTest.java | 89 mPowerStatsAggregator, TimeUnit.MINUTES.toMillis(30), TimeUnit.HOURS.toMillis(1), in setup() 159 START_REALTIME + TimeUnit.MINUTES.toMillis(90) + TimeUnit.HOURS.toMillis(1)); in storeAggregatePowerStats() 189 123 + TimeUnit.HOURS.toMillis(2), in alignToWallClock() 195 123 + TimeUnit.HOURS.toMillis(2), in alignToWallClock() 201 123 + TimeUnit.HOURS.toMillis(2), in alignToWallClock() 207 assertThat(PowerStatsScheduler.alignToWallClock(123, TimeUnit.HOURS.toMillis(3), in alignToWallClock() 208 123 + TimeUnit.HOURS.toMillis(9), in alignToWallClock()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | NitzDataTest.java | 68 assertEquals(TimeUnit.HOURS.toMillis(1), nitz.getDstAdjustmentMillis().longValue()); in testParse_withDst() 75 assertEquals(TimeUnit.HOURS.toMillis(1), nitz.getDstAdjustmentMillis().longValue()); in testParse_withDst() 103 assertEquals(TimeUnit.HOURS.toMillis(1), nitz.getDstAdjustmentMillis().longValue()); in testParse_androidEmulatorTimeZoneExtension()
|
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/ |
D | TunnelModeChildSessionParamsUtilsTest.java | 90 final int hardLifetime = (int) TimeUnit.HOURS.toSeconds(3L); in testSetLifetimesEncodeDecodeIsLossless() 91 final int softLifetime = (int) TimeUnit.HOURS.toSeconds(1L); in testSetLifetimesEncodeDecodeIsLossless()
|
D | IkeSessionParamsUtilsTest.java | 82 final int hardLifetime = (int) TimeUnit.HOURS.toSeconds(20L); in testEncodeRecodeParamsWithLifetimes() 83 final int softLifetime = (int) TimeUnit.HOURS.toSeconds(10L); in testEncodeRecodeParamsWithLifetimes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/ |
D | LogBufferEulogizer.kt | 119 TimeUnit.HOURS.convert(millisSinceLastWrite, TimeUnit.MILLISECONDS) + in <lambda>() 152 private val MAX_AGE_TO_DUMP = TimeUnit.HOURS.toMillis(48)
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | RateEstimatorTest.java | 20 import static java.util.concurrent.TimeUnit.HOURS; 145 nextEventTime += HOURS.toMillis(3); // 3 hours later... in testEstimateCatchesUpQuickly()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/ |
D | RemoteOnDeviceSandboxedInferenceService.java | 41 private static final long LONG_TIMEOUT = TimeUnit.HOURS.toMillis(1);
|
D | RemoteOnDeviceIntelligenceService.java | 39 private static final long LONG_TIMEOUT = TimeUnit.HOURS.toMillis(4);
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreConfig.java | 110 TimeUnit.HOURS.toMillis(6); 122 TimeUnit.HOURS.toMillis(48); 141 TimeUnit.HOURS.toMillis(6);
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | ReportWatchlistJobService.java | 41 TimeUnit.HOURS.toMillis(12);
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsScheduler.java | 40 private static final long HOUR_IN_MILLIS = TimeUnit.HOURS.toMillis(1); 185 if (interval >= MINUTE_IN_MILLIS && TimeUnit.HOURS.toMillis(1) % interval == 0) { in alignToWallClock()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessIdleJob.java | 50 .setPeriodic(TimeUnit.HOURS.toMillis(24)).build(); in scheduleJob()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardSliceProviderTest.java | 179 long in16Hours = System.currentTimeMillis() + TimeUnit.HOURS.toHours(16); in schedulesAlarm12hBefore() 183 long twelveHours = TimeUnit.HOURS.toMillis(KeyguardSliceProvider.ALARM_VISIBILITY_HOURS); in schedulesAlarm12hBefore() 191 long in16Hours = System.currentTimeMillis() + TimeUnit.HOURS.toHours(8); in updatingNextAlarmInvalidatesSlice()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataMaintenanceService.java | 39 private static final long JOB_RUN_INTERVAL = TimeUnit.HOURS.toMillis(24);
|
D | EventIndex.java | 404 toLocalDateTime(time).truncatedTo(ChronoUnit.HOURS).minusHours(hourOfDay % 4); in createFourHoursLongTimeSlot() 413 LocalDateTime beginTime = toLocalDateTime(time).truncatedTo(ChronoUnit.HOURS); in createOneHourLongTimeSlot()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppTrampolineActivity.java | 77 TimeUnit.HOURS.toMillis(24)); in onCreate()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyConstants.java | 107 DAS_DIED_SERVICE_RECONNECT_BACKOFF_SEC_KEY, TimeUnit.HOURS.toSeconds(1)); in DevicePolicyConstants()
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingConstants.java | 101 SERVICE_RECONNECT_MAX_BACKOFF_SEC_KEY, TimeUnit.HOURS.toSeconds(1)); in AppBindingConstants()
|
/frameworks/base/services/core/java/com/android/server/selinux/ |
D | SelinuxAuditLogsService.java | 166 TimeUnit.HOURS.toMillis( in schedule()
|
/frameworks/base/services/core/java/com/android/server/ |
D | ZramWriteback.java | 130 .setMinimumLatency(TimeUnit.HOURS.toMillis(nextWbDelay)) in schedNextWriteback()
|