Home
last modified time | relevance | path

Searched refs:setAuthPsk (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DIkev2VpnProfileTest.java158 builder.setAuthPsk(PSK_BYTES); in testBuildPresharedKeyProfile()
174 builder.setAuthPsk(PSK_BYTES); in testBuildWithAllowedAlgorithmsAead()
189 builder.setAuthPsk(PSK_BYTES); in testBuildWithAllowedAlgorithmsNormal()
286 builder.setAuthPsk(PSK_BYTES); in testPskConvertToVpnProfile()
341 builder.setAuthPsk(PSK_BYTES); in testPskFromVpnProfileDiscardsIrrelevantValues()
390 builder.setAuthPsk(PSK_BYTES); in testPskConversionIsLossless()
DVpnManagerTest.java124 .setAuthPsk(PSK_BYTES) in getPlatformVpnProfile()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionParamsTest.java191 .setAuthPsk(PSK); in buildWithPskCommon()
268 .setAuthPsk(PSK); in createIkeParamsBuilderMinimum()
575 .setAuthPsk(PSK) in testBuildWithPcscfAddress()
599 .setAuthPsk(PSK) in testBuildWithoutPcscfAddress()
625 .setAuthPsk(PSK) in testBuildWithoutLocalId()
848 .setAuthPsk(PSK) in testCreateWithAndWithoutConnectivityMgr()
857 .setAuthPsk(PSK) in testCreateWithAndWithoutConnectivityMgr()
DIkeTunnelConnectionParamsTest.java32 .setAuthPsk("psk".getBytes())
DIkeSessionTest.java82 .setAuthPsk(new byte[0] /* psk, unused */); in buildIkeSessionParamsBase()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DIkeSessionParamsTest.java158 .setAuthPsk(IKE_PSK); in createIkeParamsBuilderMinimum()
355 createIkeParamsBuilderMinimumWithoutAuth().setAuthPsk(IKE_PSK).build(); in testBuildWithPsk()
367 .setAuthPsk(IKE_PSK) in testBuildWithPskMobikeEnabled()
DIkeSessionPskTestBase.java76 .setAuthPsk(IKE_PSK); in createIkeParamsBuilderBase()
DIkeSessionRekeyTest.java62 .setAuthPsk(IKE_PSK) in openIkeSessionWithRemoteAddress()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIkev2VpnTest.java222 new Ikev2VpnProfile.Builder(remote, TEST_IDENTITY).setAuthPsk(TEST_PSK); in buildIkev2VpnProfilePsk()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java976 return buildIkeSessionParamsCommon().setAuthPsk(mPsk).build(); in buildIkeSessionParams()
980 return buildIkeSessionParamsCommon().setAuthPsk(psk).build(); in buildIkeSessionParamsPsk()
1002 .setAuthPsk(mPsk) in buildIkeSessionParamsIke3gppExtension()
1009 IkeSessionParams.Builder builder = buildIkeSessionParamsCommon().setAuthPsk(mPsk); in buildIkeSessionParamsWithIkeOptions()
1498 .setAuthPsk(mPsk) in setupAndVerifyDnsResolutionForIkeSession()
1802 .setAuthPsk(mPsk) in testCreateIkeLocalIkeInitWithoutIpv6NatD()
5868 buildIkeSessionParamsCommon().setAuthPsk(mPsk).addIkeOption(IKE_OPTION_MOBIKE); in restartStateMachineWithMobikeConfigured()
6647 .setAuthPsk(mPsk) in testNattKeepaliveDelayForHardwareKeepaliveImpl()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DIkeSessionParams.java1411 public Builder setAuthPsk(@NonNull byte[] sharedKey) { in setAuthPsk() method in IkeSessionParams.Builder
/packages/modules/IPsec/api/
Dcurrent.txt223 … method @NonNull public android.net.ipsec.ike.IkeSessionParams.Builder setAuthPsk(@NonNull byte[]);
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DVpnTest.java210 builder.setAuthPsk(TEST_VPN_PSK); in VpnTest()