Home
last modified time | relevance | path

Searched refs:millis (Results 1 – 22 of 22) sorted by relevance

/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdCtsBackgroundService.java57 static void sleep(int millis) { in sleep() argument
59 Thread.sleep(millis); in sleep()
DStatsdCtsForegroundActivity.java265 static void sleep(int millis) { in sleep() argument
267 Thread.sleep(millis); in sleep()
DAtomTests.java985 static void sleep(int millis) { in sleep() argument
987 Thread.sleep(millis); in sleep()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DDirectShellCommand.java141 Result getResult(long millis) { in getResult() argument
145 mLock.wait(millis); in getResult()
190 static Result runSync(String serviceName, String[] args, long millis) { in runSync() argument
192 return run(serviceName, args).get(millis); in runSync()
/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java264 public static String logTime(long millis) { in logTime() argument
266 if (millis >= 0) { in logTime()
267 c.setTimeInMillis(millis); in logTime()
270 return Long.toString(millis); in logTime()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DCondition.java129 public Condition<T> setRetryIntervalMs(long millis) { in setRetryIntervalMs() argument
130 mRetryIntervalMs = millis; in setRetryIntervalMs()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DActionChargingTest.java89 private void setChargingDelay(long millis) { in setChargingDelay() argument
90 sGlobalSettings.set("battery_stats_constants", "battery_charged_delay_ms=" + millis); in setChargingDelay()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCondition.java129 public Condition<T> setRetryIntervalMs(long millis) { in setRetryIntervalMs() argument
130 mRetryIntervalMs = millis; in setRetryIntervalMs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DNativeAnalyzerThread.java136 public synchronized void stopTest(int millis) throws InterruptedException { in stopTest() argument
140 mThread.join(millis); in stopTest()
/cts/tests/tests/os/src/android/os/cts/
DSystemClockNetworkTimeTest.java132 assertThrows(DateTimeException.class, () -> SystemClock.currentNetworkTimeClock().millis()); in testCurrentNetworkTimeClock()
167 final long networkEpochMillis = SystemClock.currentNetworkTimeClock().millis(); in assertNetworkTimeIsUsed()
/cts/libs/rollback/src/com/android/cts/rollback/lib/
DRollbackUtils.java230 private static void setTime(long millis) { in setTime() argument
233 am.setTime(millis); in setTime()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityClientService.java178 private void sleep(int millis) { in sleep() argument
180 Thread.sleep(millis); in sleep()
DBleEncryptedClientService.java253 private void sleep(int millis) { in sleep() argument
255 Thread.sleep(millis); in sleep()
DBleClientService.java1061 private void sleep(int millis) { in sleep() argument
1063 Thread.sleep(millis); in sleep()
/cts/tests/location/location_coarse/src/android/location/cts/coarse/
DLocationManagerCoarseTest.java331 assertTrue(SystemClock.currentGnssTimeClock().millis() < 1000); in testGnssProvidedClock()
337 long clockms = SystemClock.currentGnssTimeClock().millis(); in testGnssProvidedClock()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java438 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1() local
439 local.set(millis); in testNormalize1()
472 long millis = local.toMillis(false /* use isDst */); in testNormalize1() local
473 local.set(millis); in testNormalize1()
2005 long millis = instant.toEpochMilli(); in checkGetJulianDayVariousTimes() local
2009 int julianDay = Time.getJulianDay(millis, localDateTimeOffset.getTotalSeconds()); in checkGetJulianDayVariousTimes()
2014 + " millis: " + millis in checkGetJulianDayVariousTimes()
2035 long millis = time.normalize(true); in testSetJulianDay() local
2040 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testSetJulianDay()
2054 millis = time.toMillis(false); in testSetJulianDay()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleClientTestBase.java588 private void sleep(long millis) { in sleep() argument
590 Thread.sleep(millis); in sleep()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java272 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
274 super.wait(millis); in wait()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java221 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
223 super.wait(millis); in wait()
241 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
243 super.wait(millis); in wait()
DTelephonyManagerTest.java5910 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
5912 super.wait(millis); in wait()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackLatencyTest.java235 int millis = (framesRemaining * 1000) / sampleRate; in writeSeconds() local
236 Thread.sleep(millis); in writeSeconds()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt9279 field @Deprecated public static final String SUBTYPE_MILLIS = "millis";