Home
last modified time | relevance | path

Searched refs:remoteAddress (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionPskTestBase.java48 protected IkeSession openIkeSessionWithTunnelModeChild(InetAddress remoteAddress) { in openIkeSessionWithTunnelModeChild() argument
49 return openIkeSession(remoteAddress, buildTunnelModeChildSessionParams()); in openIkeSessionWithTunnelModeChild()
53 InetAddress remoteAddress, IkeSessionParams ikeParams) { in openIkeSessionWithTunnelModeChild() argument
54 return openIkeSession(remoteAddress, ikeParams, buildTunnelModeChildSessionParams()); in openIkeSessionWithTunnelModeChild()
57 protected IkeSession openIkeSessionWithTransportModeChild(InetAddress remoteAddress) { in openIkeSessionWithTransportModeChild() argument
58 return openIkeSession(remoteAddress, buildTransportModeChildParamsWithDefaultTs()); in openIkeSessionWithTransportModeChild()
61 protected IkeSessionParams.Builder createIkeParamsBuilderBase(InetAddress remoteAddress) { in createIkeParamsBuilderBase() argument
63 remoteAddress, in createIkeParamsBuilderBase()
69 InetAddress remoteAddress, IkeSaProposal... saProposals) { in createIkeParamsBuilderBase() argument
73 .setServerHostname(remoteAddress.getHostAddress()) in createIkeParamsBuilderBase()
[all …]
DIkeSessionMobikeTest.java142 protected IkeSessionParams getIkeSessionParams(InetAddress remoteAddress) { in getIkeSessionParams() argument
143 return createIkeParamsBuilderBase(remoteAddress) in getIkeSessionParams()
211 InetAddress remoteAddress, in setupAndVerifyIkeSessionWithMobility() argument
224 createIkeParamsBuilderBase(remoteAddress, saProposal); in setupAndVerifyIkeSessionWithMobility()
231 final IkeSession ikeSession = openIkeSessionWithTunnelModeChild(remoteAddress, ikeParams); in setupAndVerifyIkeSessionWithMobility()
DIkeSessionDigitalSignatureTest.java158 private IkeSession openIkeSessionWithRemoteAddress(InetAddress remoteAddress) { in openIkeSessionWithRemoteAddress() argument
162 .setServerHostname(remoteAddress.getHostAddress()) in openIkeSessionWithRemoteAddress()
DIkeSessionMschapV2Test.java160 private IkeSession openIkeSessionWithRemoteAddress(InetAddress remoteAddress) { in openIkeSessionWithRemoteAddress() argument
164 .setServerHostname(remoteAddress.getHostAddress()) in openIkeSessionWithRemoteAddress()
DIkeSessionLivenessCheckTest.java77 private IkeSession openIkeSessionWithRemoteAddress(InetAddress remoteAddress) { in openIkeSessionWithRemoteAddress() argument
81 .setServerHostname(remoteAddress.getHostAddress()) in openIkeSessionWithRemoteAddress()
DIkeSessionRekeyTest.java53 private IkeSession openIkeSessionWithRemoteAddress(InetAddress remoteAddress) { in openIkeSessionWithRemoteAddress() argument
57 .setServerHostname(remoteAddress.getHostAddress()) in openIkeSessionWithRemoteAddress()
DIkeSessionPskTest.java98 protected IkeSessionParams getIkeSessionParams(InetAddress remoteAddress) { in getIkeSessionParams() argument
99 return createIkeParamsBuilderBase(remoteAddress).build(); in getIkeSessionParams()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/src/
DRtpConfig.cpp37 remoteAddress(""), in RtpConfig()
57 remoteAddress = String8(config->remoteAddress.c_str()); in RtpConfig()
73 remoteAddress = String8(config.remoteAddress.c_str()); in RtpConfig()
91 remoteAddress = String8(config.remoteAddress.c_str()); in operator =()
108 this->remoteAddress == config.remoteAddress && this->remotePort == config.remotePort && in operator ==()
120 this->remoteAddress != config.remoteAddress || this->remotePort != config.remotePort || in operator !=()
154 String16 address(remoteAddress); in writeToParcel()
263 remoteAddress = String8(""); in readFromParcel()
267 remoteAddress = String8(address.c_str()); in readFromParcel()
383 this->remoteAddress = address; in setRemoteAddress()
[all …]
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DHandshakeSender.java18 private final InetAddress remoteAddress; field in HandshakeSender
25 public HandshakeSender(InetAddress remoteAddress, int remotePort) { in HandshakeSender() argument
26 this.remoteAddress = remoteAddress; in HandshakeSender()
36 DatagramPacket packet = new DatagramPacket(data, dataLength, remoteAddress, remotePort); in run()
38 Log.d(TAG, "Packet has been set to " + remoteAddress.getHostName() + ":" + remotePort); in run()
/packages/modules/NetworkStack/tests/integration/signature/android/net/netlink/
DInetDiagSocketIntegrationTest.java69 public InetAddress remoteAddress; field in InetDiagSocketIntegrationTest.Connection
82 remoteAddress = InetAddress.getByName(to); in Connection()
86 localAddress = (remoteAddress instanceof Inet4Address) in Connection()
89 if ((localAddress instanceof Inet4Address) && (remoteAddress instanceof Inet4Address)) { in Connection()
110 Os.bind(remoteFd, remoteAddress, 0); in TcpConnection()
116 Os.connect(localFd, remoteAddress, remotePort); in TcpConnection()
137 Os.connect(localFd, remoteAddress, 7); in UdpConnection()
139 remote = new InetSocketAddress(remoteAddress, 7); in UdpConnection()
155 UdpConnection udp = new UdpConnection(conn.remoteAddress.getHostAddress(), in findLikelyFreeUdpPort()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DBluetoothQualityReportNativeInterface.java80 String remoteAddress = Utils.getAddressStringFromByte(remoteAddr); in bqrDeliver() local
83 if (remoteAddress != null && adapter != null) { in bqrDeliver()
84 device = adapter.getRemoteDevice(remoteAddress); in bqrDeliver()
95 + (remoteAddress == null in bqrDeliver()
105 .setRemoteAddress(remoteAddress) in bqrDeliver()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapbMessageSms.java90 String remoteAddress = BluetoothMapService.getRemoteDevice().getAddress(); in encode() local
93 if (DeviceWorkArounds.addressStartsWith(remoteAddress, DeviceWorkArounds.PCM_CARKIT)) { in encode()
98 remoteAddress, DeviceWorkArounds.FORD_SYNC_CARKIT)) { in encode()
103 remoteAddress, DeviceWorkArounds.SYNC_CARKIT) in encode()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionConnectionInfo.java45 @NonNull InetAddress remoteAddress, in IkeSessionConnectionInfo() argument
48 Objects.requireNonNull(remoteAddress, "remoteAddress not provided"); in IkeSessionConnectionInfo()
52 mRemoteAddress = remoteAddress; in IkeSessionConnectionInfo()
/packages/modules/Connectivity/framework/src/android/net/
DConnectionInfo.java67 InetAddress remoteAddress;
69 remoteAddress = InetAddress.getByAddress(in.createByteArray());
75 InetSocketAddress remote = new InetSocketAddress(remoteAddress, remotePort);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeLocalAddressGenerator.java36 Network network, boolean isIpv4, InetAddress remoteAddress, int serverPort) in generateLocalAddress() argument
44 Os.connect(sock, remoteAddress, serverPort); in generateLocalAddress()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachine.java383 InetAddress remoteAddress, in handleFirstChildExchange() argument
390 this.mRemoteAddress = remoteAddress; in handleFirstChildExchange()
418 InetAddress remoteAddress, in createChildSession() argument
424 this.mRemoteAddress = remoteAddress; in createChildSession()
467 InetAddress remoteAddress, in performMigration() argument
473 this.mRemoteAddress = remoteAddress; in performMigration()
495 performRekeyMigration(localAddress, remoteAddress, udpEncapSocket); in performMigration()
519 InetAddress remoteAddress, in performRekeyMigration() argument
523 this.mRemoteAddress = remoteAddress; in performRekeyMigration()
2376 InetAddress remoteAddress) { in validateAndNegotiateInitChild() argument
[all …]
DSaRecord.java602 InetAddress remoteAddress, in ChildSaRecordConfig() argument
614 this.initAddress = isLocalInit ? localAddress : remoteAddress; in ChildSaRecordConfig()
615 this.respAddress = isLocalInit ? remoteAddress : localAddress; in ChildSaRecordConfig()
1024 InetAddress remoteAddress, in makeChildSaRecord() argument
1043 remoteAddress, in makeChildSaRecord()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java449 InetAddress remoteAddress) in getVerifiedNegotiatedIkeProposalPair() argument
460 reqProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
465 respProposal.allocateResourceForRemoteIkeSpi(ikeSpiGenerator, remoteAddress); in getVerifiedNegotiatedIkeProposalPair()
512 InetAddress remoteAddress) in getVerifiedNegotiatedChildProposalPair() argument
523 reqProposal.allocateResourceForRemoteChildSpi(ipSecSpiGenerator, remoteAddress); in getVerifiedNegotiatedChildProposalPair()
527 respProposal.allocateResourceForRemoteChildSpi(ipSecSpiGenerator, remoteAddress); in getVerifiedNegotiatedChildProposalPair()
895 IkeSpiGenerator ikeSpiGenerator, InetAddress remoteAddress) throws IOException { in allocateResourceForRemoteIkeSpi() argument
896 mIkeSpiResource = ikeSpiGenerator.allocateSpi(remoteAddress, spi); in allocateResourceForRemoteIkeSpi()
981 IpSecSpiGenerator ipSecSpiGenerator, InetAddress remoteAddress) in allocateResourceForRemoteChildSpi() argument
983 mChildSpiResource = ipSecSpiGenerator.allocateSpi(remoteAddress, (int) spi); in allocateResourceForRemoteChildSpi()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecManager.java869 @NonNull InetAddress localAddress, @NonNull InetAddress remoteAddress, in IpSecTunnelInterface() argument
875 mRemoteAddress = remoteAddress; in IpSecTunnelInterface()
882 remoteAddress.getHostAddress(), in IpSecTunnelInterface()
975 @NonNull InetAddress remoteAddress, @NonNull Network underlyingNetwork) in createIpSecTunnelInterface() argument
979 mContext, mService, localAddress, remoteAddress, underlyingNetwork); in createIpSecTunnelInterface()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java243 rtpConfig.remoteAddress = buildRtpAddress(audioConfig); in convertToRtpConfig()
369 if (rtpConfig.remoteAddress == null) { in buildRtpAddress()
373 InetAddresses.parseNumericAddress(rtpConfig.remoteAddress.ipAddress), in buildRtpAddress()
374 rtpConfig.remoteAddress.portNumber); in buildRtpAddress()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java451 InetAddress remoteAddress, in verifyChildSaRecordConfig() argument
459 assertEquals(remoteAddress, childSaRecordConfig.respAddress); in verifyChildSaRecordConfig()
461 assertEquals(remoteAddress, childSaRecordConfig.initAddress); in verifyChildSaRecordConfig()
1233 InetAddress remoteAddress) in verifyRekeyChildLocalCreateHandlesResponse() argument
1236 expectedState, isMobikeRekey, localAddress, remoteAddress, mMockUdpEncapSocket); in verifyRekeyChildLocalCreateHandlesResponse()
1243 InetAddress remoteAddress, in verifyRekeyChildLocalCreateHandlesResponse() argument
1250 rekeyRespPayloads, isMobikeRekey, localAddress, remoteAddress, newEncapSocket); in verifyRekeyChildLocalCreateHandlesResponse()
1257 InetAddress remoteAddress) in verifyLocalRekeyCreateIsDone() argument
1260 rekeyRespPayloads, isMobikeRekey, localAddress, remoteAddress, mMockUdpEncapSocket); in verifyLocalRekeyCreateIsDone()
1267 InetAddress remoteAddress, in verifyLocalRekeyCreateIsDone() argument
[all …]
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/include/
DRtpConfig.h122 String8 remoteAddress; variable
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/1/android/net/
DINetd.aidl30 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecAddTunnelInterface() argument
31 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecUpdateTunnelInterface() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/3/android/net/
DINetd.aidl48 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecAddTunnelInterface() argument
49 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecUpdateTunnelInterface() argument
/packages/modules/Connectivity/staticlibs/netd/aidl_api/netd_aidl_interface/2/android/net/
DINetd.aidl47 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecAddTunnelInterface() argument
48 …g deviceName, in @utf8InCpp String localAddress, in @utf8InCpp String remoteAddress, int iKey, int… in ipSecUpdateTunnelInterface() argument

12