Searched refs:timeMillis (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/text/src/android/text/format/cts/ |
D | NativeTimeFunctions.java | 49 static void assertNativeTimeResults(String tzId, LocalDateTime localDateTime, long timeMillis) { in assertNativeTimeResults() argument 50 assertLocaltimeResult(tzId, timeMillis, localDateTime); in assertNativeTimeResults() 51 assertMktimeResult(tzId, localDateTime, timeMillis); in assertNativeTimeResults() 54 private static void assertLocaltimeResult(String tzId, long timeMillis, in assertLocaltimeResult() argument 56 StructTm structTm = localtime_tz((int) (timeMillis / 1000), tzId); in assertLocaltimeResult() 65 assertEquals(timeMillis + " in " + tzId, expected, actual); in assertLocaltimeResult()
|
D | TimeTest.java | 1501 long timeMillis = time.toMillis(true); in testToMillis_duplicateWallTime() local 1503 assertEquals("i = " + i, timeBaseMillis + minutesInMillis, timeMillis); in testToMillis_duplicateWallTime() 1506 timeMillis); in testToMillis_duplicateWallTime() 1510 assertTrue("i = " + i, timeMillis == timeBaseMillis + minutesInMillis in testToMillis_duplicateWallTime() 1511 || timeMillis == timeBaseMillis + minutesInMillis + dstCorrectionMillis); in testToMillis_duplicateWallTime() 1524 assertEquals("i = " + i, timeBaseMillis + minutesInMillis, timeMillis); in testToMillis_duplicateWallTime() 1527 timeMillis); in testToMillis_duplicateWallTime() 1531 assertTrue("i = " + i, timeMillis == timeBaseMillis + minutesInMillis in testToMillis_duplicateWallTime() 1532 || timeMillis == timeBaseMillis + minutesInMillis + dstCorrectionMillis); in testToMillis_duplicateWallTime() 1543 timeMillis = time.toMillis(true); in testToMillis_duplicateWallTime() [all …]
|
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 186 private static void sleepUninterrupted(long timeMillis) { in sleepUninterrupted() argument 190 Thread.sleep(timeMillis); in sleepUninterrupted()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 487 public synchronized void setDocumentValidity(long timeMillis) { in setDocumentValidity() argument 488 mDocValidity = timeMillis; in setDocumentValidity() 496 public synchronized void setDocumentAge(long timeMillis) { in setDocumentAge() argument 497 mDocAge = timeMillis; in setDocumentAge()
|