/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractDatePickerActivity.java | 76 private void updateOutputWithDate(int year, int month, int day) { in updateOutputWithDate() argument 77 final String date = year + "/" + month + "/" + day; in updateOutputWithDate() 96 void expectAutoFill(String output, int year, int month, int day) { in expectAutoFill() argument 97 mExpectation = new FillExpectation(output, year, month, day); in expectAutoFill() 125 void setDate(int year, int month, int day) { in setDate() argument 126 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day)); in setDate() 147 private FillExpectation(String output, int year, int month, int day) { in FillExpectation() argument 150 dateListener = new OneTimeDateListener("datePicker", mDatePicker, year, month, day); in FillExpectation()
|
D | Helper.java | 614 public static void assertDateValue(Object object, AutofillValue value, int year, int month, in assertDateValue() argument 625 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue() 633 public static void assertDateValue(ViewNode node, int year, int month, int day) { in assertDateValue() argument 634 assertDateValue(node, node.getAutofillValue(), year, month, day); in assertDateValue() 640 public static void assertDateValue(View view, int year, int month, int day) { in assertDateValue() argument 641 assertDateValue(view, view.getAutofillValue(), year, month, day); in assertDateValue()
|
D | AutofillValueTest.java | 384 private long getDateAsMillis(int year, int month, int day, int hour, int minute) { 388 calendar.set(year, month, day, hour, minute);
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1UTCTime.java | 36 private int month; field in Asn1UTCTime 53 month = other.month; in assignTo() 69 return month; in getMonth() 73 month = newMonth; in setMonth() 111 builder.append(twoDigit.format(month)); in encodeToIA5String() 127 builder.append(twoDigit.format(month)); in toHumanReadableString() 206 month = Integer.parseInt(result.substring(yearLength, yearLength + 2)); in retrieveResult()
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | GpsTime.java | 56 private static ZonedDateTime getZonedDateTimeUTC(int year, int month, int day) { in getZonedDateTimeUTC() argument 57 return getZonedDateTimeUTC(year, month, day, 0, 0, 0, 0); in getZonedDateTimeUTC() 60 private static ZonedDateTime getZonedDateTimeUTC(int year, int month, int day, in getZonedDateTimeUTC() argument 63 ZonedDateTime zdt = ZonedDateTime.of(year, month, day, hour, minute, sec, nanoSec, zone); in getZonedDateTimeUTC() 79 public GpsTime(int year, int month, int day, int hour, int minute, double second) { in GpsTime() argument 80 ZonedDateTime utcDateTime = getZonedDateTimeUTC(year, month, day, hour, minute, in GpsTime()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | GeomagneticFieldTest.java | 90 TestDataPoint(float lat, float lng, float alt, int year, int month, int day, in TestDataPoint() argument 95 epochTimeMillis = new GregorianCalendar(year, month, day).getTimeInMillis(); in TestDataPoint()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 93 time.month = 2; in testNormalize() 101 assertEquals(expectedMonth, time.month); in testNormalize() 105 time.month = 2; in testNormalize() 108 assertEquals(expectedMonth, time.month); in testNormalize() 125 final int month = 5; in testSet() local 128 time.set(date, month, year); in testSet() 130 assertEquals(month, time.month); in testSet() 145 assertEquals(time.month, anotherTime.month); in verifyTime() 168 assertEquals(time.month, anotherTime.month); in testGetWeekNumber() 624 t.month = i; in verifyMonth() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DatePickerTest.java | 351 private void assertValues(DatePicker datePicker, int year, int month, int dayOfMonth) { in assertValues() argument 353 assertEquals(month, datePicker.getMonth()); in assertValues()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 431 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument 433 super.onDateChanged(view, year, month, day); in onDateChanged()
|