Searched defs:optID (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java181 private native int getOption_native(FileDescriptor fd, int optID) argument
183 private native void setOption_native(FileDescriptor fd, int optID, argument
398 public Object getOption(int optID) throws IOException argument
404 if (optID == SocketOptions.SO_TIMEOUT) {
408 int value = getOption_native(fd, optID);
409 switch (optID)
420 public void setOption(int optID, Object value) argument
443 setOption_native(fd, optID, boolValue, intValue);
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp225 java_opt_to_real(int optID, int* opt, int* level) argument
227 switch (optID)
259 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, int optID) argument
267 if (!java_opt_to_real(optID, &opt, &level)) {
307 JNIEnv *env, jobject object, jobject fileDescriptor, int optID,
314 if (!java_opt_to_real(optID, &optname, &level)) {
306 socket_setOption( JNIEnv *env, jobject object, jobject fileDescriptor, int optID, jint boolValue, jint intValue) argument

Completed in 427 milliseconds