Searched refs:millis (Results 1 – 7 of 7) sorted by relevance
56 final long millis = System.currentTimeMillis(); in testCleartextNetwork() local65 assertTrue("Expected cleartext to be caught", readLogSince(millis).contains(msg)); in testCleartextNetwork()74 final long millis = System.currentTimeMillis(); in testEncryptedNetwork() local83 assertFalse("Expected encrypted to be ignored", readLogSince(millis).contains(msg)); in testEncryptedNetwork()86 private String readLogSince(long millis) throws Exception { in readLogSince() argument88 final Process proc = new ProcessBuilder("logcat", "-t", format.format(new Date(millis))) in readLogSince()
62 static void milli_sleep(int millis) { in milli_sleep() argument66 tm.tv_nsec = millis * 1000000; in milli_sleep()
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()
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 …]
541 public synchronized boolean waitForMessage(long millis) { in waitForMessage() argument544 wait(millis); in waitForMessage()
56819 private long millis92551 org.bouncycastle.asn1.DERInteger millis