/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | WifiAwareNetworkSpecifier.java | 109 public final byte[] pmk; field in WifiAwareNetworkSpecifier 120 byte[] peerMac, byte[] pmk, String passphrase) { in WifiAwareNetworkSpecifier() argument 127 this.pmk = pmk; in WifiAwareNetworkSpecifier() 165 dest.writeByteArray(pmk); in writeToParcel() 187 result = 31 * result + Arrays.hashCode(pmk); in hashCode() 212 && Arrays.equals(pmk, lhs.pmk) in equals() 228 .append(", pmk=").append((pmk == null) ? "<null>" : "<non-null>") in toString()
|
D | WifiAwareSession.java | 309 @WifiAwareManager.DataPathRole int role, @Nullable byte[] peer, @NonNull byte[] pmk) { in createNetworkSpecifierPmk() argument 319 if (pmk == null || pmk.length == 0) { in createNetworkSpecifierPmk() 322 return mgr.createNetworkSpecifier(mClientId, role, peer, pmk, null); in createNetworkSpecifierPmk()
|
D | DiscoverySession.java | 404 @NonNull byte[] pmk) { in createNetworkSpecifierPmk() argument 405 if (pmk == null || pmk.length == 0) { in createNetworkSpecifierPmk() 424 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, pmk, null); in createNetworkSpecifierPmk()
|
D | WifiAwareManager.java | 425 PeerHandle peerHandle, @Nullable byte[] pmk, @Nullable String passphrase) { in createNetworkSpecifier() argument 429 + ", pmk=" + ((pmk == null) ? "null" : "non-null") in createNetworkSpecifier() 455 pmk, in createNetworkSpecifier() 461 @Nullable byte[] peer, @Nullable byte[] pmk, @Nullable String passphrase) { in createNetworkSpecifier() argument 464 + ", pmk=" + ((pmk == null) ? "null" : "non-null") in createNetworkSpecifier() 492 pmk, in createNetworkSpecifier()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 406 final byte[] pmk = "some bytes".getBytes(); in testDataPathInitiatorResponderMismatchUtility() 417 NetworkRequest nr = getSessionNetworkRequest(clientId, res.first, peerHandle, pmk, in testDataPathInitiatorResponderMismatchUtility() 430 ns.pmk, in testDataPathInitiatorResponderMismatchUtility() 463 final byte[] pmk = "some bytes".getBytes(); in testDataPathInitiatorUtility() 487 provideMac ? peerDiscoveryMac : null, providePmk ? pmk : null); in testDataPathInitiatorUtility() 490 providePmk ? pmk : null, false); in testDataPathInitiatorUtility() 502 eq(sAwareInterfacePrefix + "0"), eq(pmk), eq(null), any()); in testDataPathInitiatorUtility() 554 final byte[] pmk = "some bytes".getBytes(); in testDataPathResponderUtility() 572 provideMac ? peerDiscoveryMac : null, providePmk ? pmk : null); in testDataPathResponderUtility() 575 providePmk ? pmk : null, true); in testDataPathResponderUtility() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 607 int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase, in initiateDataPath() argument 634 if (pmk != null && pmk.length != 0) { in initiateDataPath() 638 copyArray(pmk, req.securityConfig.pmk); in initiateDataPath() 676 String interfaceName, byte[] pmk, String passphrase, Capabilities capabilities) { in respondToDataPathRequest() argument 698 if (pmk != null && pmk.length != 0) { in respondToDataPathRequest() 702 copyArray(pmk, req.securityConfig.pmk); in respondToDataPathRequest()
|
D | WifiAwareStateManager.java | 470 int channelRequestType, int channel, byte[] peer, String interfaceName, byte[] pmk, in initiateDataPathSetup() argument 480 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_PMK, pmk); in initiateDataPathSetup() 489 byte[] pmk, String passphrase) { in respondToDataPathRequest() argument 495 msg.getData().putByteArray(MESSAGE_BUNDLE_KEY_PMK, pmk); in respondToDataPathRequest() 1378 byte[] pmk = data.getByteArray(MESSAGE_BUNDLE_KEY_PMK); in processCommand() 1383 interfaceName, pmk, passphrase); in processCommand() 1401 byte[] pmk = data.getByteArray(MESSAGE_BUNDLE_KEY_PMK); in processCommand() 1405 ndpId, interfaceName, pmk, passphrase); in processCommand() 2077 int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase) { in initiateDataPathSetupLocal() argument 2084 + ", interfaceName=" + interfaceName + ", pmk=" + pmk in initiateDataPathSetupLocal() [all …]
|
D | WifiAwareDataPathStateManager.java | 329 mMgr.respondToDataPathRequest(true, ndpId, nnri.interfaceName, nnri.networkSpecifier.pmk, in onDataPathRequest() 643 nnri.peerDiscoveryMac, nnri.interfaceName, nnri.networkSpecifier.pmk, in needNetworkFor()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 941 final byte[] pmk = "Some arbitrary byte array".getBytes(); in testNetworkSpecifierWithClient() 988 peerHandle, pmk); in testNetworkSpecifierWithClient() 995 collector.checkThat("pmk", pmk , equalTo(ns.pmk)); in testNetworkSpecifierWithClient() 1022 final byte[] pmk = "Some arbitrary pmk data".getBytes(); in testNetworkSpecifierDirect() 1052 ns = (WifiAwareNetworkSpecifier) session.createNetworkSpecifierPmk(role, someMac, pmk); in testNetworkSpecifierDirect() 1058 collector.checkThat("pmk", pmk, equalTo(ns.pmk)); in testNetworkSpecifierDirect()
|