Home
last modified time | relevance | path

Searched refs:localAddress (Results 1 – 25 of 47) sorted by relevance

12

/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java118 InetAddress localAddress) in IkeSaPayload() argument
120 this(isResp, spiSize, localAddress); in IkeSaPayload()
134 localAddress)); in IkeSaPayload()
148 InetAddress localAddress) in IkeSaPayload() argument
150 this(isResp, spiSize, localAddress); in IkeSaPayload()
158 localAddress)); in IkeSaPayload()
163 private IkeSaPayload(boolean isResp, byte spiSize, InetAddress localAddress) in IkeSaPayload() argument
184 InetAddress localAddress) in IkeSaPayload() argument
186 this(false /* isResp */, ipSecSpiGenerator, localAddress); in IkeSaPayload()
201 localAddress)); in IkeSaPayload()
[all …]
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java68 public InetAddress localAddress; field in InetDiagSocketIntegrationTest.Connection
84 localAddress = InetAddress.getByName(from); in Connection()
86 localAddress = (remoteAddress instanceof Inet4Address) in Connection()
89 if ((localAddress instanceof Inet4Address) && (remoteAddress instanceof Inet4Address)) { in Connection()
115 Os.bind(localFd, localAddress, 0); in TcpConnection()
135 Os.bind(localFd, localAddress, 0); in UdpConnection()
156 conn.localAddress.getHostAddress()); in findLikelyFreeUdpPort()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DUwbRangingSession.java139 byte[] localAddress = new byte[SHORT_ADDRESS_LENGTH]; in setUwbRangingParameters()
143 buffer.get(localAddress); in setUwbRangingParameters()
147 buffer.get(localAddress); in setUwbRangingParameters()
152 mRangingDevice.setLocalAddress(UwbAddress.fromBytes(localAddress)); in setUwbRangingParameters()
167 UwbAddress localAddress = rangingParameters.getUwbLocalAddress(); in setUwbRangingParameters() local
168 Preconditions.checkNotNull(localAddress, "localAddress must not be null"); in setUwbRangingParameters()
171 mRangingDevice.setLocalAddress(localAddress); in setUwbRangingParameters()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionConnectionInfo.java44 @NonNull InetAddress localAddress, in IkeSessionConnectionInfo()
47 Objects.requireNonNull(localAddress, "localAddress not provided"); in IkeSessionConnectionInfo()
51 mLocalAddress = localAddress; in IkeSessionConnectionInfo()
/packages/modules/Connectivity/framework/src/android/net/
DConnectionInfo.java60 InetAddress localAddress;
62 localAddress = InetAddress.getByAddress(in.createByteArray());
74 InetSocketAddress local = new InetSocketAddress(localAddress, localPort);
DNetwork.java201 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost() argument
211 if (localAddress != null) socket.bind(localAddress); in connectToHost()
232 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket() argument
237 socket.bind(new InetSocketAddress(localAddress, localPort)); in createSocket()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/
DIRtpSession.cpp25 ImsMediaType type, const RtpAddress& localAddress, const RtpAddress& peerAddress) in GetInstance() argument
31 if (i != nullptr && i->isSameInstance(type, localAddress, peerAddress)) in GetInstance()
44 IRtpSession* pSession = new IRtpSession(type, localAddress, peerAddress); in GetInstance()
75 ImsMediaType mediatype, const RtpAddress& localAddress, const RtpAddress& peerAddress) in IRtpSession() argument
80 mLocalAddress = localAddress; in IRtpSession()
136 ImsMediaType mediatype, const RtpAddress& localAddress, const RtpAddress& peerAddress) in isSameInstance() argument
138 if (mMediaType == mediatype && mLocalAddress == localAddress && mPeerAddress == peerAddress) in isSameInstance()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/
DAudioStreamGraphRtpRx.cpp49 RtpAddress localAddress(localIp, localPort); in create() local
51 (static_cast<SocketReaderNode*>(pNodeSocketReader))->SetLocalAddress(localAddress); in create()
60 (static_cast<RtpDecoderNode*>(pNodeRtpDecoder))->SetLocalAddress(localAddress); in create()
DAudioStreamGraphRtcp.cpp48 RtpAddress localAddress(localIp, localPort - 1); in create() local
49 (static_cast<RtcpEncoderNode*>(pNodeRtcpEncoder))->SetLocalAddress(localAddress); in create()
75 (static_cast<RtcpDecoderNode*>(pNodeRtcpDecoder))->SetLocalAddress(localAddress); in create()
DAudioStreamGraphRtpTx.cpp62 RtpAddress localAddress(localIp, localPort); in create() local
64 (static_cast<RtpEncoderNode*>(pNodeRtpEncoder))->SetLocalAddress(localAddress); in create()
71 (static_cast<SocketWriterNode*>(pNodeSocketWriter))->SetLocalAddress(localAddress); in create()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtcp.cpp49 RtpAddress localAddress(localIp, localPort - 1); in create() local
50 (static_cast<RtcpEncoderNode*>(pNodeRtcpEncoder))->SetLocalAddress(localAddress); in create()
75 (static_cast<RtcpDecoderNode*>(pNodeRtcpDecoder))->SetLocalAddress(localAddress); in create()
DTextStreamGraphRtpRx.cpp47 RtpAddress localAddress(localIp, localPort); in create() local
52 (static_cast<SocketReaderNode*>(nodeSocketReader))->SetLocalAddress(localAddress); in create()
60 (static_cast<RtpDecoderNode*>(nodeRtpDecoder))->SetLocalAddress(localAddress); in create()
DTextStreamGraphRtpTx.cpp55 RtpAddress localAddress(localIp, localPort); in create() local
71 (static_cast<RtpEncoderNode*>(pNodeRtpEncoder))->SetLocalAddress(localAddress); in create()
78 (static_cast<SocketWriterNode*>(pNodeSocketWriter))->SetLocalAddress(localAddress); in create()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtcp.cpp49 RtpAddress localAddress(localIp, localPort - 1); in create() local
50 (static_cast<RtcpEncoderNode*>(pNodeRtcpEncoder))->SetLocalAddress(localAddress); in create()
75 (static_cast<RtcpDecoderNode*>(pNodeRtcpDecoder))->SetLocalAddress(localAddress); in create()
DVideoStreamGraphRtpRx.cpp48 RtpAddress localAddress(localIp, localPort); in create() local
53 (static_cast<SocketReaderNode*>(nodeSocketReader))->SetLocalAddress(localAddress); in create()
61 (static_cast<RtpDecoderNode*>(nodeRtpDecoder))->SetLocalAddress(localAddress); in create()
DVideoStreamGraphRtpTx.cpp62 RtpAddress localAddress(localIp, localPort); in create() local
78 (static_cast<RtpEncoderNode*>(pNodeRtpEncoder))->SetLocalAddress(localAddress); in create()
85 (static_cast<SocketWriterNode*>(pNodeSocketWriter))->SetLocalAddress(localAddress); in create()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/
DIRtpSession.h84 ImsMediaType type, const RtpAddress& localAddress, const RtpAddress& peerAddress);
87 ImsMediaType subtype, const RtpAddress& localAddress, const RtpAddress& peerAddress);
91 ImsMediaType subtype, const RtpAddress& localAddress, const RtpAddress& peerAddress);
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DConntrackSocketTest.java143 final InetSocketAddress localAddress = (InetSocketAddress) socket.getLocalSocketAddress(); in testIpv4ConntrackSocket() local
151 findConnectionOrThrow(handle.getFileDescriptor(), localAddress, theAddress); in testIpv4ConntrackSocket() local
155 fail("Did not find socket " + localAddress + "->" + theAddress + " in dump"); in testIpv4ConntrackSocket()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecManager.java869 @NonNull InetAddress localAddress, @NonNull InetAddress remoteAddress, in IpSecTunnelInterface() argument
874 mLocalAddress = localAddress; in IpSecTunnelInterface()
881 localAddress.getHostAddress(), in IpSecTunnelInterface()
974 public IpSecTunnelInterface createIpSecTunnelInterface(@NonNull InetAddress localAddress, in createIpSecTunnelInterface() argument
979 mContext, mService, localAddress, remoteAddress, underlyingNetwork); in createIpSecTunnelInterface()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java382 InetAddress localAddress, in handleFirstChildExchange() argument
389 this.mLocalAddress = localAddress; in handleFirstChildExchange()
417 InetAddress localAddress, in createChildSession() argument
423 this.mLocalAddress = localAddress; in createChildSession()
466 InetAddress localAddress, in performMigration() argument
472 this.mLocalAddress = localAddress; in performMigration()
495 performRekeyMigration(localAddress, remoteAddress, udpEncapSocket); in performMigration()
518 InetAddress localAddress, in performRekeyMigration() argument
522 this.mLocalAddress = localAddress; in performRekeyMigration()
2238 InetAddress localAddress, in getInitChildCreateReqPayloads() argument
[all …]
DSaRecord.java601 InetAddress localAddress, in ChildSaRecordConfig() argument
614 this.initAddress = isLocalInit ? localAddress : remoteAddress; in ChildSaRecordConfig()
615 this.respAddress = isLocalInit ? remoteAddress : localAddress; in ChildSaRecordConfig()
1023 InetAddress localAddress, in makeChildSaRecord() argument
1042 localAddress, in makeChildSaRecord()
/packages/services/Car/service/src/com/android/car/bluetooth/
DFastPairGattServer.java722 String localAddress = mBluetoothAdapter.getAddress(); in processKeyBasedPairing() local
723 byte[] localAddressBytes = BluetoothUtils.getBytesFromAddress(localAddress); in processKeyBasedPairing()
821 String localAddress = mBluetoothAdapter.getAddress(); in validateRequestAgainstKey() local
824 BluetoothDevice localDevice = mBluetoothAdapter.getRemoteDevice(localAddress); in validateRequestAgainstKey()
827 Slogf.d(TAG, "rpa=%s, public=%s, reported=%s", mLocalRpaDevice, localAddress, in validateRequestAgainstKey()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DRtNetlinkAddressMessage.java176 final StructNlAttr localAddress = new StructNlAttr(IFA_LOCAL, mIpAddress); in pack() local
177 localAddress.pack(byteBuffer); in pack()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java450 InetAddress localAddress, in verifyChildSaRecordConfig() argument
458 assertEquals(localAddress, childSaRecordConfig.initAddress); in verifyChildSaRecordConfig()
462 assertEquals(localAddress, childSaRecordConfig.respAddress); in verifyChildSaRecordConfig()
1232 InetAddress localAddress, in verifyRekeyChildLocalCreateHandlesResponse() argument
1236 expectedState, isMobikeRekey, localAddress, remoteAddress, mMockUdpEncapSocket); in verifyRekeyChildLocalCreateHandlesResponse()
1242 InetAddress localAddress, in verifyRekeyChildLocalCreateHandlesResponse() argument
1250 rekeyRespPayloads, isMobikeRekey, localAddress, remoteAddress, newEncapSocket); in verifyRekeyChildLocalCreateHandlesResponse()
1256 InetAddress localAddress, in verifyLocalRekeyCreateIsDone() argument
1260 rekeyRespPayloads, isMobikeRekey, localAddress, remoteAddress, mMockUdpEncapSocket); in verifyLocalRekeyCreateIsDone()
1266 InetAddress localAddress, in verifyLocalRekeyCreateIsDone() argument
[all …]
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl30 …void ipSecAddTunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, i… in ipSecAddTunnelInterface() argument
31 …TunnelInterface(in @utf8InCpp String deviceName, in @utf8InCpp String localAddress, in @utf8InCpp … in ipSecUpdateTunnelInterface() argument

12