Home
last modified time | relevance | path

Searched refs:optID (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
DLocalSocketImpl.java187 private native int getOption_native(FileDescriptor fd, int optID) in getOption_native() argument
189 private native void setOption_native(FileDescriptor fd, int optID, in setOption_native() argument
431 public Object getOption(int optID) throws IOException in getOption() argument
437 if (optID == SocketOptions.SO_TIMEOUT) { in getOption()
441 int value = getOption_native(fd, optID); in getOption()
442 switch (optID) in getOption()
453 public void setOption(int optID, Object value) in setOption() argument
476 setOption_native(fd, optID, boolValue, intValue); in setOption()
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp200 java_opt_to_real(int optID, int* opt, int* level) in java_opt_to_real() argument
202 switch (optID) in java_opt_to_real()
234 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, jint optID) in socket_getOption() argument
242 if (!java_opt_to_real(optID, &opt, &level)) { in socket_getOption()
282 JNIEnv *env, jobject object, jobject fileDescriptor, jint optID, in socket_setOption() argument
289 if (!java_opt_to_real(optID, &optname, &level)) { in socket_setOption()