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 | 783 MulticastSocket ms = new MulticastSocket((SocketAddress) null); in test_ConstructorLjava_net_SocketAddress() local 784 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 785 ms.bind(null); in test_ConstructorLjava_net_SocketAddress() 786 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 787 ms.close(); in test_ConstructorLjava_net_SocketAddress() 788 assertTrue("should be closed", ms.isClosed()); in test_ConstructorLjava_net_SocketAddress() 790 ms = new MulticastSocket(0); in test_ConstructorLjava_net_SocketAddress() 791 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 792 ms.close(); in test_ConstructorLjava_net_SocketAddress() 793 assertTrue("should be closed", ms.isClosed()); in test_ConstructorLjava_net_SocketAddress() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | TimeUnit.java | 320 long ms = toMillis(timeout); in timedWait() local 321 int ns = excessNanos(timeout, ms); in timedWait() 322 obj.wait(ms, ns); in timedWait() 340 long ms = toMillis(timeout); in timedJoin() local 341 int ns = excessNanos(timeout, ms); in timedJoin() 342 thread.join(ms, ns); in timedJoin() 358 long ms = toMillis(timeout); in sleep() local 359 int ns = excessNanos(timeout, ms); in sleep() 360 Thread.sleep(ms, ns); in sleep()
|
D | ForkJoinTask.java | 985 int s; long ms; in get() local 1016 if ((ms = TimeUnit.NANOSECONDS.toMillis(ns)) > 0L && in get() 1021 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 | 391 int ms = s.getSoTimeout(); in test_getSoTimeout_setSoTimeout() local 392 if (ms < 1500-10 || ms > 1500+10) { in test_getSoTimeout_setSoTimeout() 393 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()
|