Home
last modified time | relevance | path

Searched refs:durationMillis (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewTestCtsActivity.java51 public boolean waitForWindowFocus(long durationMillis) { in waitForWindowFocus() argument
55 while (!mHasWindowFocus && durationMillis > 0) { in waitForWindowFocus()
57 durationMillis -= (newElapsedMillis - elapsedMillis); in waitForWindowFocus()
59 if (durationMillis > 0) { in waitForWindowFocus()
61 mHasWindowFocusLock.wait(durationMillis); in waitForWindowFocus()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerCtsActivity.java84 public boolean waitForWindowFocus(long durationMillis) { in waitForWindowFocus() argument
88 while (!mHasWindowFocus && durationMillis > 0) { in waitForWindowFocus()
90 durationMillis -= (newElapsedMillis - elapsedMillis); in waitForWindowFocus()
92 if (durationMillis > 0) { in waitForWindowFocus()
94 mHasWindowFocusLock.wait(durationMillis); in waitForWindowFocus()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java2774 private long durationMillis;
2779 this.durationMillis = 0;
2791 long durationMillis = System.currentTimeMillis() - start;
2795 this.durationMillis = durationMillis;
2804 return this.frames / (this.durationMillis / 1000.0);
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java2025 private static boolean isDeadlineReached(long startTimeMillis, long durationMillis) { in isDeadlineReached() argument
2030 return nowMillis - startTimeMillis > durationMillis; in isDeadlineReached()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java523 private static String generateDurationString(long durationMillis, boolean isAllDay) { in generateDurationString() argument
524 long durationSeconds = durationMillis / 1000; in generateDurationString()