Searched defs:ms (Results 1 - 8 of 8) sorted by relevance

/dalvik/tests/030-bad-finalizer/src/
H A DBadFinalizer.java7 public static void snooze(int ms) { argument
9 Thread.sleep(ms);
/dalvik/tests/036-finalizer/src/
H A DMain.java12 private static void snooze(int ms) { argument
14 Thread.sleep(ms);
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
H A DTimeUnit.java166 private int excessNanos(long time, long ms) { argument
168 return (int) (time - (ms * 1000 * 1000));
170 return (int) ((time * 1000) - (ms * 1000 * 1000));
198 long ms = toMillis(timeout);
199 int ns = excessNanos(timeout, ms);
200 obj.wait(ms, ns);
216 long ms = toMillis(timeout);
217 int ns = excessNanos(timeout, ms);
218 thread.join(ms, ns);
232 long ms
[all...]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DMulticastSocketTest.java65 public MulticastSocket ms; field in class:MulticastSocketTest.MulticastServer
77 ms.receive(rdp);
87 ms.close();
93 ms.leaveGroup(aGroup);
105 ms = new MulticastSocket(aPort);
106 ms.setSoTimeout(2000);
107 ms.joinGroup(anAddress);
115 ms = new MulticastSocket(aPort);
116 ms.setSoTimeout(2000);
117 ms
[all...]
H A DDatagramSocketTest.java69 public DatagramSocket ms; field in class:DatagramSocketTest.DatagramServer
81 ms.receive(rdp);
83 ms.send(rdp);
93 ms.close();
106 ms = new DatagramSocket(aPort, address);
107 ms.setSoTimeout(2000);
361 public DatagramSocket ms;
373 ms.receive(rdp);
375 ms.send(rdp);
385 ms
[all...]
/dalvik/libcore/sql/src/main/java/SQLite/
H A DDatabase.java188 * @param ms number of millisecond to wait
191 public void busy_timeout(int ms) { argument
193 _busy_timeout(ms);
197 private native void _busy_timeout(int ms); argument
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/
H A DJDBCConnection.java410 void wait(int ms) { argument
413 lock.wait(ms);
/dalvik/libcore/sql/src/main/native/
H A Dsqlite_jni.c834 Java_SQLite_Database__1busy_1timeout(JNIEnv *env, jobject obj, jint ms) argument
841 sqlite3_busy_timeout((sqlite3 * ) h->sqlite, ms);
843 sqlite_busy_timeout((sqlite *) h->sqlite, ms);
847 sqlite_busy_timeout((sqlite *) h->sqlite, ms);
850 sqlite3_busy_timeout((sqlite3 * ) h->sqlite, ms);

Completed in 310 milliseconds