Home
last modified time | relevance | path

Searched refs:dates (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DSystemUpdatePolicyTest.java402 private void testFreezePeriodsSucceeds(String...dates) throws Exception { in testFreezePeriodsSucceeds() argument
404 setFreezePeriods(p, dates); in testFreezePeriodsSucceeds()
407 private void testFreezePeriodsFails(int expectedError, String... dates) throws Exception { in testFreezePeriodsFails() argument
410 setFreezePeriods(p, dates); in testFreezePeriodsFails()
411 fail("Invalid periods (" + expectedError + ") not flagged: " + String.join(" ", dates)); in testFreezePeriodsFails()
419 String... dates) throws Exception { in testPrevFreezePeriodSucceeds() argument
420 createPrevFreezePeriod(prevStart, prevEnd, now, dates); in testPrevFreezePeriodSucceeds()
424 String now, String... dates) throws Exception { in testPrevFreezePeriodFails() argument
426 createPrevFreezePeriod(prevStart, prevEnd, now, dates); in testPrevFreezePeriodFails()
427 fail("Invalid period (" + expectedError + ") not flagged: " + String.join(" ", dates)); in testPrevFreezePeriodFails()
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java44 String[] dates = new String[]{ in testProvider() local
65 map.put("date", dates[i]); in testProvider()
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DRecurrenceProcessorTest.java37 private static String[] getFormattedDates(long[] dates, Time time) { in getFormattedDates() argument
38 String[] out = new String[dates.length]; in getFormattedDates()
40 for (long date : dates) { in getFormattedDates()
2476 long [] dates = rp.expand(dtstart, recur, rangeStartMillis, rangeEndMillis); in performanceTextExpand() local
2480 for (long date : dates) { in performanceTextExpand()
DRRuleTest.java45 private static String[] getFormattedDates(long[] dates, Time time, boolean truncate) { in getFormattedDates() argument
46 String[] out = new String[dates.length]; in getFormattedDates()
48 for (long date : dates) { in getFormattedDates()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java131 long[] dates = expand(dtstart, recur, in getLastOccurence() local
138 if (dates.length == 0) { in getLastOccurence()
141 return dates[dates.length - 1]; in getLastOccurence()
702 long[] dates = new long[len]; in expand() local
706 dates[i++] = mIterator.toMillis(true /* ignore isDst */); in expand()
708 return dates; in expand()
DRecurrenceSet.java160 long[] dates = new long[n]; in parseRecurrenceDates() local
171 dates[i] = time.toMillis(false /* use isDst */); in parseRecurrenceDates()
174 return dates; in parseRecurrenceDates()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBWellKnownTypesTest.m52 // Comparing timeIntervals instead of directly comparing dates because date
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1476 // OPEN: Settings > Billing cycle > Edit billing cycle dates dialog
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2666 // OPEN: Settings > Billing cycle > Edit billing cycle dates dialog