Home
last modified time | relevance | path

Searched refs:peerMac (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanSessionState.java112 byte[] peerMac = HexEncoding.decode(peerMacStr.toCharArray(), false); in sendMessage()
114 WifiNanNative.getInstance().sendMessage(transactionId, mPubSubId, peerId, peerMac, message, in sendMessage()
211 public void onMatch(int requestorInstanceId, byte[] peerMac, byte[] serviceSpecificInfo, in onMatch() argument
214 mMacByRequestorInstanceId.put(requestorInstanceId, new String(HexEncoding.encode(peerMac))); in onMatch()
228 public void onMessageReceived(int requestorInstanceId, byte[] peerMac, byte[] message, in onMessageReceived() argument
231 mMacByRequestorInstanceId.put(requestorInstanceId, new String(HexEncoding.encode(peerMac))); in onMessageReceived()
DWifiNanStateManager.java292 public void onMatch(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatch() argument
299 data.putByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS, peerMac); in onMatch()
322 public void onMessageReceived(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceived() argument
328 data.putByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS, peerMac); in onMessageReceived()
491 byte[] peerMac = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS); in handleMessage()
498 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in handleMessage()
505 byte[] peerMac = msg.getData().getByteArray(MESSAGE_BUNDLE_KEY_MAC_ADDRESS); in handleMessage()
508 onMessageReceivedLocal(pubSubId, requestorInstanceId, peerMac, message, in handleMessage()
1071 private void onMatchLocal(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchLocal() argument
1077 + String.valueOf(HexEncoding.encode(peerMac)) + ", serviceSpecificInfoLength=" in onMatchLocal()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanStateManagerTest.java488 final byte[] peerMac = HexEncoding.decode("060708090A0B".toCharArray(), false); in testMatchAndMessages()
523 mDut.onMatch(subscribeId, requestorId, peerMac, peerSsi.getBytes(), peerSsi.length(), in testMatchAndMessages()
525 mDut.onMessageReceived(subscribeId, requestorId, peerMac, peerMsg.getBytes(), in testMatchAndMessages()
539 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(ssi.length())); in testMatchAndMessages()
551 eq(requestorId), eq(peerMac), eq(ssi.getBytes()), eq(ssi.length())); in testMatchAndMessages()