Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DClipDescriptionTest.java86 public static String logTime(long millis) { in logTime() argument
88 if (millis >= 0) { in logTime()
89 c.setTimeInMillis(millis); in logTime()
92 return Long.toString(millis); in logTime()
/cts/tests/tests/media/src/android/media/cts/
DSafeWaitObject.java32 public void safeWait(long millis) throws InterruptedException { in safeWait() argument
33 final long timeOutTime = java.lang.System.currentTimeMillis() + millis; in safeWait()
DStreamingMediaPlayerTest.java668 private void delay(long millis, int nanos) throws IOException { in createSessionOutputBuffer() argument
670 Thread.sleep(millis, nanos); in createSessionOutputBuffer()
DAudioTrackLatencyTest.java185 int millis = (framesRemaining * 1000) / sampleRate; in writeSeconds() local
186 Thread.sleep(millis); in writeSeconds()
/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/os/src/android/os/cts/
DVibratorTest.java131 private static void sleep(long millis) { in sleep() argument
133 Thread.sleep(millis); in sleep()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DActionChargingTest.java88 private void setChargingDelay(long millis) { in setChargingDelay() argument
91 "battery_charged_delay_ms=" + millis); in setChargingDelay()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleConnectionPriorityClientService.java312 private void sleep(int millis) { in sleep() argument
314 Thread.sleep(millis); in sleep()
DBleEncryptedClientService.java253 private void sleep(int millis) { in sleep() argument
255 Thread.sleep(millis); in sleep()
DBleClientService.java877 private void sleep(int millis) { in sleep() argument
879 Thread.sleep(millis); in sleep()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java401 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1() local
402 local.set(millis); in testNormalize1()
435 long millis = local.toMillis(false /* use isDst */); in testNormalize1() local
436 local.set(millis); in testNormalize1()
1933 long millis = time.normalize(true); in testGetJulianDay() local
1939 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
1946 millis = time.normalize(true); in testGetJulianDay()
1947 if (millis == -1) { in testGetJulianDay()
1953 int day = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
1977 long millis = time.normalize(true); in testSetJulianDay() local
[all …]
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java155 assertTrue(SystemClock.currentGnssTimeClock().millis() < 1000); in testGnssProvidedClock()
161 long clockms = SystemClock.currentGnssTimeClock().millis(); in testGnssProvidedClock()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleClientTestBase.java442 private void sleep(long millis) { in sleep() argument
444 Thread.sleep(millis); in sleep()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java446 private static void sleep(int millis) { in sleep() argument
448 Thread.sleep(millis); in sleep()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java182 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
184 super.wait(millis); in wait()
202 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
204 super.wait(millis); in wait()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java234 public synchronized void wait(int millis) throws InterruptedException { in wait() argument
236 super.wait(millis); in wait()
/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java620 public synchronized boolean waitForMessage(long millis) { in waitForMessage() argument
623 wait(millis); in waitForMessage()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java482 static void sleep(int millis) { in sleep() argument
484 Thread.sleep(millis); in sleep()