Searched refs:hour (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvContractTest.java | 374 final long hour = 3600000l; in testProgramsScheduleOverlap() local 387 verifyOverlap(programStartMillis - hour, programEndMillis - hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 390 verifyOverlap(programStartMillis - hour, programEndMillis + hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 393 verifyOverlap(programStartMillis + hour / 2, programEndMillis - hour / 2, 1, in testProgramsScheduleOverlap() 397 verifyOverlap(programStartMillis + hour, programEndMillis + hour, 1, channelId, channelUri); in testProgramsScheduleOverlap() 400 verifyOverlap(programStartMillis - hour, programStartMillis - hour / 2, 0, in testProgramsScheduleOverlap() 404 verifyOverlap(programEndMillis + hour, programEndMillis + hour * 2, 0, in testProgramsScheduleOverlap()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateFormatTest.java | 215 private static void checkFormat(String expected, String pattern, int hour) { in checkFormat() argument 219 c.set(2013, Calendar.JANUARY, 1, hour, 00); in checkFormat() 224 if (pattern.equals("k") && (hour == 0 || hour == 24)) { in checkFormat()
|
D | TimeTest.java | 118 assertEquals(time.hour, anotherTime.hour); in assertTime() 600 assertEquals(0, t.hour); in testClear0() 1883 for (int hour = 0; hour < 24; hour++) { in testGetJulianDay() 1885 time.set(0, minute, hour, monthDay, 0, 2008); in testGetJulianDay() 1895 + time.hour + ":" + time.minute in testGetJulianDay() 1931 assertTrue(time.hour == 0 || time.hour == 1); in testSetJulianDay() 2752 && expected.hour == actual.hour in assertTimeEquals() 2777 Arrays.asList(time.year, time.month, time.monthDay, time.hour, time.minute, in timeToString() 2794 public static void setDateTime(Time t, int year, int month, int monthDay, int hour, in setDateTime() argument 2799 t.hour = hour; in setDateTime() [all …]
|