Home
last modified time | relevance | path

Searched refs:ONE_HOUR (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java264 final long ONE_HOUR = 60*60*1000L; // flex in testMassivePeriodClampedOnRead() local
265 final long TWO_HOURS = 2 * ONE_HOUR; // period in testMassivePeriodClampedOnRead()
267 .setPeriodic(TWO_HOURS, ONE_HOUR) in testMassivePeriodClampedOnRead()
271 … SystemClock.elapsedRealtime() + (TWO_HOURS * ONE_HOUR) + TWO_HOURS; // > period+flex in testMassivePeriodClampedOnRead()
274 final Pair<Long, Long> persistedExecutionTimesUTC = new Pair<>(rtcNow, rtcNow + ONE_HOUR); in testMassivePeriodClampedOnRead()
296 loaded.getEarliestRunTime() <= newNowElapsed + TWO_HOURS + ONE_HOUR); in testMassivePeriodClampedOnRead()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java132 private static final long ONE_HOUR = ONE_MINUTE * 60; field in AppStandbyController
133 private static final long ONE_DAY = ONE_HOUR * 24;
138 COMPRESS_TIME ? 120 * 1000 : 1 * ONE_HOUR,
139 COMPRESS_TIME ? 240 * 1000 : 2 * ONE_HOUR
144 COMPRESS_TIME ? 1 * ONE_MINUTE : 12 * ONE_HOUR,
145 COMPRESS_TIME ? 4 * ONE_MINUTE : 24 * ONE_HOUR,
146 COMPRESS_TIME ? 16 * ONE_MINUTE : 48 * ONE_HOUR
157 private static final long DEFAULT_PREDICTION_TIMEOUT = 12 * ONE_HOUR;
1874 public static final long DEFAULT_STRONG_USAGE_TIMEOUT = 1 * ONE_HOUR;
1875 public static final long DEFAULT_NOTIFICATION_TIMEOUT = 12 * ONE_HOUR;
[all …]
/frameworks/base/cmds/statsd/tests/e2e/
DAlarm_e2e_test.cpp38 alarm->set_period_millis(TimeUnitToBucketSizeInMillis(ONE_HOUR)); in CreateStatsdConfig()
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto42 ONE_HOUR = 5; enumerator
Dstats_log_util.cpp434 case ONE_HOUR: in TimeUnitToBucketSizeInMillis()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DLoadtestActivity.java116 labels.put("1h", TimeUnit.ONE_HOUR); in initializeTimeUnitMap()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp102 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in GaugeMetricProducer()
DValueMetricProducer.cpp113 bucketSizeMills = TimeUnitToBucketSizeInMillis(ONE_HOUR); in ValueMetricProducer()
/frameworks/base/non-updatable-api/
Dcurrent.txt21753 field protected static final int ONE_HOUR = 3600000; // 0x36ee80
/frameworks/base/api/
Dcurrent.txt21753 field protected static final int ONE_HOUR = 3600000; // 0x36ee80
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt109992 Ljava/util/GregorianCalendar;->ONE_HOUR:I