Searched refs:ms (Results 1 – 7 of 7) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | MulticastSocketTest.java | 763 MulticastSocket ms = new MulticastSocket((SocketAddress) null); in test_ConstructorLjava_net_SocketAddress() local 764 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 765 ms.bind(null); in test_ConstructorLjava_net_SocketAddress() 766 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 767 ms.close(); in test_ConstructorLjava_net_SocketAddress() 768 assertTrue("should be closed", ms.isClosed()); in test_ConstructorLjava_net_SocketAddress() 770 ms = new MulticastSocket(0); in test_ConstructorLjava_net_SocketAddress() 771 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 772 ms.close(); in test_ConstructorLjava_net_SocketAddress() 773 assertTrue("should be closed", ms.isClosed()); in test_ConstructorLjava_net_SocketAddress() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 291 long ms = toMillis(timeout); in timedWait() local 292 int ns = excessNanos(timeout, ms); in timedWait() 293 obj.wait(ms, ns); in timedWait() 311 long ms = toMillis(timeout); in timedJoin() local 312 int ns = excessNanos(timeout, ms); in timedJoin() 313 thread.join(ms, ns); in timedJoin() 329 long ms = toMillis(timeout); in sleep() local 330 int ns = excessNanos(timeout, ms); in sleep() 331 Thread.sleep(ms, ns); in sleep()
|
D | ForkJoinTask.java | 989 int s; long ms; in get() local 1020 if ((ms = TimeUnit.NANOSECONDS.toMillis(ns)) > 0L && in get() 1025 wait(ms); in get()
|
/libcore/luni/src/main/native/ |
D | java_io_File.cpp | 56 static jboolean File_setLastModifiedImpl(JNIEnv* env, jclass, jstring javaPath, jlong ms) { in File_setLastModifiedImpl() argument 71 times.modtime = static_cast<time_t>(ms / 1000); in File_setLastModifiedImpl()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldServerSocketTest.java | 242 int ms = s.getSoTimeout(); in test_getSoTimeout_setSoTimeout() local 243 if (ms < 1500-10 || ms > 1500+10) { in test_getSoTimeout_setSoTimeout() 244 fail("suspicious timeout: " + ms); in test_getSoTimeout_setSoTimeout()
|
D | OldSocketTest.java | 390 int ms = s.getSoTimeout(); in test_getSoTimeout_setSoTimeout() local 391 if (ms < 1500-10 || ms > 1500+10) { in test_getSoTimeout_setSoTimeout() 392 fail("suspicious timeout: " + ms); in test_getSoTimeout_setSoTimeout()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory1Test.java | 618 MyCertificate ms = createMC(); in testCertificateFactory16() local 620 list.add(ms); in testCertificateFactory16()
|