/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 73 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
|
D | WifiAwareDataPathStateManagerTest.java | 283 final byte pubSubId = 55; in testDataPathPmkWithoutPermission() 295 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathPmkWithoutPermission() 320 final byte pubSubId = 55; in testDataPathWithPortInfoOnPublisher() 330 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoOnPublisher() 345 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId, null); in testDataPathWithPortInfoOnPublisher() 359 final byte pubSubId = 55; in testDataPathWithPortInfoInvalidPort() 368 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoInvalidPort() 393 final byte pubSubId = 55; in testDataPathWithPortInfoButNoSecurityOnSubscriber() 401 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoButNoSecurityOnSubscriber() 427 final byte pubSubId = 55; in testDestroyNdiDuringNdpSetupResponder() [all …]
|
D | WifiAwareStateManagerTest.java | 2419 public boolean answer(short transactionId, byte pubSubId, int requestorInstanceId, in answer() argument 2836 final byte pubSubId = 125; in testInvalidCallbackIdParameters() 2875 mDut.onSessionConfigSuccessResponse(transactionIdConfig, true, pubSubId); in testInvalidCallbackIdParameters() 2876 mDut.onSessionConfigSuccessResponse(transactionIdConfig, false, pubSubId); in testInvalidCallbackIdParameters()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 74 byte pubSubId, IWifiAwareDiscoverySessionCallback callback, boolean isPublishSession, in WifiAwareDiscoverySessionState() argument 78 mPubSubId = pubSubId; in WifiAwareDiscoverySessionState() 138 public boolean isPubSubIdSession(int pubSubId) { in isPubSubIdSession() argument 139 return mPubSubId == pubSubId; in isPubSubIdSession()
|
D | WifiAwareStateManager.java | 885 byte pubSubId) { in onSessionConfigSuccessResponse() argument 889 msg.obj = pubSubId; in onSessionConfigSuccessResponse() 1052 public void onMatchNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchNotification() argument 1056 msg.arg2 = pubSubId; in onMatchNotification() 1070 public void onSessionTerminatedNotification(int pubSubId, int reason, boolean isPublish) { in onSessionTerminatedNotification() argument 1073 msg.arg2 = pubSubId; in onSessionTerminatedNotification() 1083 public void onMessageReceivedNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceivedNotification() argument 1087 msg.arg2 = pubSubId; in onMessageReceivedNotification() 1129 public void onDataPathRequestNotification(int pubSubId, byte[] mac, int ndpId, byte[] message) { in onDataPathRequestNotification() argument 1132 msg.arg2 = pubSubId; in onDataPathRequestNotification() [all …]
|
D | WifiAwareNativeApi.java | 695 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 699 "sendMessage: transactionId=" + transactionId + ", pubSubId=" + pubSubId in sendMessage() 715 req.discoverySessionId = pubSubId; in sendMessage() 745 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 747 Log.d(TAG, "stopPublish: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopPublish() 758 WifiStatus status = iface.stopPublishRequest(transactionId, pubSubId); in stopPublish() 779 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 781 Log.d(TAG, "stopSubscribe: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopSubscribe() 792 WifiStatus status = iface.stopSubscribeRequest(transactionId, pubSubId); in stopSubscribe()
|
D | WifiAwareDataPathStateManager.java | 346 public WifiAwareNetworkSpecifier onDataPathRequest(int pubSubId, byte[] mac, int ndpId, in onDataPathRequest() argument 350 "onDataPathRequest: pubSubId=" + pubSubId + ", mac=" + String.valueOf( in onDataPathRequest() 367 if (entry.getValue().pubSubId != 0 && entry.getValue().pubSubId != pubSubId) { in onDataPathRequest() 416 Log.w(TAG, "onDataPathRequest: can't find a request with specified pubSubId=" + pubSubId in onDataPathRequest() 1168 public int pubSubId = 0; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1236 int uid, pubSubId = 0; in processNetworkSpecifier() local 1332 pubSubId = session.getPubSubId(); in processNetworkSpecifier() 1392 nnri.pubSubId = pubSubId; in processNetworkSpecifier() 1406 ", pubSubId=").append(pubSubId).append(", peerInstanceId=").append( in toString()
|
D | WifiAwareClientState.java | 136 public WifiAwareDiscoverySessionState getAwareSessionStateForPubSubId(int pubSubId) { in getAwareSessionStateForPubSubId() argument 139 if (session.isPubSubIdSession(pubSubId)) { in getAwareSessionStateForPubSubId()
|