Searched refs:millis (Results 1 – 9 of 9) sorted by relevance
62 final long millis = System.currentTimeMillis(); in testCleartextNetwork() local71 assertTrue("Expected cleartext to be caught", readLogSince(millis).contains(msg)); in testCleartextNetwork()85 final long millis = System.currentTimeMillis(); in testEncryptedNetwork() local94 assertFalse("Expected encrypted to be ignored", readLogSince(millis).contains(msg)); in testEncryptedNetwork()97 private String readLogSince(long millis) throws Exception { in readLogSince() argument99 final Process proc = new ProcessBuilder("logcat", "-t", format.format(new Date(millis))) in readLogSince()
67 public void onTick(long millis) { in onCreate()68 int min = (int)millis / 60000; in onCreate()69 int sec = ((int)millis / 1000) % 60; in onCreate()
293 private void sleep(int millis) { in sleep() argument295 Thread.sleep(millis); in sleep()
64 static void milli_sleep(int millis) { in milli_sleep() argument68 tm.tv_nsec = millis * 1000000; in milli_sleep()
251 public static String getDirSuffix(long millis) { in getDirSuffix() argument252 return new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss").format(new Date(millis)); in getDirSuffix()
373 long millis = local.toMillis(true /* ignore isDst */); in testNormalize1() local374 local.set(millis); in testNormalize1()407 long millis = local.toMillis(false /* use isDst */); in testNormalize1() local408 local.set(millis); in testNormalize1()1873 long millis = time.normalize(true); in testGetJulianDay() local1879 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 …]
556 public synchronized boolean waitForMessage(long millis) { in waitForMessage() argument559 wait(millis); in waitForMessage()
182 int millis = (framesRemaining * 1000) / sampleRate; in writeSeconds() local183 Thread.sleep(millis); in writeSeconds()
56819 private long millis92551 org.bouncycastle.asn1.DERInteger millis