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

/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java184 private native int getOption_native(FileDescriptor fd, int optID) argument
186 private native void setOption_native(FileDescriptor fd, int optID, argument
427 public Object getOption(int optID) throws IOException argument
433 if (optID == SocketOptions.SO_TIMEOUT) {
437 int value = getOption_native(fd, optID);
438 switch (optID)
449 public void setOption(int optID, Object value) argument
472 setOption_native(fd, optID, boolValue, intValue);
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp205 java_opt_to_real(int optID, int* opt, int* level) argument
207 switch (optID)
239 socket_getOption(JNIEnv *env, jobject object, jobject fileDescriptor, int optID) argument
247 if (!java_opt_to_real(optID, &opt, &level)) {
287 JNIEnv *env, jobject object, jobject fileDescriptor, int optID,
294 if (!java_opt_to_real(optID, &optname, &level)) {
286 socket_setOption( JNIEnv *env, jobject object, jobject fileDescriptor, int optID, jint boolValue, jint intValue) argument

Completed in 147 milliseconds