Home
last modified time | relevance | path

Searched refs:requestorInstanceId (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java272 public void onMatch(int requestorInstanceId, byte[] peerMac, byte[] serviceSpecificInfo, in onMatch() argument
274 int peerId = getPeerIdOrAddIfNew(requestorInstanceId, peerMac); in onMatch()
293 public void onMatchExpired(int requestorInstanceId) { in onMatchExpired() argument
297 if (peerInfo.mInstanceId == requestorInstanceId) { in onMatchExpired()
324 public void onMessageReceived(int requestorInstanceId, byte[] peerMac, byte[] message) { in onMessageReceived() argument
325 int peerId = getPeerIdOrAddIfNew(requestorInstanceId, peerMac); in onMessageReceived()
334 private int getPeerIdOrAddIfNew(int requestorInstanceId, byte[] peerMac) { in getPeerIdOrAddIfNew() argument
337 if (peerInfo.mInstanceId == requestorInstanceId && Arrays.equals(peerMac, in getPeerIdOrAddIfNew()
344 PeerInfo newPeerInfo = new PeerInfo(requestorInstanceId, peerMac); in getPeerIdOrAddIfNew()
DWifiAwareStateManager.java1199 public void onMatchNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchNotification() argument
1204 msg.getData().putInt(MESSAGE_BUNDLE_KEY_REQ_INSTANCE_ID, requestorInstanceId); in onMatchNotification()
1217 public void onMatchExpiredNotification(int pubSubId, int requestorInstanceId) { in onMatchExpiredNotification() argument
1221 msg.getData().putInt(MESSAGE_BUNDLE_KEY_REQ_INSTANCE_ID, requestorInstanceId); in onMatchExpiredNotification()
1242 public void onMessageReceivedNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceivedNotification() argument
1247 msg.obj = requestorInstanceId; in onMessageReceivedNotification()
1535 int requestorInstanceId = msg.getData() in processNotification() local
1544 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in processNotification()
1550 int requestorInstanceId = msg.getData() in processNotification() local
1552 onMatchExpiredLocal(pubSubId, requestorInstanceId); in processNotification()
[all …]
DWifiAwareNativeApi.java836 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument
841 + ", requestorInstanceId=" + requestorInstanceId + ", dest=" in sendMessage()
857 req.peerId = requestorInstanceId; in sendMessage()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DTestUtils.java73 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument
DWifiAwareStateManagerTest.java2615 public boolean answer(short transactionId, byte pubSubId, int requestorInstanceId, in answer() argument