Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java462 public void setOption(int optID, Object value) throws SocketException { in setOption() argument
464 setOptionInternal(optID, value); in setOption()
470 private void setOptionInternal(int optID, Object value) throws ErrnoException, in setOptionInternal() argument
472 switch(optID) { in setOptionInternal()
480 throw new SocketException("Unknown socket option: " + optID); in setOptionInternal()
485 public Object getOption(int optID) throws SocketException { in getOption() argument
487 return getOptionInternal(optID); in getOption()
493 private Object getOptionInternal(int optID) throws ErrnoException, SocketException { in getOptionInternal() argument
494 switch (optID) { in getOptionInternal()
500 throw new SocketException("Unknown socket option: " + optID); in getOptionInternal()