Home
last modified time | relevance | path

Searched refs:toPersistableBundle (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
DEapSessionConfigUtils.java56 public static PersistableBundle toPersistableBundle(@NonNull EapSessionConfig config) { in toPersistableBundle() method in EapSessionConfigUtils
65 EapSimConfigUtils.toPersistableBundle(config.getEapSimConfig())); in toPersistableBundle()
71 EapTtlsConfigUtils.toPersistableBundle(config.getEapTtlsConfig())); in toPersistableBundle()
77 EapAkaConfigUtils.toPersistableBundle(config.getEapAkaConfig())); in toPersistableBundle()
83 EapMsChapV2ConfigUtils.toPersistableBundle(config.getEapMsChapV2Config())); in toPersistableBundle()
89 EapAkaPrimeConfigUtils.toPersistableBundle(config.getEapAkaPrimeConfig())); in toPersistableBundle()
139 public static PersistableBundle toPersistableBundle(@NonNull EapMethodConfig config) { in toPersistableBundle() method in EapSessionConfigUtils.EapMethodConfigUtils
151 protected static PersistableBundle toPersistableBundle(@NonNull EapUiccConfig config) { in toPersistableBundle() method in EapSessionConfigUtils.EapUiccConfigUtils
152 final PersistableBundle result = EapMethodConfigUtils.toPersistableBundle(config); in toPersistableBundle()
162 public static PersistableBundle toPersistableBundle(EapSimConfig config) { in toPersistableBundle() method in EapSessionConfigUtils.EapSimConfigUtils
[all …]
DIkeSessionParamsUtils.java121 public static PersistableBundle toPersistableBundle(@NonNull IkeSessionParams params) { in toPersistableBundle() method in IkeSessionParamsUtils
134 params.getSaProposals(), IkeSaProposalUtils::toPersistableBundle); in toPersistableBundle()
139 IkeIdentificationUtils.toPersistableBundle(params.getLocalIdentification())); in toPersistableBundle()
142 IkeIdentificationUtils.toPersistableBundle(params.getRemoteIdentification())); in toPersistableBundle()
145 LOCAL_AUTH_KEY, AuthConfigUtils.toPersistableBundle(params.getLocalAuthConfig())); in toPersistableBundle()
147 REMOTE_AUTH_KEY, AuthConfigUtils.toPersistableBundle(params.getRemoteAuthConfig())); in toPersistableBundle()
154 PersistableBundleUtils.fromList(reqList, ConfigRequest::toPersistableBundle); in toPersistableBundle()
278 public static PersistableBundle toPersistableBundle(@NonNull IkeAuthConfig authConfig) { in toPersistableBundle() method in IkeSessionParamsUtils.AuthConfigUtils
281 return IkeAuthPskConfigUtils.toPersistableBundle( in toPersistableBundle()
285 return IkeAuthDigitalSignConfigUtils.toPersistableBundle( in toPersistableBundle()
[all …]
DSaProposalUtilsBase.java59 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in SaProposalUtilsBase.EncryptionAlgoKeyLenPair
75 static PersistableBundle toPersistableBundle(SaProposal proposal) { in toPersistableBundle() method in SaProposalUtilsBase
84 encryptAlgoKeyLenPairs, EncryptionAlgoKeyLenPair::toPersistableBundle); in toPersistableBundle()
DTunnelConnectionParamsUtils.java38 public static PersistableBundle toPersistableBundle(@NonNull IkeTunnelConnectionParams params) { in toPersistableBundle() method in TunnelConnectionParamsUtils
80 IkeSessionParamsUtils.toPersistableBundle(ikeParams.getIkeSessionParams())); in serializeIkeParams()
83 TunnelModeChildSessionParamsUtils.toPersistableBundle( in serializeIkeParams()
DTunnelModeChildSessionParamsUtils.java132 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in TunnelModeChildSessionParamsUtils.ConfigRequest
148 public static PersistableBundle toPersistableBundle( in toPersistableBundle() method in TunnelModeChildSessionParamsUtils
154 params.getSaProposals(), ChildSaProposalUtils::toPersistableBundle); in toPersistableBundle()
160 IkeTrafficSelectorUtils::toPersistableBundle); in toPersistableBundle()
166 IkeTrafficSelectorUtils::toPersistableBundle); in toPersistableBundle()
177 PersistableBundleUtils.fromList(reqList, ConfigRequest::toPersistableBundle); in toPersistableBundle()
DChildSaProposalUtils.java40 public static PersistableBundle toPersistableBundle(ChildSaProposal proposal) { in toPersistableBundle() method in ChildSaProposalUtils
41 return SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
DIkeSaProposalUtils.java42 public static PersistableBundle toPersistableBundle(IkeSaProposal proposal) { in toPersistableBundle() method in IkeSaProposalUtils
43 final PersistableBundle result = SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
DIkeTrafficSelectorUtils.java64 public static PersistableBundle toPersistableBundle(@NonNull IkeTrafficSelector ts) { in toPersistableBundle() method in IkeTrafficSelectorUtils
DIkeIdentificationUtils.java66 public static PersistableBundle toPersistableBundle(@NonNull IkeIdentification ikeId) { in toPersistableBundle() method in IkeIdentificationUtils
/frameworks/base/tests/vcn/java/com/android/server/vcn/util/
DPersistableBundleUtilsTest.java60 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in PersistableBundleUtilsTest.TestKey
115 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in PersistableBundleUtilsTest.TestClass
167 PersistableBundleUtils.fromList(sourceList, TestClass::toPersistableBundle); in testListConversionLossless()
189 sourceMap, TestKey::toPersistableBundle, TestClass::toPersistableBundle); in testMapConversionLossless()
210 PersistableBundleUtils.INTEGER_SERIALIZER.toPersistableBundle(testInt); in testIntegerConversionLossless()
233 .toPersistableBundle()); in getTestBundle()
/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
DSaProposalUtilsTest.java55 final PersistableBundle bundle = IkeSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessIkeProposal()
77 final PersistableBundle bundle = ChildSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessChildProposal()
DTunnelConnectionParamsUtilsTest.java51 TunnelConnectionParamsUtils.toPersistableBundle(params))); in testIkeTunnelConnectionParamsToFromPersistableBundle()
DIkeTrafficSelectorUtilsTest.java50 final PersistableBundle bundle = IkeTrafficSelectorUtils.toPersistableBundle(ts); in verifyPersistableBundleEncodeDecodeIsLossless()
DIkeIdentificationUtilsTest.java46 final PersistableBundle bundle = IkeIdentificationUtils.toPersistableBundle(id); in verifyPersistableBundleEncodeDecodeIsLossless()
DEapSessionConfigUtilsTest.java53 final PersistableBundle bundle = EapSessionConfigUtils.toPersistableBundle(config); in verifyPersistableBundleEncodeDecodeIsLossless()
DTunnelModeChildSessionParamsUtilsTest.java52 TunnelModeChildSessionParamsUtils.toPersistableBundle(params); in verifyPersistableBundleEncodeDecodeIsLossless()
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnGatewayConnectionConfigTest.java326 assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); in testPersistableBundle()
334 assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); in testPersistableBundleWithOptions()
342 assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); in testPersistableBundleSafeModeDisabled()
347 PersistableBundle configBundle = buildTestConfig().toPersistableBundle(); in testParsePersistableBundleWithoutVcnUnderlyingNetworkTemplates()
DVcnCellUnderlyingNetworkTemplateTest.java175 networkPriority.toPersistableBundle())); in testPersistableBundle()
187 networkPriority.toPersistableBundle())); in testPersistableBundleWithCapabilities()
DVcnConfigTest.java143 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundle()
150 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundleWithRestrictedTransports()
DVcnWifiUnderlyingNetworkTemplateTest.java109 networkPriority.toPersistableBundle())); in testPersistableBundle()
/frameworks/base/core/java/android/net/vcn/
DVcnConfig.java209 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnConfig
217 VcnGatewayConnectionConfig::toPersistableBundle); in toPersistableBundle()
258 out.writeParcelable(toPersistableBundle(), flags); in writeToParcel()
DVcnWifiUnderlyingNetworkTemplate.java123 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnWifiUnderlyingNetworkTemplate
124 final PersistableBundle result = super.toPersistableBundle(); in toPersistableBundle()
DVcnGatewayConnectionConfig.java523 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnGatewayConnectionConfig
527 TunnelConnectionParamsUtils.toPersistableBundle(mTunnelConnectionParams); in toPersistableBundle()
535 VcnUnderlyingNetworkTemplate::toPersistableBundle); in toPersistableBundle()
DVcnUnderlyingNetworkTemplate.java181 PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnUnderlyingNetworkTemplate
/frameworks/base/services/core/java/com/android/server/vcn/util/
DPersistableBundleUtils.java66 PersistableBundle toPersistableBundle(T obj); in toPersistableBundle() method
160 result.putPersistableBundle(key, serializer.toPersistableBundle(in.get(i))); in fromList()
251 result.putPersistableBundle(keyKey, keySerializer.toPersistableBundle(entry.getKey())); in fromMap()
253 valueKey, valueSerializer.toPersistableBundle(entry.getValue())); in fromMap()

12