/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | AbstractDatePickerActivity.java | 80 private void updateOutputWithDate(int year, int month, int day) { in updateOutputWithDate() argument 81 final String date = year + "/" + month + "/" + day; in updateOutputWithDate() 100 public void expectAutoFill(String output, int year, int month, int day) { in expectAutoFill() argument 101 mExpectation = new FillExpectation(output, year, month, day); in expectAutoFill() 129 public void setDate(int year, int month, int day) { in setDate() argument 130 syncRunOnUiThread(() -> mDatePicker.updateDate(year, month, day)); in setDate() 151 private FillExpectation(String output, int year, int month, int day) { in FillExpectation() argument 154 dateListener = new OneTimeDateListener("datePicker", mDatePicker, year, month, day); in FillExpectation()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/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/location/location_gnss/src/android/location/cts/gnss/pseudorange/ |
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 | 55 private void assertMagneticField(float lat, float lon, float altitude, int year, int month, in assertMagneticField() argument 58 .setDate(year, month, day) in assertMagneticField()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 97 time.month = 2; in testNormalize() 105 assertEquals(expectedMonth, time.month); in testNormalize() 109 time.month = 2; in testNormalize() 112 assertEquals(expectedMonth, time.month); in testNormalize() 129 final int month = 5; in testSet() local 132 time.set(date, month, year); in testSet() 134 assertEquals(month, time.month); in testSet() 149 assertEquals(time.month, anotherTime.month); in verifyTime() 172 assertEquals(time.month, anotherTime.month); in testGetWeekNumber() 261 private void checkIsEpochResult(Time time, int year, int month, int monthDay, int hour, in checkIsEpochResult() argument [all …]
|
/cts/tests/app/app/src/android/app/stubs/ |
D | DialogStubActivity.java | 432 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument 434 super.onDateChanged(view, year, month, day); in onDateChanged()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DatePickerTest.java | 393 private void assertValues(DatePicker datePicker, int year, int month, int dayOfMonth) { in assertValues() argument 395 assertEquals(month, datePicker.getMonth()); in assertValues()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | Helper.java | 656 public static void assertDateValue(Object object, AutofillValue value, int year, int month, in assertDateValue() argument 667 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue() 675 public static void assertDateValue(ViewNode node, int year, int month, int day) { in assertDateValue() argument 676 assertDateValue(node, node.getAutofillValue(), year, month, day); in assertDateValue() 682 public static void assertDateValue(View view, int year, int month, int day) { in assertDateValue() argument 683 assertDateValue(view, view.getAutofillValue(), year, month, day); in assertDateValue()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/ |
D | CheckoutActivityTest.java | 648 private long getDateAsMillis(int year, int month, int day, int hour, int minute) { 652 calendar.set(year, month, day, hour, minute);
|