/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceCallbackHidlV1_4Impl.java | 100 public void onDeviceFound(byte[] srcAddress, byte[] p2pDeviceAddress, byte[] primaryDeviceType, in onDeviceFound() argument 103 mCallbackV10.onDeviceFound(srcAddress, p2pDeviceAddress, primaryDeviceType, in onDeviceFound() 130 public void onGoNegotiationRequest(byte[] srcAddress, short passwordId) { in onGoNegotiationRequest() argument 131 mCallbackV10.onGoNegotiationRequest(srcAddress, passwordId); in onGoNegotiationRequest() 197 public void onInvitationReceived(byte[] srcAddress, byte[] goDeviceAddress, in onInvitationReceived() argument 199 mCallbackV10.onInvitationReceived(srcAddress, goDeviceAddress, bssid, in onInvitationReceived() 237 public void onServiceDiscoveryResponse(byte[] srcAddress, short updateIndicator, in onServiceDiscoveryResponse() argument 239 mCallbackV10.onServiceDiscoveryResponse(srcAddress, updateIndicator, tlvs); in onServiceDiscoveryResponse() 248 public void onStaAuthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaAuthorized() argument 249 mCallbackV10.onStaAuthorized(srcAddress, p2pDeviceAddress); in onStaAuthorized() [all …]
|
D | SupplicantP2pIfaceCallbackAidlImpl.java | 110 public void onDeviceFound(byte[] srcAddress, byte[] p2pDeviceAddress, byte[] primaryDeviceType, in onDeviceFound() argument 113 handleDeviceFound(srcAddress, p2pDeviceAddress, primaryDeviceType, deviceName, in onDeviceFound() 157 public void onGoNegotiationRequest(byte[] srcAddress, int passwordId) { in onGoNegotiationRequest() argument 158 handleGoNegotiationRequestEvent(srcAddress, passwordId, null); in onGoNegotiationRequest() 176 goNegotiationReqEventParams.srcAddress, in onGoNegotiationRequestWithParams() 182 byte[] srcAddress, in handleGoNegotiationRequestEvent() argument 188 config.deviceAddress = NativeUtil.macAddressFromByteArray(srcAddress); in handleGoNegotiationRequestEvent() 397 public void onInvitationReceived(byte[] srcAddress, byte[] goDeviceAddress, in onInvitationReceived() argument 399 handleInvitationReceivedEvent(srcAddress, goDeviceAddress, bssid, in onInvitationReceived() 417 invitationEventParams.srcAddress, in onInvitationReceivedWithParams() [all …]
|
D | SupplicantP2pIfaceCallbackHidlImpl.java | 106 public void onDeviceFound(byte[] srcAddress, byte[] p2pDeviceAddress, byte[] primaryDeviceType, in onDeviceFound() argument 184 public void onGoNegotiationRequest(byte[] srcAddress, short passwordId) { in onGoNegotiationRequest() argument 188 config.deviceAddress = NativeUtil.macAddressFromByteArray(srcAddress); in onGoNegotiationRequest() 343 public void onInvitationReceived(byte[] srcAddress, byte[] goDeviceAddress, in onInvitationReceived() argument 351 client.deviceAddress = NativeUtil.macAddressFromByteArray(srcAddress); in onInvitationReceived() 476 public void onServiceDiscoveryResponse(byte[] srcAddress, short updateIndicator, in onServiceDiscoveryResponse() argument 482 String srcAddressStr = NativeUtil.macAddressFromByteArray(srcAddress); in onServiceDiscoveryResponse() 519 public void onStaAuthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaAuthorized() argument 521 WifiP2pDevice device = createStaEventDevice(srcAddress, p2pDeviceAddress); in onStaAuthorized() 535 public void onStaDeauthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaDeauthorized() argument [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NattKeepalivePacketData.java | 48 public NattKeepalivePacketData(@NonNull InetAddress srcAddress, int srcPort, in NattKeepalivePacketData() argument 51 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData() 59 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument 68 srcAddr = InetAddress.getByAddress(srcAddress.getAddress()); in nattKeepalivePacket() 87 Inet4Address srcAddress, int srcPort, Inet4Address dstAddress, int dstPort) in nattKeepalivePacketv4() argument 102 buf.put(srcAddress.getAddress()); in nattKeepalivePacketv4() 113 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacketv4() 117 Inet6Address srcAddress, int srcPort, Inet6Address dstAddress, int dstPort) in nattKeepalivePacketv6() argument 128 buf.put(srcAddress.getAddress()); in nattKeepalivePacketv6() 138 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacketv6() [all …]
|
D | TcpKeepalivePacketData.java | 70 public TcpKeepalivePacketData(@NonNull final InetAddress srcAddress, int srcPort, in TcpKeepalivePacketData() argument 74 super(srcAddress, srcPort, dstAddress, dstPort, data); in TcpKeepalivePacketData() 137 final InetAddress srcAddress = getSrcAddress(); in equals() local 139 return srcAddress.equals(other.getSrcAddress()) in equals() 185 InetAddress srcAddress = InetAddresses.parseNumericAddress(in.readString()); in readFromParcel() local 196 return new TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, packet, tcpSeq, in readFromParcel()
|
D | KeepalivePacketData.java | 65 protected KeepalivePacketData(@NonNull InetAddress srcAddress, in KeepalivePacketData() argument 69 this.mSrcAddress = srcAddress; in KeepalivePacketData() 76 if (srcAddress == null || dstAddress == null || !srcAddress.getClass().getName() in KeepalivePacketData()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NattKeepalivePacketDataTest.kt | 79 srcAddress: InetAddress? = TEST_SRC_ADDRV4, in address() 83 ) = NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort, dstAddress, dstPort) in address() 95 nattKeepalivePacket(srcAddress = TEST_ADDRV6) in address() 117 nattKeepalivePacket(srcAddress = TEST_ADDRV6, dstAddress = TEST_ADDRV4MAPPEDV6) in testConstructor_afterR() 120 nattKeepalivePacket(srcAddress = TEST_ADDRV4MAPPEDV6, dstAddress = TEST_ADDRV6) in testConstructor_afterR() 125 dstAddress = TEST_ADDRV4MAPPEDV6, srcAddress = TEST_ADDRV4MAPPEDV6) in testConstructor_afterR() 126 assertEquals(TEST_ADDRV4, packet1.srcAddress) in testConstructor_afterR() 130 val packet2 = nattKeepalivePacket(srcAddress = TEST_ADDRV6, dstAddress = TEST_ADDRV6) in testConstructor_afterR() 131 assertEquals(TEST_ADDRV6, packet2.srcAddress) in testConstructor_afterR() 144 assertNotEquals(nattKeepalivePacket(srcAddress = TEST_DST_ADDRV4), nattKeepalivePacket()) in testEquals()
|
D | KeepalivePacketDataTest.kt | 47 srcAddress: InetAddress? = TEST_SRC_ADDRV4, in address() 52 ) : KeepalivePacketData(NonNullTestUtils.nullUnsafe(srcAddress), srcPort, in address() 58 TestKeepalivePacketData(srcAddress = null) in address() 94 fun testSrcAddress() = assertEquals(TEST_SRC_ADDRV4, TestKeepalivePacketData().srcAddress)
|
D | TcpKeepalivePacketDataTest.kt | 35 srcAddress: InetAddress = parseNumericAddress("192.0.2.123"), in <lambda>() 46 ) = TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data, tcpSeq, tcpAck, in <lambda>() 59 assertNotEquals(makeData(srcAddress = parseNumericAddress("192.0.2.124")), makeData()) in <lambda>() 85 assertTrue(str.contains(data.srcAddress.hostAddress)) in <lambda>()
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/ |
D | KeepalivePacketDataUtil.java | 53 final InetAddress srcAddress = pkt.getSrcAddress(); in toStableParcelable() local 55 parcel.srcAddress = srcAddress.getAddress(); in toStableParcelable() 69 final InetAddress srcAddress = pkt.getSrcAddress(); in toStableParcelable() local 71 parcel.srcAddress = srcAddress.getAddress(); in toStableParcelable() 134 p.srcAddress = data.getSrcAddress().getAddress(); in parseTcpKeepalivePacketData()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | KeepalivePacketDataUtilTest.java | 74 testInfo.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testFromTcpKeepaliveStableParcelable() 90 assertEquals(InetAddress.getByAddress(testInfo.srcAddress), resultData.getSrcAddress()); in testFromTcpKeepaliveStableParcelable() 147 testInfo.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testToTcpKeepaliveStableParcelable() 161 assertArrayEquals(resultData.srcAddress, IPV4_KEEPALIVE_SRC_ADDR); in testToTcpKeepaliveStableParcelable() 184 testParcel.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testParseTcpKeepalivePacketData()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 153 if ((tcpDetails.srcAddress != null) && (tcpDetails.dstAddress != null) in fromStableParcelable() 154 && (tcpDetails.srcAddress.length == 4 /* V4 IP length */) in fromStableParcelable() 162 InetAddress.getByAddress(tcpDetails.srcAddress), in fromStableParcelable() 192 buf.put(tcpDetails.srcAddress); in buildV4Packet() 235 tcpDetails.srcAddress = getAddress((InetSocketAddress) srcSockAddr); in switchToRepairMode() 290 if (tcpDetails.srcAddress.length == 4 /* V4 address length */) { in switchToRepairMode()
|
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/ |
D | BorderRoutingTest.java | 671 private byte[] pollForPacketOnInfraNetwork(int type, Inet6Address srcAddress) { in pollForPacketOnInfraNetwork() argument 672 return pollForPacketOnInfraNetwork(type, srcAddress, null); in pollForPacketOnInfraNetwork() 676 int type, Inet6Address srcAddress, Inet6Address destAddress) { in pollForPacketOnInfraNetwork() argument 681 && (srcAddress == null ? true : isFromIpv6Source(p, srcAddress)) in pollForPacketOnInfraNetwork()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | AutomaticOnOffKeepaliveTrackerTest.java | 436 final InetAddress srcAddress = InetAddress.getByAddress(V4_SRC_ADDR); in doStartNattKeepalive() local 441 mNai.linkProperties.addLinkAddress(new LinkAddress(srcAddress, 24)); in doStartNattKeepalive() 443 final NattKeepalivePacketData kpd = new NattKeepalivePacketData(srcAddress, srcPort, in doStartNattKeepalive() 454 testInfo.socketKeepaliveCallback, srcAddress.toString(), srcPort, in doStartNattKeepalive() 619 final InetAddress srcAddress = InetAddress.getByAddress( in setupTestNaiForClat() local 621 mNai.linkProperties.addLinkAddress(new LinkAddress(srcAddress, 24)); in setupTestNaiForClat() 957 final InetAddress srcAddress = InetAddress.getByAddress( in testStartTcpKeepalive_fdInitiatedStop() local 959 mNai.linkProperties.addLinkAddress(new LinkAddress(srcAddress, 24)); in testStartTcpKeepalive_fdInitiatedStop()
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | LegacyApfFilter.java | 1043 public final byte[] srcAddress; field in LegacyApfFilter.NattKeepaliveResponse.NattKeepaliveResponseData 1049 srcAddress = sentKeepalivePacket.dstAddress; in NattKeepaliveResponseData() 1051 dstAddress = sentKeepalivePacket.srcAddress; in NattKeepaliveResponseData() 1064 mSrcDstAddr = concatArrays(mPacket.srcAddress, mPacket.dstAddress); in NattKeepaliveResponse() 1112 InetAddress.getByAddress(mPacket.srcAddress), mPacket.srcPort), in toString() 1124 public final byte[] srcAddress; field in LegacyApfFilter.TcpKeepaliveAck.TcpKeepaliveAckData 1133 srcAddress = sentKeepalivePacket.dstAddress; in TcpKeepaliveAckData() 1135 dstAddress = sentKeepalivePacket.srcAddress; in TcpKeepaliveAckData() 1167 InetAddress.getByAddress(mPacket.srcAddress), mPacket.srcPort), in toString() 1189 super(packet, concatArrays(packet.srcAddress, packet.dstAddress) /* srcDstAddr */); in TcpKeepaliveAckV4() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 20 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 20 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 3 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 20 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 20 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 20 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 3 byte[] srcAddress;
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaSocket.cpp | 330 struct sockaddr_storage srcAddress; in RetrieveOptionMsg() local 332 struct msghdr hdr = {.msg_name = &srcAddress, in RetrieveOptionMsg() 333 .msg_namelen = sizeof(srcAddress), in RetrieveOptionMsg()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 37 byte[] srcAddress;
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | NattKeepalivePacketDataParcelable.aidl | 21 byte[] srcAddress;
|