Searched refs:rebootFrequencyDays (Results 1 – 2 of 2) sorted by relevance
78 int rebootWindowStartHour, int rebootWindowEndHour, int rebootFrequencyDays) { in RebootTimingConfiguration() argument81 assert(isDayValid(rebootFrequencyDays)); in RebootTimingConfiguration()82 mRebootFrequencyDays = rebootFrequencyDays; in RebootTimingConfiguration()
338 final int rebootFrequencyDays = getRebootFrequencyDays(); in tryRebootOrSchedule() local340 if (TimeUnit.MILLISECONDS.toDays(mInjector.elapsedRealtime()) < rebootFrequencyDays) { in tryRebootOrSchedule()341 Log.v(TAG, "Device has already been rebooted in that last " + rebootFrequencyDays + " days."); in tryRebootOrSchedule()