Home
last modified time | relevance | path

Searched refs:srcAddress (Results 1 – 25 of 49) sorted by relevance

12

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
H A DSupplicantP2pIfaceCallbackV1_4Impl.java102 mCallbackV10.onDeviceFound(srcAddress, p2pDeviceAddress, primaryDeviceType, in onDeviceFound()
129 public void onGoNegotiationRequest(byte[] srcAddress, short passwordId) { in onGoNegotiationRequest() argument
130 mCallbackV10.onGoNegotiationRequest(srcAddress, passwordId); in onGoNegotiationRequest()
196 public void onInvitationReceived(byte[] srcAddress, byte[] goDeviceAddress, in onInvitationReceived() argument
198 mCallbackV10.onInvitationReceived(srcAddress, goDeviceAddress, bssid, in onInvitationReceived()
238 mCallbackV10.onServiceDiscoveryResponse(srcAddress, updateIndicator, tlvs); in onServiceDiscoveryResponse()
247 public void onStaAuthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaAuthorized() argument
248 mCallbackV10.onStaAuthorized(srcAddress, p2pDeviceAddress); in onStaAuthorized()
257 public void onStaDeauthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaDeauthorized() argument
258 mCallbackV10.onStaDeauthorized(srcAddress, p2pDeviceAddress); in onStaDeauthorized()
[all …]
H A DSupplicantP2pIfaceCallbackImpl.java182 public void onGoNegotiationRequest(byte[] srcAddress, short passwordId) { in onGoNegotiationRequest() argument
186 config.deviceAddress = NativeUtil.macAddressFromByteArray(srcAddress); in onGoNegotiationRequest()
341 public void onInvitationReceived(byte[] srcAddress, byte[] goDeviceAddress, in onInvitationReceived() argument
349 client.deviceAddress = NativeUtil.macAddressFromByteArray(srcAddress); in onInvitationReceived()
452 public void onServiceDiscoveryResponse(byte[] srcAddress, short updateIndicator, in onServiceDiscoveryResponse() argument
458 String srcAddressStr = NativeUtil.macAddressFromByteArray(srcAddress); in onServiceDiscoveryResponse()
477 deviceAddressBytes = srcAddress; in createStaEventDevice()
494 public void onStaAuthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaAuthorized() argument
496 WifiP2pDevice device = createStaEventDevice(srcAddress, p2pDeviceAddress); in onStaAuthorized()
510 public void onStaDeauthorized(byte[] srcAddress, byte[] p2pDeviceAddress) { in onStaDeauthorized() argument
[all …]
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DNattKeepalivePacketData.java45 public NattKeepalivePacketData(@NonNull InetAddress srcAddress, int srcPort, in NattKeepalivePacketData() argument
48 super(srcAddress, srcPort, dstAddress, dstPort, data); in NattKeepalivePacketData()
56 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument
59 if (!(srcAddress instanceof Inet4Address) || !(dstAddress instanceof Inet4Address)) { in nattKeepalivePacket()
77 buf.put(srcAddress.getAddress()); in nattKeepalivePacket()
88 return new NattKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket()
108 final InetAddress srcAddress =
115 return NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort,
132 final InetAddress srcAddress = getSrcAddress(); in equals() local
134 return srcAddress.equals(other.getSrcAddress()) in equals()
H A DTcpKeepalivePacketData.java70 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()
H A DKeepalivePacketData.java65 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()
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/util/
H A DKeepalivePacketDataUtil.java61 final InetAddress srcAddress = pkt.getSrcAddress(); in toStableParcelable() local
63 parcel.srcAddress = srcAddress.getAddress(); in toStableParcelable()
77 final InetAddress srcAddress = pkt.getSrcAddress(); in toStableParcelable() local
79 parcel.srcAddress = srcAddress.getAddress(); in toStableParcelable()
100 if ((tcpDetails.srcAddress != null) && (tcpDetails.dstAddress != null) in fromStableParcelable()
101 && (tcpDetails.srcAddress.length == 4 /* V4 IP length */) in fromStableParcelable()
109 InetAddress.getByAddress(tcpDetails.srcAddress), in fromStableParcelable()
139 buf.put(tcpDetails.srcAddress); in buildV4Packet()
209 p.srcAddress = data.getSrcAddress().getAddress(); in parseTcpKeepalivePacketData()
/aosp12/hardware/interfaces/wifi/supplicant/1.0/
H A DISupplicantP2pIfaceCallback.hal89 * @param srcAddress MAC address of the device found. This must either
105 MacAddress srcAddress, MacAddress p2pDeviceAddress,
125 * @param srcAddress MAC address of the device that initiated the GO
130 MacAddress srcAddress, WpsDevPasswordId passwordId);
179 * @param srcAddress MAC address of the device that sent the invitation.
186 MacAddress srcAddress, MacAddress goDeviceAddress, Bssid bssid,
219 MacAddress srcAddress, uint16_t updateIndicator, vec<uint8_t> tlvs);
224 * @param srcAddress MAC address of the device that was authorized.
227 oneway onStaAuthorized(MacAddress srcAddress, MacAddress p2pDeviceAddress);
232 * @param srcAddress MAC address of the device that was deauthorized.
[all …]
/aosp12/packages/modules/Connectivity/tests/common/java/android/net/
H A DKeepalivePacketDataTest.kt53 srcAddress: InetAddress? = TEST_SRC_ADDRV4,
58 ) : KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data)
66 data = TestKeepalivePacketData(srcAddress = null)
103 fun testSrcAddress() = assertEquals(TEST_SRC_ADDRV4, TestKeepalivePacketData().srcAddress)
H A DNattKeepalivePacketDataTest.kt56 srcAddress: InetAddress? = TEST_SRC_ADDRV4,
60 ) = NattKeepalivePacketData.nattKeepalivePacket(srcAddress, srcPort, dstAddress, dstPort)
72 nattKeepalivePacket(srcAddress = TEST_ADDRV6)
102 assertNotEquals(nattKeepalivePacket(srcAddress = TEST_DST_ADDRV4), nattKeepalivePacket())
H A DTcpKeepalivePacketDataTest.kt35 srcAddress: InetAddress = parseNumericAddress("192.0.2.123"),
46 ) = TcpKeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, data, tcpSeq, tcpAck,
59 assertNotEquals(makeData(srcAddress = parseNumericAddress("192.0.2.124")), makeData())
85 assertTrue(str.contains(data.srcAddress.hostAddress))
/aosp12/packages/modules/Connectivity/tests/unit/java/android/net/
H A DKeepalivePacketDataUtilTest.java73 testInfo.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testFromTcpKeepaliveStableParcelable()
89 assertEquals(InetAddress.getByAddress(testInfo.srcAddress), resultData.getSrcAddress()); in testFromTcpKeepaliveStableParcelable()
146 testInfo.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testToTcpKeepaliveStableParcelable()
160 assertArrayEquals(resultData.srcAddress, IPV4_KEEPALIVE_SRC_ADDR); in testToTcpKeepaliveStableParcelable()
189 testParcel.srcAddress = IPV4_KEEPALIVE_SRC_ADDR; in testParseTcpKeepalivePacketData()
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java667 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { in handleIncomingCecCommand() argument
669 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); in handleIncomingCecCommand()
674 incomingMessageDirection(srcAddress, dstAddress), getCallingUid()); in handleIncomingCecCommand()
683 private int incomingMessageDirection(int srcAddress, int dstAddress) { in incomingMessageDirection() argument
688 if (logicalAddress == srcAddress) { in incomingMessageDirection()
747 int nativeSendCecCommand(int srcAddress, int dstAddress, byte[] body); in nativeSendCecCommand() argument
820 public int nativeSendCecCommand(int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument
823 message.initiator = srcAddress; in nativeSendCecCommand()
987 public int nativeSendCecCommand(int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument
989 message.initiator = srcAddress; in nativeSendCecCommand()
/aosp12/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiClient.java121 public void onReceived(int srcAddress, int destAddress, byte[] params, in getListenerWrapper()
123 listener.onReceived(srcAddress, destAddress, params, hasVendorId); in getListenerWrapper()
/aosp12/packages/modules/NetworkStack/src/android/net/apf/
H A DApfFilter.java964 public final byte[] srcAddress; field in ApfFilter.NattKeepaliveResponse.NattKeepaliveResponseData
970 srcAddress = sentKeepalivePacket.dstAddress; in NattKeepaliveResponseData()
972 dstAddress = sentKeepalivePacket.srcAddress; in NattKeepaliveResponseData()
985 mSrcDstAddr = concatArrays(mPacket.srcAddress, mPacket.dstAddress); in NattKeepaliveResponse()
1032 InetAddress.getByAddress(mPacket.srcAddress), mPacket.srcPort), in toString()
1044 public final byte[] srcAddress; field in ApfFilter.TcpKeepaliveAck.TcpKeepaliveAckData
1053 srcAddress = sentKeepalivePacket.dstAddress; in TcpKeepaliveAckData()
1055 dstAddress = sentKeepalivePacket.srcAddress; in TcpKeepaliveAckData()
1087 InetAddress.getByAddress(mPacket.srcAddress), mPacket.srcPort), in toString()
1880 final int ipVersion = sentKeepalivePacket.srcAddress.length == 4 ? 4 : 6; in addTcpKeepalivePacketFilter()
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
H A DFakeNativeWrapper.java75 int srcAddress, int dstAddress, byte[] body) { in nativeSendCecCommand() argument
79 HdmiCecMessage message = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); in nativeSendCecCommand()
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
H A DNattKeepalivePacketDataParcelable.aidl20 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
H A DNattKeepalivePacketDataParcelable.aidl20 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
H A DNattKeepalivePacketDataParcelable.aidl20 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
H A DNattKeepalivePacketDataParcelable.aidl3 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
H A DNattKeepalivePacketDataParcelable.aidl20 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
H A DNattKeepalivePacketDataParcelable.aidl3 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
H A DNattKeepalivePacketDataParcelable.aidl20 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/
H A DNattKeepalivePacketDataParcelable.aidl21 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/current/android/net/
H A DNattKeepalivePacketDataParcelable.aidl22 byte[] srcAddress;
/aosp12/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
H A DNattKeepalivePacketDataParcelable.aidl21 byte[] srcAddress;

12