Searched refs:timeMillis (Results 1 – 6 of 6) 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 | 1538 long timeMillis = time.toMillis(true); in testToMillis_duplicateWallTime() local 1540 assertEquals("i = " + i, timeBaseMillis + minutesInMillis, timeMillis); in testToMillis_duplicateWallTime() 1543 timeMillis); in testToMillis_duplicateWallTime() 1547 assertTrue("i = " + i, timeMillis == timeBaseMillis + minutesInMillis in testToMillis_duplicateWallTime() 1548 || timeMillis == timeBaseMillis + minutesInMillis + dstCorrectionMillis); in testToMillis_duplicateWallTime() 1561 assertEquals("i = " + i, timeBaseMillis + minutesInMillis, timeMillis); in testToMillis_duplicateWallTime() 1564 timeMillis); in testToMillis_duplicateWallTime() 1568 assertTrue("i = " + i, timeMillis == timeBaseMillis + minutesInMillis in testToMillis_duplicateWallTime() 1569 || timeMillis == timeBaseMillis + minutesInMillis + dstCorrectionMillis); in testToMillis_duplicateWallTime() 1580 timeMillis = time.toMillis(true); in testToMillis_duplicateWallTime() [all …]
|
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 157 private static void sleepUninterrupted(long timeMillis) { in sleepUninterrupted() argument 161 Thread.sleep(timeMillis); in sleepUninterrupted()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplayHashManagerTest.java | 324 long timeMillis = 1000; in testVerifiedDisplayHash() local 328 VerifiedDisplayHash verifiedDisplayHash = new VerifiedDisplayHash(timeMillis, in testVerifiedDisplayHash() 331 assertEquals(timeMillis, verifiedDisplayHash.getTimeMillis()); in testVerifiedDisplayHash()
|
/cts/libs/testserver/src/android/webkit/cts/ |
D | CtsTestServer.java | 542 public synchronized void setDocumentValidity(long timeMillis) { in setDocumentValidity() argument 543 mDocValidity = timeMillis; in setDocumentValidity() 551 public synchronized void setDocumentAge(long timeMillis) { in setDocumentAge() argument 552 mDocAge = timeMillis; in setDocumentAge()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1187 private void waitMillis(long timeMillis) { in waitMillis() argument 1188 final long stopTime = SystemClock.uptimeMillis() + timeMillis; in waitMillis()
|