/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractTimePickerActivity.java | 72 private void updateOutputWithTime(int hour, int minute) { in updateOutputWithTime() argument 73 final String time = hour + ":" + minute; in updateOutputWithTime() 92 void expectAutoFill(String output, int hour, int minute) { in expectAutoFill() argument 93 mExpectation = new FillExpectation(output, hour, minute); in expectAutoFill() 121 void setTime(int hour, int minute) { in setTime() argument 123 mTimePicker.setHour(hour); in setTime() 146 private FillExpectation(String output, int hour, int minute) { in FillExpectation() argument 149 timeListener = new MultipleTimesTimeListener("timePicker", 1, mTimePicker, hour, in FillExpectation()
|
D | MultipleTimesTimeListener.java | 48 public void onTimeChanged(TimePicker view, int hour, int minute) { in onTimeChanged() argument
|
D | Helper.java | 647 private static void assertTimeValue(Object object, AutofillValue value, int hour, int minute) { in assertTimeValue() argument 655 .that(cal.get(Calendar.HOUR_OF_DAY)).isEqualTo(hour); in assertTimeValue() 663 public static void assertTimeValue(ViewNode node, int hour, int minute) { in assertTimeValue() argument 664 assertTimeValue(node, node.getAutofillValue(), hour, minute); in assertTimeValue() 670 public static void assertTimeValue(View view, int hour, int minute) { in assertTimeValue() argument 671 assertTimeValue(view, view.getAutofillValue(), hour, minute); in assertTimeValue()
|
D | AutofillValueTest.java | 387 private long getDateAsMillis(int year, int month, int day, int hour, int minute) { 391 calendar.set(year, month, day, hour, minute);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextClockTest.java | 98 int hour = mNow.get(Calendar.HOUR_OF_DAY); in testUpdate12_24() local 99 if (hour < 22 && hour > 12) { in testUpdate12_24() 128 int hour = Integer.parseInt(mTextClock.getText().toString()); in testUpdate12_24() local 129 ok.value = hour >= 1 && hour < 12; in testUpdate12_24() 149 int hour = Integer.parseInt(mTextClock.getText().toString()); in testUpdate12_24() local 150 ok.value = hour > 12 && hour < 24; in testUpdate12_24()
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1UTCTime.java | 38 private int hour; field in Asn1UTCTime 55 hour = other.hour; in assignTo() 85 return hour; in getHour() 89 hour = newHour; in setHour() 113 builder.append(twoDigit.format(hour % 100)); in encodeToIA5String() 131 builder.append(twoDigit.format(hour)); in toHumanReadableString() 208 hour = Integer.parseInt(result.substring(yearLength + 4, yearLength + 6)); in retrieveResult()
|
/cts/tests/tests/location/src/android/location/cts/psedorange/ |
D | GpsTime.java | 61 int hour, int minute, int sec, int nanoSec){ 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/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 243 private static void checkFormat(String expected, String pattern, int hour) { in checkFormat() argument 247 c.set(2013, Calendar.JANUARY, 1, hour, 00); in checkFormat() 252 if (pattern.equals("k") && (hour == 0 || hour == 24)) { in checkFormat()
|
D | TimeTest.java | 143 assertEquals(time.hour, anotherTime.hour); in verifyTime() 637 assertEquals(0, t.hour); in testClear0() 1943 for (int hour = 0; hour < 24; hour++) { in testGetJulianDay() 1945 time.set(0, minute, hour, monthDay, 0, 2008); in testGetJulianDay() 1955 + time.hour + ":" + time.minute in testGetJulianDay() 1992 assertTrue(time.hour == 0 || time.hour == 1); in testSetJulianDay() 3120 && expected.hour == actual.hour in verifyTimeEquals() 3145 Arrays.asList(time.year, time.month, time.monthDay, time.hour, time.minute, in timeToString() 3165 public static void setDateTime(Time t, int year, int month, int monthDay, int hour, in setDateTime() argument 3170 t.hour = hour; in setDateTime() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 972 final long hour = 3600000l; in testProgramsScheduleOverlap() local 985 verifyOverlap(programStartMillis - hour, programEndMillis - hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 988 verifyOverlap(programStartMillis - hour, programEndMillis + hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 991 verifyOverlap(programStartMillis + hour / 2, programEndMillis - hour / 2, 1, in testProgramsScheduleOverlap() 995 verifyOverlap(programStartMillis + hour, programEndMillis + hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 998 verifyOverlap(programStartMillis - hour, programStartMillis - hour / 2, 0, in testProgramsScheduleOverlap() 1002 verifyOverlap(programEndMillis + hour, programEndMillis + hour * 2, 0, in testProgramsScheduleOverlap()
|