Home
last modified time | relevance | path

Searched refs:periods (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java262 static void validatePeriods(List<FreezePeriod> periods) { in validatePeriods() argument
263 List<FreezePeriod> allPeriods = FreezePeriod.canonicalizePeriods(periods); in validatePeriods()
264 if (allPeriods.size() != periods.size()) { in validatePeriods()
302 static void validateAgainstPreviousFreezePeriod(List<FreezePeriod> periods, in validateAgainstPreviousFreezePeriod() argument
304 if (periods.size() == 0 || prevPeriodStart == null || prevPeriodEnd == null) { in validateAgainstPreviousFreezePeriod()
313 List<FreezePeriod> allPeriods = FreezePeriod.canonicalizePeriods(periods); in validateAgainstPreviousFreezePeriod()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java444 List<FreezePeriod> periods = new ArrayList<>(); in setFreezePeriods() local
449 periods.add(new FreezePeriod(lastDate, currentDate)); in setFreezePeriods()
455 policy.setFreezePeriods(periods); in setFreezePeriods()
456 testSerialization(policy, periods); in setFreezePeriods()
/frameworks/base/core/proto/android/os/
Dbatterystats.proto76 // period and changes for later collection periods.