Home
last modified time | relevance | path

Searched refs:StructTimeval (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DStructTimevalTest.java22 import android.system.StructTimeval;
71 StructTimeval val = StructTimeval.fromMillis(millisValue); in fromToMillis()
82 StructTimeval[] timeVals = new StructTimeval[millisValues.length]; in testEqualsAndHashcode()
86 StructTimeval value1 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()
87 StructTimeval value2 = StructTimeval.fromMillis(millisValue); in testEqualsAndHashcode()
100 StructTimeval iVal = timeVals[i]; in testEqualsAndHashcode()
102 StructTimeval jVal = timeVals[j]; in testEqualsAndHashcode()
DOsTest.java27 import android.system.StructTimeval;
683 StructTimeval tv = StructTimeval.fromMillis(20); in checkSendToSocketAddress()
816 StructTimeval tv = StructTimeval.fromMillis(4000); in test_recvfrom_concurrentShutdown()
1087 StructTimeval v = Os.getsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO); in test_socket_sockoptTimeval_readWrite()
1090 StructTimeval newValue = StructTimeval.fromMillis(3000); in test_socket_sockoptTimeval_readWrite()
1093 StructTimeval actualValue = Os.getsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO); in test_socket_sockoptTimeval_readWrite()
1111 StructTimeval tv = StructTimeval.fromMillis(timeoutValueMillis); in test_socket_setSockoptTimeval_effective()
1127 StructTimeval tv = StructTimeval.fromMillis(500);
1138 StructTimeval tv = StructTimeval.fromMillis(500); in test_socket_setSockoptTimeval_fileFd()
1146 StructTimeval tv = StructTimeval.fromMillis(500); in test_socket_setSockoptTimeval_badFd()
[all …]
/libcore/luni/src/main/java/android/system/
DStructTimeval.java25 public final class StructTimeval { class
32 private StructTimeval(long tv_sec, long tv_usec) { in StructTimeval() method in StructTimeval
41 public static @NonNull StructTimeval fromMillis(long millis) { in fromMillis()
51 return new StructTimeval(tv_sec, tv_usec); in fromMillis()
71 StructTimeval that = (StructTimeval) o; in equals()
DOs.java279 …public static @NonNull StructTimeval getsockoptTimeval(@NonNull FileDescriptor fd, int level, int … in getsockoptTimeval()
619 …ptTimeval(@NonNull FileDescriptor fd, int level, int option, @NonNull StructTimeval value) throws … in setsockoptTimeval()
/libcore/luni/src/main/java/libcore/io/
DOs.java34 import android.system.StructTimeval;
105 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
180 …public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throw… in setsockoptTimeval()
DLinux.java34 import android.system.StructTimeval;
103 …public native StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws Err… in getsockoptTimeval()
253 …public native void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value… in setsockoptTimeval()
DIoBridge.java25 import android.system.StructTimeval;
449 StructTimeval tv = StructTimeval.fromMillis(millis); in setSocketOptionErrno()
DForwardingOs.java34 import android.system.StructTimeval;
129 …public StructTimeval getsockoptTimeval(FileDescriptor fd, int level, int option) throws ErrnoExcep… in getsockoptTimeval()
211 …public void setsockoptTimeval(FileDescriptor fd, int level, int option, StructTimeval value) throw… in setsockoptTimeval()
/libcore/
Dnon_openjdk_java_files.bp153 "luni/src/main/java/android/system/StructTimeval.java",