/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | IWifiNanIface.java | 125 boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 136 boolean stopPublish(short transactionId, byte pubSubId); in stopPublish() argument 146 boolean stopSubscribe(short transactionId, byte pubSubId); in stopSubscribe() argument 192 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId); in initiateDataPath() argument 214 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId); in respondToDataPathRequest() argument 284 int method, byte[] cookie, byte pubSubId, boolean isComeBack); in initiateNanBootstrappingRequest() argument 298 boolean accept, byte pubSubId); in respondToNanBootstrappingRequest() argument 311 boolean suspend(short transactionId, byte pubSubId); in suspend() argument 325 boolean resume(short transactionId, byte pubSubId); in resume() argument
|
D | WifiNanIface.java | 410 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 413 () -> mWifiNanIface.sendMessage(transactionId, pubSubId, requestorInstanceId, in sendMessage() 420 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 422 () -> mWifiNanIface.stopPublish(transactionId, pubSubId)); in stopPublish() 428 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 430 () -> mWifiNanIface.stopSubscribe(transactionId, pubSubId)); in stopSubscribe() 456 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in initiateDataPath() argument 460 securityConfig, pubSubId)); in initiateDataPath() 470 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in respondToDataPathRequest() argument 474 pubSubId)); in respondToDataPathRequest() [all …]
|
D | WifiNanIfaceAidlImpl.java | 280 public boolean sendMessage(short transactionId, byte pubSubId, int requesterInstanceId, in sendMessage() argument 287 pubSubId, requesterInstanceId, dest, message); in sendMessage() 303 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 308 mWifiNanIface.stopPublishRequest((char) transactionId, pubSubId); in stopPublish() 323 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 328 mWifiNanIface.stopSubscribeRequest((char) transactionId, pubSubId); in stopSubscribe() 387 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in initiateDataPath() argument 394 appInfo, securityConfig, pubSubId); in initiateDataPath() 413 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in respondToDataPathRequest() argument 421 securityConfig, pubSubId); in respondToDataPathRequest() [all …]
|
D | WifiNanIfaceHidlImpl.java | 160 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 164 () -> sendMessageInternal(methodStr, transactionId, pubSubId, requestorInstanceId, in sendMessage() 171 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 174 () -> stopPublishInternal(methodStr, transactionId, pubSubId)); in stopPublish() 180 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 183 () -> stopSubscribeInternal(methodStr, transactionId, pubSubId)); in stopSubscribe() 211 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in initiateDataPath() argument 225 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in respondToDataPathRequest() argument 262 int method, byte[] cookie, byte pubSubId, boolean isComeBack) { in initiateNanBootstrappingRequest() argument 268 boolean accept, byte pubSubId) { in respondToNanBootstrappingRequest() argument [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 76 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 82 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 87 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 110 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in initiateDataPath() argument 118 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in respondToDataPathRequest() argument 143 boolean accept, byte pubSubId) { in respondToBootstrappingRequest() argument 149 int method, byte[] cookie, byte pubSubId, boolean isComeBack) { in initiateBootstrapping() argument 154 public boolean suspendRequest(short transactionId, byte pubSubId) { in suspendRequest() argument 159 public boolean resumeRequest(short transactionId, byte pubSubId) { in resumeRequest() argument
|
D | WifiAwareDataPathStateManagerTest.java | 336 final byte pubSubId = 55; in testDataPathWithPortInfoOnSubscriber() 345 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoOnSubscriber() 363 any(), eq(pubSubId)); in testDataPathWithPortInfoOnSubscriber() 374 final byte pubSubId = 55; in testDataPathWithPortInfoInvalidPort() 384 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoInvalidPort() 400 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId, null); in testDataPathWithPortInfoInvalidPort() 414 final byte pubSubId = 55; in testDataPathWithPortInfoButNoSecurityOnPublisher() 423 DataPathEndPointInfo res = initDataPathEndPoint(true, clientId, pubSubId, requestorId, in testDataPathWithPortInfoButNoSecurityOnPublisher() 439 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId, null); in testDataPathWithPortInfoButNoSecurityOnPublisher() 454 final byte pubSubId = 55; in testDestroyNdiDuringNdpSetupResponder() [all …]
|
D | WifiAwareStateManagerTest.java | 3050 public boolean answer(short transactionId, byte pubSubId, int requestorInstanceId, in answer() argument 3512 final byte pubSubId = 125; in testInvalidCallbackIdParameters() 3551 mDut.onSessionConfigSuccessResponse(transactionIdConfig, true, pubSubId); in testInvalidCallbackIdParameters() 3552 mDut.onSessionConfigSuccessResponse(transactionIdConfig, false, pubSubId); in testInvalidCallbackIdParameters()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 464 public boolean sendMessage(short transactionId, byte pubSubId, int requestorInstanceId, in sendMessage() argument 468 "sendMessage: transactionId=" + transactionId + ", pubSubId=" + pubSubId in sendMessage() 486 transactionId, pubSubId, requestorInstanceId, destMac, message); in sendMessage() 501 public boolean stopPublish(short transactionId, byte pubSubId) { in stopPublish() argument 503 Log.d(TAG, "stopPublish: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopPublish() 512 return iface.stopPublish(transactionId, pubSubId); in stopPublish() 523 public boolean stopSubscribe(short transactionId, byte pubSubId) { in stopSubscribe() argument 525 Log.d(TAG, "stopSubscribe: transactionId=" + transactionId + ", pubSubId=" + pubSubId); in stopSubscribe() 534 return iface.stopSubscribe(transactionId, pubSubId); in stopSubscribe() 602 WifiAwareDataPathSecurityConfig securityConfig, byte pubSubId) { in initiateDataPath() argument [all …]
|
D | WifiAwareStateManager.java | 1676 byte pubSubId) { in onSessionConfigSuccessResponse() argument 1680 msg.obj = pubSubId; in onSessionConfigSuccessResponse() 1975 public void onMatchNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMatchNotification() argument 1981 msg.arg2 = pubSubId; in onMatchNotification() 2002 public void onMatchExpiredNotification(int pubSubId, int requestorInstanceId) { in onMatchExpiredNotification() argument 2005 msg.arg2 = pubSubId; in onMatchExpiredNotification() 2014 public void onSessionTerminatedNotification(int pubSubId, int reason, boolean isPublish) { in onSessionTerminatedNotification() argument 2017 msg.arg2 = pubSubId; in onSessionTerminatedNotification() 2027 public void onMessageReceivedNotification(int pubSubId, int requestorInstanceId, byte[] peerMac, in onMessageReceivedNotification() argument 2031 msg.arg2 = pubSubId; in onMessageReceivedNotification() [all …]
|
D | WifiAwareDataPathStateManager.java | 388 public boolean onDataPathRequest(int pubSubId, byte[] mac, int ndpId, in onDataPathRequest() argument 391 Log.v(TAG, "onDataPathRequest: pubSubId=" + pubSubId + ", mac=" + String.valueOf( in onDataPathRequest() 441 if (requestInfo.pubSubId != 0 && requestInfo.pubSubId != pubSubId) { in onDataPathRequest() 468 Log.w(TAG, "onDataPathRequest: can't find a request with specified pubSubId=" + pubSubId in onDataPathRequest() 1362 public int pubSubId = 0; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1433 int uid, pubSubId = 0; in processNetworkSpecifier() local 1531 pubSubId = session.getPubSubId(); in processNetworkSpecifier() 1580 nnri.pubSubId = pubSubId; in processNetworkSpecifier() 1596 ", pubSubId=").append(pubSubId).append(", specifiedPeerInstanceId=").append( in toString()
|
D | WifiAwareDiscoverySessionState.java | 94 byte pubSubId, IWifiAwareDiscoverySessionCallback callback, boolean isPublishSession, in WifiAwareDiscoverySessionState() argument 100 mPubSubId = pubSubId; in WifiAwareDiscoverySessionState() 223 public boolean isPubSubIdSession(int pubSubId) { in isPubSubIdSession() argument 224 return mPubSubId == pubSubId; in isPubSubIdSession()
|
D | WifiAwareClientState.java | 173 public WifiAwareDiscoverySessionState getAwareSessionStateForPubSubId(int pubSubId) { in getAwareSessionStateForPubSubId() argument 176 if (session.isPubSubIdSession(pubSubId)) { in getAwareSessionStateForPubSubId()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/ |
D | WifiNanIfaceAidlImplTest.java | 648 byte pubSubId = 1; in validateInitiateDataPath() 675 interfaceName, isOutOfBand, appInfo, TEST_CAPABILITIES, securityConfig, pubSubId)); in validateInitiateDataPath() 687 collector.checkThat("pubSubId", pubSubId, equalTo(nidpr.discoverySessionId)); in validateInitiateDataPath() 727 byte pubSubId = 1; in validateRespondToDataPathRequest() 750 appInfo, isOutOfBand, TEST_CAPABILITIES, securityConfig, pubSubId)); in validateRespondToDataPathRequest() 760 collector.checkThat("pubSubId", pubSubId, equalTo(nrtdpir.discoverySessionId)); in validateRespondToDataPathRequest()
|