Home
last modified time | relevance | path

Searched refs:MIN_DEVICE_IDLE_FUZZ (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java835 public long MIN_DEVICE_IDLE_FUZZ = DEFAULT_MIN_DEVICE_IDLE_FUZZ; field in AlarmManagerService.Constants
1045 MIN_DEVICE_IDLE_FUZZ = properties.getLong(KEY_MIN_DEVICE_IDLE_FUZZ, in updateDeviceIdleFuzzBoundaries()
1050 if (MAX_DEVICE_IDLE_FUZZ < MIN_DEVICE_IDLE_FUZZ) { in updateDeviceIdleFuzzBoundaries()
1053 + MIN_DEVICE_IDLE_FUZZ); in updateDeviceIdleFuzzBoundaries()
1054 MAX_DEVICE_IDLE_FUZZ = MIN_DEVICE_IDLE_FUZZ; in updateDeviceIdleFuzzBoundaries()
1187 TimeUtils.formatDuration(MIN_DEVICE_IDLE_FUZZ, pw); in dump()
2344 if (alarm.getWhenElapsed() < (upcomingWakeFromIdle - mConstants.MIN_DEVICE_IDLE_FUZZ)) { in adjustIdleUntilTime()
2351 if (futurity <= mConstants.MIN_DEVICE_IDLE_FUZZ) { in adjustIdleUntilTime()
2357 final long fuzz = random.nextLong(mConstants.MIN_DEVICE_IDLE_FUZZ, upperBoundExcl); in adjustIdleUntilTime()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java833 assertEquals(60, mService.mConstants.MIN_DEVICE_IDLE_FUZZ);
869 final long newMaxFuzz = mService.mConstants.MIN_DEVICE_IDLE_FUZZ - 131;
873 >= mService.mConstants.MIN_DEVICE_IDLE_FUZZ);
877 >= mService.mConstants.MIN_DEVICE_IDLE_FUZZ);