Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/java/android/net/vcn/persistablebundleutils/
H A 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()
162 public static PersistableBundle toPersistableBundle(EapSimConfig config) { in toPersistableBundle() method in EapSessionConfigUtils.EapSimConfigUtils
163 return EapUiccConfigUtils.toPersistableBundle(config); in toPersistableBundle()
175 public static PersistableBundle toPersistableBundle(@NonNull EapAkaConfig config) { in toPersistableBundle() method in EapSessionConfigUtils.EapAkaConfigUtils
176 return EapUiccConfigUtils.toPersistableBundle(config); in toPersistableBundle()
192 final PersistableBundle result = EapUiccConfigUtils.toPersistableBundle(config); in toPersistableBundle()
[all …]
H A DIkeSessionParamsUtils.java134 params.getSaProposals(), IkeSaProposalUtils::toPersistableBundle); in toPersistableBundle()
272 return IkeAuthPskConfigUtils.toPersistableBundle( in toPersistableBundle()
276 return IkeAuthDigitalSignConfigUtils.toPersistableBundle( in toPersistableBundle()
280 return IkeAuthDigitalSignConfigUtils.toPersistableBundle( in toPersistableBundle()
284 return IkeAuthEapConfigUtils.toPersistableBundle( in toPersistableBundle()
346 public static PersistableBundle toPersistableBundle( in toPersistableBundle() method in IkeSessionParamsUtils.IkeAuthPskConfigUtils
382 public static PersistableBundle toPersistableBundle( in toPersistableBundle() method in IkeSessionParamsUtils.IkeAuthDigitalSignConfigUtils
412 public static PersistableBundle toPersistableBundle( in toPersistableBundle() method in IkeSessionParamsUtils.IkeAuthDigitalSignConfigUtils
477 public static PersistableBundle toPersistableBundle( in toPersistableBundle() method in IkeSessionParamsUtils.IkeAuthEapConfigUtils
481 EapSessionConfigUtils.toPersistableBundle(config.getEapConfig())); in toPersistableBundle()
[all …]
H A 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()
H A 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()
H A 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()
H A DChildSaProposalUtils.java40 public static PersistableBundle toPersistableBundle(ChildSaProposal proposal) { in toPersistableBundle() method in ChildSaProposalUtils
41 return SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
H A DIkeSaProposalUtils.java42 public static PersistableBundle toPersistableBundle(IkeSaProposal proposal) { in toPersistableBundle() method in IkeSaProposalUtils
43 final PersistableBundle result = SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
H A DIkeTrafficSelectorUtils.java64 public static PersistableBundle toPersistableBundle(@NonNull IkeTrafficSelector ts) { in toPersistableBundle() method in IkeTrafficSelectorUtils
H A DIkeIdentificationUtils.java66 public static PersistableBundle toPersistableBundle(@NonNull IkeIdentification ikeId) { in toPersistableBundle() method in IkeIdentificationUtils
/aosp14/frameworks/base/tests/vcn/java/com/android/server/vcn/util/
H A 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()
/aosp14/frameworks/base/tests/vcn/java/android/net/vcn/persistablebundleutils/
H A DSaProposalUtilsTest.java55 final PersistableBundle bundle = IkeSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessIkeProposal()
77 final PersistableBundle bundle = ChildSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessChildProposal()
H A DTunnelConnectionParamsUtilsTest.java51 TunnelConnectionParamsUtils.toPersistableBundle(params))); in testIkeTunnelConnectionParamsToFromPersistableBundle()
H A DIkeTrafficSelectorUtilsTest.java50 final PersistableBundle bundle = IkeTrafficSelectorUtils.toPersistableBundle(ts); in verifyPersistableBundleEncodeDecodeIsLossless()
H A DIkeIdentificationUtilsTest.java46 final PersistableBundle bundle = IkeIdentificationUtils.toPersistableBundle(id); in verifyPersistableBundleEncodeDecodeIsLossless()
H A DEapSessionConfigUtilsTest.java53 final PersistableBundle bundle = EapSessionConfigUtils.toPersistableBundle(config); in verifyPersistableBundleEncodeDecodeIsLossless()
H A DTunnelModeChildSessionParamsUtilsTest.java52 TunnelModeChildSessionParamsUtils.toPersistableBundle(params); in verifyPersistableBundleEncodeDecodeIsLossless()
/aosp14/frameworks/base/core/java/android/net/vcn/
H A DVcnConfig.java209 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnConfig
217 VcnGatewayConnectionConfig::toPersistableBundle); in toPersistableBundle()
258 out.writeParcelable(toPersistableBundle(), flags); in writeToParcel()
H A DVcnWifiUnderlyingNetworkTemplate.java123 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnWifiUnderlyingNetworkTemplate
124 final PersistableBundle result = super.toPersistableBundle(); in toPersistableBundle()
H A DVcnGatewayConnectionConfig.java505 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnGatewayConnectionConfig
509 TunnelConnectionParamsUtils.toPersistableBundle(mTunnelConnectionParams); in toPersistableBundle()
517 VcnUnderlyingNetworkTemplate::toPersistableBundle); in toPersistableBundle()
H A DVcnCellUnderlyingNetworkTemplate.java233 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnCellUnderlyingNetworkTemplate
234 final PersistableBundle result = super.toPersistableBundle(); in toPersistableBundle()
/aosp14/frameworks/base/tests/vcn/java/android/net/vcn/
H A DVcnCellUnderlyingNetworkTemplateTest.java175 networkPriority.toPersistableBundle())); in testPersistableBundle()
187 networkPriority.toPersistableBundle())); in testPersistableBundleWithCapabilities()
H A DVcnConfigTest.java143 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundle()
150 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundleWithRestrictedTransports()
H A DVcnGatewayConnectionConfigTest.java296 assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); in testPersistableBundle()
304 assertEquals(config, new VcnGatewayConnectionConfig(config.toPersistableBundle())); in testPersistableBundleWithOptions()
309 PersistableBundle configBundle = buildTestConfig().toPersistableBundle(); in testParsePersistableBundleWithoutVcnUnderlyingNetworkTemplates()
H A DVcnWifiUnderlyingNetworkTemplateTest.java109 networkPriority.toPersistableBundle())); in testPersistableBundle()
/aosp14/frameworks/base/services/core/java/com/android/server/vcn/util/
H A 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