Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DStrictModeTest.java62 final long millis = System.currentTimeMillis(); in testCleartextNetwork() local
71 assertTrue("Expected cleartext to be caught", readLogSince(millis).contains(msg)); in testCleartextNetwork()
85 final long millis = System.currentTimeMillis(); in testEncryptedNetwork() local
94 assertFalse("Expected encrypted to be ignored", readLogSince(millis).contains(msg)); in testEncryptedNetwork()
97 private String readLogSince(long millis) throws Exception { in readLogSince() argument
99 final Process proc = new ProcessBuilder("logcat", "-t", format.format(new Date(millis))) in readLogSince()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java67 public void onTick(long millis) { in onCreate()
68 int min = (int)millis / 60000; in onCreate()
69 int sec = ((int)millis / 1000) % 60; in onCreate()
DBleClientService.java293 private void sleep(int millis) { in sleep() argument
295 Thread.sleep(millis); in sleep()
/cts/apps/cts-usb-accessory/
Dcts-usb-accessory.c64 static void milli_sleep(int millis) { in milli_sleep() argument
68 tm.tv_nsec = millis * 1000000; in milli_sleep()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java251 public static String getDirSuffix(long millis) { in getDirSuffix() argument
252 return new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss").format(new Date(millis)); in getDirSuffix()
/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java373 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1() local
374 local.set(millis); in testNormalize1()
407 long millis = local.toMillis(false /* use isDst */); in testNormalize1() local
408 local.set(millis); in testNormalize1()
1873 long millis = time.normalize(true); in testGetJulianDay() local
1879 int julianDay = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
1886 millis = time.normalize(true); in testGetJulianDay()
1887 if (millis == -1) { in testGetJulianDay()
1893 int day = Time.getJulianDay(millis, time.gmtoff); in testGetJulianDay()
1916 long millis = time.normalize(true); in testSetJulianDay() local
[all …]
/cts/tests/tests/location/src/android/location/cts/
DLocationTest.java556 public synchronized boolean waitForMessage(long millis) { in waitForMessage() argument
559 wait(millis); in waitForMessage()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java182 int millis = (framesRemaining * 1000) / sampleRate; in writeSeconds() local
183 Thread.sleep(millis); in writeSeconds()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex56819 private long millis
92551 org.bouncycastle.asn1.DERInteger millis