Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java1032 byte pubSubId) { in onSessionConfigSuccessResponse() argument
1036 msg.obj = pubSubId; in onSessionConfigSuccessResponse()
1199 public void onMatchNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchNotification() argument
1203 msg.arg2 = pubSubId; in onMatchNotification()
1217 public void onMatchExpiredNotification(int pubSubId, int requestorInstanceId) { in onMatchExpiredNotification() argument
1220 msg.arg2 = pubSubId; in onMatchExpiredNotification()
1229 public void onSessionTerminatedNotification(int pubSubId, int reason, boolean isPublish) { in onSessionTerminatedNotification() argument
1232 msg.arg2 = pubSubId; in onSessionTerminatedNotification()
1242 public void onMessageReceivedNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceivedNotification() argument
1246 msg.arg2 = pubSubId; in onMessageReceivedNotification()
[all …]
DWifiAwareDiscoverySessionState.java72 byte pubSubId, IWifiAwareDiscoverySessionCallback callback, boolean isPublishSession, in WifiAwareDiscoverySessionState() argument
76 mPubSubId = pubSubId; in WifiAwareDiscoverySessionState()
153 public boolean isPubSubIdSession(int pubSubId) { in isPubSubIdSession() argument
154 return mPubSubId == pubSubId; in isPubSubIdSession()
DWifiAwareDataPathStateManager.java380 public boolean onDataPathRequest(int pubSubId, byte[] mac, int ndpId, in onDataPathRequest() argument
384 "onDataPathRequest: pubSubId=" + pubSubId + ", mac=" + String.valueOf( in onDataPathRequest()
434 if (requestInfo.pubSubId != 0 && requestInfo.pubSubId != pubSubId) { in onDataPathRequest()
461 Log.w(TAG, "onDataPathRequest: can't find a request with specified pubSubId=" + pubSubId in onDataPathRequest()
1312 public int pubSubId = 0; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation
1382 int uid, pubSubId = 0; in processNetworkSpecifier() local
1479 pubSubId = session.getPubSubId(); in processNetworkSpecifier()
1532 nnri.pubSubId = pubSubId; in processNetworkSpecifier()
1548 ", pubSubId=").append(pubSubId).append(", specifiedPeerInstanceId=").append( in toString()
DWifiAwareNativeApi.java836 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument
840 "sendMessage: transactionId=" + transactionId + ", pubSubId=" + pubSubId in sendMessage()
856 req.discoverySessionId = pubSubId; in sendMessage()
886 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument
888 Log.d(TAG, "stopPublish: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopPublish()
899 WifiStatus status = iface.stopPublishRequest(transactionId, pubSubId); in stopPublish()
920 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument
922 Log.d(TAG, "stopSubscribe: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopSubscribe()
933 WifiStatus status = iface.stopSubscribeRequest(transactionId, pubSubId); in stopSubscribe()
DWifiAwareClientState.java147 public WifiAwareDiscoverySessionState getAwareSessionStateForPubSubId(int pubSubId) { in getAwareSessionStateForPubSubId() argument
150 if (session.isPubSubIdSession(pubSubId)) { in getAwareSessionStateForPubSubId()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java289 final byte pubSubId = 55; in testDataPathWithPortInfoOnPublisher()
299 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoOnPublisher()
315 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId, null); in testDataPathWithPortInfoOnPublisher()
329 final byte pubSubId = 55; in testDataPathWithPortInfoInvalidPort()
338 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoInvalidPort()
364 final byte pubSubId = 55; in testDataPathWithPortInfoButNoSecurityOnSubscriber()
372 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoButNoSecurityOnSubscriber()
399 final byte pubSubId = 55; in testDestroyNdiDuringNdpSetupResponder()
410 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDestroyNdiDuringNdpSetupResponder()
435 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId, null); in testDestroyNdiDuringNdpSetupResponder()
[all …]
DTestUtils.java73 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument
79 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument
84 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument
DWifiAwareStateManagerTest.java2615 public boolean answer(short transactionId, byte pubSubId, int requestorInstanceId, in answer() argument
3045 final byte pubSubId = 125; in testInvalidCallbackIdParameters()
3083 mDut.onSessionConfigSuccessResponse(transactionIdConfig, true, pubSubId); in testInvalidCallbackIdParameters()
3084 mDut.onSessionConfigSuccessResponse(transactionIdConfig, false, pubSubId); in testInvalidCallbackIdParameters()