Home
last modified time | relevance | path

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

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp6Socket.java49 protected IkeUdp6Socket(FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdp6Socket() argument
50 super(socket, sockConfig, handler == null ? new Handler() : handler); in IkeUdp6Socket()
65 IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession, Handler handler) in getInstance() argument
67 IkeUdp6Socket ikeSocket = sConfigToSocketMap.get(sockConfig); in getInstance()
69 ikeSocket = new IkeUdp6Socket(openUdp6Sock(sockConfig), sockConfig, handler); in getInstance()
74 sConfigToSocketMap.put(sockConfig, ikeSocket); in getInstance()
80 protected static FileDescriptor openUdp6Sock(IkeSocketConfig sockConfig) in openUdp6Sock() argument
84 applySocketConfig(sockConfig, sock, true /* isIpv6 */); in openUdp6Sock()
DIkeUdp4Socket.java49 private IkeUdp4Socket(FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdp4Socket() argument
50 super(socket, sockConfig, handler == null ? new Handler() : handler); in IkeUdp4Socket()
65 IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession, Handler handler) in getInstance() argument
67 IkeUdp4Socket ikeSocket = sConfigToSocketMap.get(sockConfig); in getInstance()
71 applySocketConfig(sockConfig, sock, false /* isIpv6 */); in getInstance()
73 ikeSocket = new IkeUdp4Socket(sock, sockConfig, handler); in getInstance()
78 sConfigToSocketMap.put(sockConfig, ikeSocket); in getInstance()
DIkeUdp6WithEncapPortSocket.java56 FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdp6WithEncapPortSocket() argument
57 super(socket, sockConfig, handler); in IkeUdp6WithEncapPortSocket()
76 IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession, Handler handler) in getIkeUdpEncapSocket() argument
78 IkeUdp6WithEncapPortSocket ikeSocket = sConfigToSocketMap.get(sockConfig); in getIkeUdpEncapSocket()
81 new IkeUdp6WithEncapPortSocket(openUdp6Sock(sockConfig), sockConfig, handler); in getIkeUdpEncapSocket()
86 sConfigToSocketMap.put(sockConfig, ikeSocket); in getIkeUdpEncapSocket()
DIkeUdpEncapSocket.java60 UdpEncapsulationSocket udpEncapSocket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdpEncapSocket() argument
61 super(sockConfig, handler); in IkeUdpEncapSocket()
79 IkeSocketConfig sockConfig, in getIkeUdpEncapSocket() argument
84 IkeUdpEncapSocket ikeSocket = sConfigToSocketMap.get(sockConfig); in getIkeUdpEncapSocket()
88 applySocketConfig(sockConfig, fd, false /* isIpv6 */); in getIkeUdpEncapSocket()
90 ikeSocket = new IkeUdpEncapSocket(udpEncapSocket, sockConfig, new Handler(looper)); in getIkeUdpEncapSocket()
95 sConfigToSocketMap.put(sockConfig, ikeSocket); in getIkeUdpEncapSocket()
DIkeSocket.java83 protected IkeSocket(IkeSocketConfig sockConfig, Handler handler) { in IkeSocket() argument
85 mIkeSocketConfig = sockConfig; in IkeSocket()
119 IkeSocketConfig sockConfig, FileDescriptor sock, boolean isIpv6) in applySocketConfig() argument
121 sockConfig.getNetwork().bindSocket(sock); in applySocketConfig()
125 final int tClass = sockConfig.getDscp() << 2; in applySocketConfig()
130 final int tos = sockConfig.getDscp() << 2; in applySocketConfig()
DIkeUdpSocket.java45 protected IkeUdpSocket(FileDescriptor socket, IkeSocketConfig sockConfig, Handler handler) { in IkeUdpSocket() argument
46 super(sockConfig, handler); in IkeUdpSocket()
DIkeSessionStateMachine.java918 IkeSocketConfig sockConfig = new IkeSocketConfig(mNetwork, mIkeSessionParams.getDscp()); in getIkeSocket() local
922 sockConfig, in getIkeSocket()
928 sockConfig, IkeSessionStateMachine.this, getHandler()); in getIkeSocket()
933 sockConfig, IkeSessionStateMachine.this, getHandler()); in getIkeSocket()
936 sockConfig, IkeSessionStateMachine.this, getHandler()); in getIkeSocket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java226 IkeSocket getIkeSocket(IkeSocketConfig sockConfig, IkeSessionStateMachine ikeSession) in getIkeSocket() argument