Searched refs:MONTH (Results 1 – 12 of 12) sorted by relevance
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | DateValueSanitizerTest.java | 66 inputCal.set(Calendar.MONTH, Calendar.DECEMBER); in testSanitize_ok() 75 expectedCal.set(Calendar.MONTH, Calendar.DECEMBER); in testSanitize_ok()
|
D | DateTransformationTest.java | 88 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testValidAutofillValue()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 68 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based. field in DateFormatTest 185 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods() 208 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); in testFormatMethods() 211 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods() 324 Date date = new Date(YEAR_FROM_1900, MONTH, DAY); in test_ContextLocaleIsUsed()
|
D | TimeTest.java | 103 assertEquals(3, cal.get(Calendar.MONTH)); in testNormalize() 628 assertEquals(11, t.getActualMaximum(Time.MONTH)); in testGetActualMaximum() 660 for (int i = 0; i < t.getActualMaximum(Time.MONTH); i++) { in verifyMonth() 3049 calendar.get(Calendar.MONTH) + 1, in createLocalDateTime() 3240 calendar.get(Calendar.MONTH), in setDateTime()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DatePickerTest.java | 245 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in testCalendarViewInSpinnerMode() 249 calendar.get(Calendar.MONTH), in testCalendarViewInSpinnerMode() 257 assertEquals(calendar.get(Calendar.MONTH), calendarFromSpinner.get(Calendar.MONTH)); in testCalendarViewInSpinnerMode() 354 assertEquals(Calendar.JANUARY, calendar.get(Calendar.MONTH)); in verifyAutofill()
|
D | CalendarViewTest.java | 219 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in verifyOnDateChangeListener()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/ |
D | DatePickerTestCase.java | 56 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testAutoFillAndSave()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/ |
D | CustomDescriptionDateTest.java | 126 cal.set(Calendar.MONTH, Calendar.DECEMBER);
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 218 utcTime.setMonth(currentTime.get(Calendar.MONTH) + 1); // Calendar's MONTH starts from 0. in generateSuplPositionInitLocalLocationMessage()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/ |
D | SystemUpdatePolicyTest.java | 447 c.set(Calendar.MONTH, date.getMonthValue() - 1); in setSystemDate()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageStatsTest.java | 138 private static final long MONTH = 30 * DAY; field in UsageStatsTest 628 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in testPackageUsageStatsIntervals() 1097 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in getAggrEventData()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 666 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue()
|