Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanNative.java239 int pubSubId, int requestorInstanceId, byte[] dest, byte[] message, int messageLength); in sendMessageNative() argument
241 public void sendMessage(short transactionId, int pubSubId, int requestorInstanceId, byte[] dest, in sendMessage() argument
247 "sendMessage: transactionId=" + transactionId + ", pubSubId=" + pubSubId in sendMessage()
257 pubSubId, requestorInstanceId, dest, message, messageLength); in sendMessage()
270 int pubSubId); in stopPublishNative() argument
272 public void stopPublish(short transactionId, int pubSubId) { in stopPublish() argument
276 Log.d(TAG, "stopPublish: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopPublish()
283 pubSubId); in stopPublish()
296 int pubSubId); in stopSubscribeNative() argument
298 public void stopSubscribe(short transactionId, int pubSubId) { in stopSubscribe() argument
[all …]
DWifiNanStateManager.java292 public void onMatch(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatch() argument
296 msg.arg1 = pubSubId; in onMatch()
322 public void onMessageReceived(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceived() argument
325 msg.arg1 = pubSubId; in onMessageReceived()
489 int pubSubId = msg.arg1; in handleMessage() local
498 onMatchLocal(pubSubId, requestorInstanceId, peerMac, serviceSpecificInfo, in handleMessage()
503 int pubSubId = msg.arg1; in handleMessage() local
508 onMessageReceivedLocal(pubSubId, requestorInstanceId, peerMac, message, in handleMessage()
607 private WifiNanSessionState getNanSessionStateForPubSubId(int pubSubId) { in getNanSessionStateForPubSubId() argument
610 .getNanSessionStateForPubSubId(pubSubId); in getNanSessionStateForPubSubId()
[all …]
DWifiNanClientState.java72 public WifiNanSessionState getNanSessionStateForPubSubId(int pubSubId) { in getNanSessionStateForPubSubId() argument
75 if (session.isPubSubIdSession(pubSubId)) { in getNanSessionStateForPubSubId()
DWifiNanSessionState.java72 public boolean isPubSubIdSession(int pubSubId) { in isPubSubIdSession() argument
73 return mPubSubIdValid && mPubSubId == pubSubId; in isPubSubIdSession()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanHalTest.java223 final int pubSubId = 22; in testSendMessage() local
228 mDut.sendMessage(transactionId, pubSubId, reqInstanceId, peer, msg.getBytes(), in testSendMessage()
236 equalTo(pubSubId)); in testSendMessage()
511 final int pubSubId = 236; in testFollowup() local
517 args.putInt("publish_subscribe_id", pubSubId); in testFollowup()
526 verify(mNanStateManager).onMessageReceived(pubSubId, reqInstanceId, peer, in testFollowup()
532 final int pubSubId = 287; in testMatch() local
539 args.putInt("publish_subscribe_id", pubSubId); in testMatch()
549 verify(mNanStateManager).onMatch(pubSubId, reqInstanceId, peer, ssi.getBytes(), in testMatch()