Searched refs:mPsk (Results 1 – 5 of 5) sorted by relevance
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ |
D | IkeSessionParams.java | 790 @NonNull public final byte[] mPsk; field in IkeSessionParams.IkeAuthPskConfig 796 mPsk = psk; in IkeAuthPskConfig() 824 result.putPersistableBundle(PSK_KEY, PersistableBundleUtils.fromByteArray(mPsk)); in toPersistableBundle() 831 return Arrays.copyOf(mPsk, mPsk.length); in getPsk() 836 return Objects.hash(super.hashCode(), Arrays.hashCode(mPsk)); in hashCode() 845 return Arrays.equals(mPsk, ((IkeAuthPskConfig) o).mPsk); in equals()
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 387 private byte[] mPsk; field in IkeSessionStateMachineTest 806 mPsk = TestUtils.hexStringToByteArray(PSK_HEX_STRING); in setUp() 838 mIkeSessionStateMachine = makeAndStartIkeSession(buildIkeSessionParamsPsk(mPsk)); in setUp() 976 return buildIkeSessionParamsCommon().setAuthPsk(mPsk).build(); in buildIkeSessionParams() 1002 .setAuthPsk(mPsk) in buildIkeSessionParamsIke3gppExtension() 1009 IkeSessionParams.Builder builder = buildIkeSessionParamsCommon().setAuthPsk(mPsk); in buildIkeSessionParamsWithIkeOptions() 1498 .setAuthPsk(mPsk) in setupAndVerifyDnsResolutionForIkeSession() 1802 .setAuthPsk(mPsk) in testCreateIkeLocalIkeInitWithoutIpv6NatD() 2716 mPsk, in verifySharedKeyAuthentication() 3366 callback.onSuccess(mPsk, new byte[0]); // use mPsk as MSK, eMSK does not matter in testCreateIkeLocalIkeAuthInEapHandlesSuccess() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ |
D | IkeSessionParamsTest.java | 177 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig() 182 assertArrayEquals(PSK, ((IkeAuthPskConfig) remoteConfig).mPsk); in verifyAuthPskConfig()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 115 private byte[] mPsk; field in SupplicantStaNetworkHal 240 } else if (getPsk() && !ArrayUtils.isEmpty(mPsk)) { in loadWifiConfiguration() 241 config.preSharedKey = NativeUtil.hexStringFromByteArray(mPsk); in loadWifiConfiguration() 2663 this.mPsk = pskValue; in getPsk()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachine.java | 3841 ((IkeAuthPskConfig) authConfig).mPsk, in buildIkeAuthReq() 3986 ((IkeAuthPskConfig) mIkeSessionParams.getRemoteAuthConfig()).mPsk, in authenticate()
|