/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 104 public final byte[] peerMac; field in WifiAwareNetworkSpecifier 159 byte[] peerMac, byte[] pmk, String passphrase, int port, int transportProtocol, in WifiAwareNetworkSpecifier() argument 166 this.peerMac = peerMac; in WifiAwareNetworkSpecifier() 220 dest.writeByteArray(peerMac); in writeToParcel() 241 return Objects.hash(type, role, clientId, sessionId, peerId, Arrays.hashCode(peerMac), in hashCode() 263 && Arrays.equals(peerMac, lhs.peerMac) in equals() 281 .append(", peerMac=").append((peerMac == null) ? "<null>" : "<non-null>") in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 257 public void onMatch(int requestorInstanceId, byte[] peerMac, byte[] serviceSpecificInfo, in onMatch() argument 259 int peerId = getPeerIdOrAddIfNew(requestorInstanceId, peerMac); in onMatch() 282 public void onMessageReceived(int requestorInstanceId, byte[] peerMac, byte[] message) { in onMessageReceived() argument 283 int peerId = getPeerIdOrAddIfNew(requestorInstanceId, peerMac); in onMessageReceived() 292 private int getPeerIdOrAddIfNew(int requestorInstanceId, byte[] peerMac) { in getPeerIdOrAddIfNew() argument 295 if (peerInfo.mInstanceId == requestorInstanceId && Arrays.equals(peerMac, in getPeerIdOrAddIfNew() 302 PeerInfo newPeerInfo = new PeerInfo(requestorInstanceId, peerMac); in getPeerIdOrAddIfNew()
|
D | WifiAwareDataPathStateManager.java | 735 public void onDataPathSchedUpdate(byte[] peerMac, List<Integer> ndpIds, in onDataPathSchedUpdate() argument 738 Log.v(TAG, "onDataPathSchedUpdate: peerMac=" + MacAddress.fromBytes(peerMac).toString() in onDataPathSchedUpdate() 749 if (!Arrays.equals(peerMac, nnriE.getValue().peerDiscoveryMac)) { in onDataPathSchedUpdate() 751 + MacAddress.fromBytes(peerMac).toString() + " doesn't match NDP NMI=" in onDataPathSchedUpdate() 1238 byte[] peerMac = ns.peerMac; in processNetworkSpecifier() 1343 peerMac = peerInfo.mMac; in processNetworkSpecifier() 1344 if (peerMac == null || peerMac.length != 6) { in processNetworkSpecifier() 1394 nnri.peerDiscoveryMac = peerMac; in processNetworkSpecifier()
|
D | WifiAwareStateManager.java | 1052 public void onMatchNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchNotification() argument 1058 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS, peerMac); in onMatchNotification() 1083 public void onMessageReceivedNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceivedNotification() argument 1089 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS, peerMac); in onMessageReceivedNotification() 1171 public void onDataPathScheduleUpdateNotification(byte[] peerMac, ArrayList<Integer> ndpIds, in onDataPathScheduleUpdateNotification() argument 1175 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS, peerMac); in onDataPathScheduleUpdateNotification() 1378 byte[] peerMac = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS); in processNotification() 1385 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in processNotification() 1400 byte[] peerMac = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS); in processNotification() 1403 onMessageReceivedLocal(pubSubId, requestorInstanceId, peerMac, message); in processNotification() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareStateManagerTest.java | 1358 final byte[] peerMac = HexEncoding.decode("060708090A0B".toCharArray(), false); in testMatchAndMessages() 1415 mDut.onMatchNotification(subscribeId, requestorId, peerMac, peerSsi.getBytes(), in testMatchAndMessages() 1423 mDut.onMatchNotification(subscribeId, requestorId, peerMac, peerSsi.getBytes(), in testMatchAndMessages() 1434 mDut.onMessageReceivedNotification(subscribeId, requestorId, peerMac, peerMsg.getBytes()); in testMatchAndMessages() 1444 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(messageId)); in testMatchAndMessages() 1454 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(messageId2)); in testMatchAndMessages() 1690 final byte[] peerMac = HexEncoding.decode("060708090A0B".toCharArray(), false); in testSendMessageToInvalidPeerId() 1727 mDut.onMatchNotification(subscribeId, requestorId, peerMac, peerSsi.getBytes(), in testSendMessageToInvalidPeerId() 1759 final byte[] peerMac = HexEncoding.decode("060708090A0B".toCharArray(), false); in testSendMessageErrorsImmediateQueueTimeout() 1796 mDut.onMatchNotification(subscribeId, requestorId, peerMac, peerSsi.getBytes(), in testSendMessageErrorsImmediateQueueTimeout() [all …]
|
D | WifiAwareDataPathStateManagerTest.java | 1197 ns.peerMac, in testDataPathInitiatorResponderMismatchUtility() 1256 ns.peerMac, in testDataPathInitiatorResponderInvalidUidUtility()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 1072 collector.checkThat("peer_mac", someMac, equalTo(ns.peerMac)); in testNetworkSpecifierDirect() 1080 collector.checkThat("peer_mac", someMac, equalTo(ns.peerMac)); in testNetworkSpecifierDirect() 1090 collector.checkThat("peer_mac", someMac, equalTo(ns.peerMac)); in testNetworkSpecifierDirect()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 45847 Landroid/net/wifi/aware/WifiAwareNetworkSpecifier;->peerMac:[B
|