/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
H A D | WifiAwareDataPathStateManager.java | 152 getNetworkRequestByNdpId(int ndpId) { argument 155 if (entry.getValue().ndpId == ndpId) { 257 * @param ndpId The ID assigned to the data-path. 259 public void onDataPathInitiateSuccess(WifiAwareNetworkSpecifier networkSpecifier, int ndpId) { argument 262 "onDataPathInitiateSuccess: networkSpecifier=" + networkSpecifier + ", ndpId=" 263 + ndpId); 270 mMgr.endDataPath(ndpId); 279 mMgr.endDataPath(ndpId); 284 nnri.ndpId 327 onDataPathRequest(int pubSubId, byte[] mac, int ndpId) argument 404 onRespondToDataPathRequest(int ndpId, boolean success, int reasonOnFailure) argument 470 onDataPathConfirm(int ndpId, byte[] mac, boolean accept, int reason, byte[] message, List<NanDataPathChannelInfo> channelInfo) argument 567 onDataPathEnd(int ndpId) argument 1015 public int ndpId = 0; // 0 is never a valid ID! field in class:WifiAwareDataPathStateManager.AwareNetworkRequestInformation 1289 configureAgentProperties(AwareNetworkRequestInformation nnri, Set<WifiAwareNetworkSpecifier> networkSpecifiers, int ndpId, NetworkInfo networkInfo, NetworkCapabilities networkCapabilities, LinkProperties linkProperties) argument [all...] |
H A D | WifiAwareNativeApi.java | 957 * @param ndpId The NDP (Aware data path) ID. Obtained from the request callback. 966 public boolean respondToDataPathRequest(short transactionId, boolean accept, int ndpId, argument 971 + accept + ", int ndpId=" + ndpId + ", interfaceName=" + interfaceName); 988 req.ndpInstanceId = ndpId; 1029 * @param ndpId The NDP (Aware data path) ID to be terminated. 1031 public boolean endDataPath(short transactionId, int ndpId) { argument 1033 Log.v(TAG, "endDataPath: transactionId=" + transactionId + ", ndpId=" + ndpId); 1044 WifiStatus status = iface.terminateDataPathRequest(transactionId, ndpId); [all...] |
H A D | WifiAwareStateManager.java | 797 public void respondToDataPathRequest(boolean accept, int ndpId, String interfaceName, argument 801 msg.arg2 = ndpId; 813 public void endDataPath(int ndpId) { argument 816 msg.arg2 = ndpId; 966 public void onInitiateDataPathResponseSuccess(short transactionId, int ndpId) { argument 970 msg.obj = ndpId; 1122 public void onDataPathRequestNotification(int pubSubId, byte[] mac, int ndpId) { argument 1126 msg.obj = ndpId; 1135 public void onDataPathConfirmNotification(int ndpId, byte[] mac, boolean accept, int reason, argument 1139 msg.arg2 = ndpId; 1152 onDataPathEndNotification(int ndpId) argument 2494 respondToDataPathRequestLocal(short transactionId, boolean accept, int ndpId, String interfaceName, byte[] pmk, String passphrase, boolean isOutOfBand) argument 2512 endDataPathLocal(short transactionId, int ndpId) argument 2897 onInitiateDataPathResponseSuccessLocal(Message command, int ndpId) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | TestUtils.java | 111 public boolean respondToDataPathRequest(short transactionId, boolean accept, int ndpId, argument 118 public boolean endDataPath(short transactionId, int ndpId) { argument
|
H A D | WifiAwareDataPathStateManagerTest.java | 314 final int ndpId = 3; 345 mDut.onDataPathRequestNotification(pubSubId, peerDiscoveryMac, ndpId); 350 eq(ndpId), eq(""), eq(null), eq(null), eq(false), any()); 372 final int ndpId = 2; 419 mDut.onInitiateDataPathResponseSuccess(transactionId.getValue(), ndpId + i); 423 mDut.onDataPathConfirmNotification(ndpId + i, peerDataPathMac, true, 0, null, null); 452 inOrder.verify(mMockNative).endDataPath(transactionId.capture(), eq(ndpId + i)); 455 mDut.onDataPathEndNotification(ndpId + i); 476 final int ndpId = 5; 524 mDut.onInitiateDataPathResponseSuccess(transactionId.getValue(), ndpId); [all...] |