Home
last modified time | relevance | path

Searched refs:mPsk (Results 1 – 6 of 6) sorted by relevance

/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1148 @NonNull public final byte[] mPsk; field in IkeSessionParams.IkeAuthPskConfig
1154 mPsk = psk; in IkeAuthPskConfig()
1182 result.putPersistableBundle(PSK_KEY, PersistableBundleUtils.fromByteArray(mPsk)); in toPersistableBundle()
1189 return Arrays.copyOf(mPsk, mPsk.length); in getPsk()
1194 return Objects.hash(super.hashCode(), Arrays.hashCode(mPsk)); in hashCode()
1203 return Arrays.equals(mPsk, ((IkeAuthPskConfig) o).mPsk); in equals()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java418 private byte[] mPsk; field in IkeSessionStateMachineTest
807 mPsk = TestUtils.hexStringToByteArray(PSK_HEX_STRING); in setUp()
832 mIkeSessionStateMachine = makeAndStartIkeSession(buildIkeSessionParamsPsk(mPsk)); in setUp()
1064 return buildIkeSessionParamsCommon().setAuthPsk(mPsk).build(); in buildIkeSessionParams()
1107 .setAuthPsk(mPsk) in buildIkeSessionParamsIke3gppExtension()
1114 IkeSessionParams.Builder builder = buildIkeSessionParamsCommon().setAuthPsk(mPsk); in buildIkeSessionParamsWithIkeOptions()
1638 .setAuthPsk(mPsk) in setupAndVerifyDnsResolutionForIkeSession()
2003 .setAuthPsk(mPsk) in testCreateIkeLocalIkeInitWithoutIpv6NatD()
3019 eq(mPsk), in verifySharedKeyAuthentication()
3766 callback.onSuccess(mPsk, new byte[0], eapInfo); // use mPsk as MSK, eMSK does not matter in testCreateIkeLocalIkeAuthInEapHandlesSuccess()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkHalAidlImpl.java133 private byte[] mPsk; field in SupplicantStaNetworkHalAidlImpl
274 } else if (getPsk() && !ArrayUtils.isEmpty(mPsk)) { in loadWifiConfiguration()
275 config.preSharedKey = NativeUtil.hexStringFromByteArray(mPsk); in loadWifiConfiguration()
2516 mPsk = mISupplicantStaNetwork.getPsk(); in getPsk()
DSupplicantStaNetworkHalHidlImpl.java116 private byte[] mPsk; field in SupplicantStaNetworkHalHidlImpl
241 } else if (getPsk() && !ArrayUtils.isEmpty(mPsk)) { in loadWifiConfiguration()
242 config.preSharedKey = NativeUtil.hexStringFromByteArray(mPsk); in loadWifiConfiguration()
2685 this.mPsk = pskValue; in getPsk()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java189 assertArrayEquals(PSK, ((IkeAuthPskConfig) localConfig).mPsk); in verifyAuthPskConfig()
194 assertArrayEquals(PSK, ((IkeAuthPskConfig) remoteConfig).mPsk); in verifyAuthPskConfig()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachine.java4241 ((IkeAuthPskConfig) authConfig).mPsk, in buildIkeAuthReq()
4402 ((IkeAuthPskConfig) mIkeSessionParams.getRemoteAuthConfig()).mPsk, in authenticate()