Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DTcpKeepaliveController.java41 import android.net.SocketKeepalive.InvalidSocketException;
129 throws InvalidPacketException, InvalidSocketException { in getTcpKeepalivePacket()
136 } catch (InvalidSocketException e) { in getTcpKeepalivePacket()
220 throws InvalidSocketException { in switchToRepairMode()
232 throw new InvalidSocketException(ERROR_INVALID_SOCKET, e); in switchToRepairMode()
239 throw new InvalidSocketException(ERROR_INVALID_SOCKET); in switchToRepairMode()
246 throw new InvalidSocketException(ERROR_INVALID_SOCKET, e); in switchToRepairMode()
253 throw new InvalidSocketException(ERROR_INVALID_SOCKET); in switchToRepairMode()
265 throw new InvalidSocketException(ERROR_SOCKET_NOT_IDLE); in switchToRepairMode()
279 throw new InvalidSocketException(ERROR_INVALID_SOCKET); in switchToRepairMode()
[all …]
DKeepaliveTracker.java48 import android.net.SocketKeepalive.InvalidSocketException;
183 @Nullable FileDescriptor fd) throws InvalidSocketException { in KeepaliveInfo()
197 boolean resumed) throws InvalidSocketException { in KeepaliveInfo()
231 throw new InvalidSocketException(ERROR_INVALID_SOCKET, e); in KeepaliveInfo()
409 } catch (InvalidSocketException e) { in start()
491 public KeepaliveInfo withFd(@NonNull FileDescriptor fd) throws InvalidSocketException { in withFd()
500 throws InvalidSocketException { in withPacketData()
544 } catch (InvalidSocketException | InvalidPacketException e) { in handleStartKeepalive()
561 throws InvalidSocketException, InvalidPacketException { in handleUpdateKeepaliveForClat()
833 } catch (InvalidSocketException | IllegalArgumentException | SecurityException e) { in makeNattKeepaliveInfo()
[all …]
DAutomaticOnOffKeepaliveTracker.java39 import android.net.SocketKeepalive.InvalidSocketException;
212 throws InvalidSocketException { in AutomaticOnOffKeepalive()
241 private FileDescriptor dupFd(FileDescriptor fd) throws InvalidSocketException { in dupFd()
247 throw new InvalidSocketException(ERROR_INVALID_SOCKET, e); in dupFd()
301 throws InvalidSocketException { in withKeepaliveInfo()
424 } catch (InvalidSocketException | IllegalArgumentException | SecurityException e) { in handleMaybeResumeKeepalive()
507 } catch (InvalidSocketException e) { in handleStartKeepalive()
623 } catch (InvalidSocketException e) { in startNattKeepalive()
657 } catch (InvalidSocketException e) { in startNattKeepalive()
686 } catch (InvalidSocketException e) { in startTcpKeepalive()
/packages/modules/Connectivity/framework/src/android/net/
DSocketKeepalive.java237 public static class InvalidSocketException extends ErrorCodeException { class in SocketKeepalive
238 public InvalidSocketException(final int error, final Throwable e) { in InvalidSocketException() method in SocketKeepalive.InvalidSocketException
241 public InvalidSocketException(final int error) { in InvalidSocketException() method in SocketKeepalive.InvalidSocketException