/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | EapSessionConfigUtils.java | 56 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 …]
|
D | IkeSessionParamsUtils.java | 121 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 …]
|
D | SaProposalUtilsBase.java | 59 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()
|
D | TunnelConnectionParamsUtils.java | 38 public static PersistableBundle toPersistableBundle(@NonNull IkeTunnelConnectionParams params) { in toPersistableBundle() method in TunnelConnectionParamsUtils 80 IkeSessionParamsUtils.toPersistableBundle(ikeParams.getIkeSessionParams())); in serializeIkeParams() 83 TunnelModeChildSessionParamsUtils.toPersistableBundle( in serializeIkeParams()
|
D | TunnelModeChildSessionParamsUtils.java | 132 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()
|
D | ChildSaProposalUtils.java | 40 public static PersistableBundle toPersistableBundle(ChildSaProposal proposal) { in toPersistableBundle() method in ChildSaProposalUtils 41 return SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
|
D | IkeSaProposalUtils.java | 42 public static PersistableBundle toPersistableBundle(IkeSaProposal proposal) { in toPersistableBundle() method in IkeSaProposalUtils 43 final PersistableBundle result = SaProposalUtilsBase.toPersistableBundle(proposal); in toPersistableBundle()
|
D | IkeTrafficSelectorUtils.java | 64 public static PersistableBundle toPersistableBundle(@NonNull IkeTrafficSelector ts) { in toPersistableBundle() method in IkeTrafficSelectorUtils
|
D | IkeIdentificationUtils.java | 66 public static PersistableBundle toPersistableBundle(@NonNull IkeIdentification ikeId) { in toPersistableBundle() method in IkeIdentificationUtils
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/util/ |
D | PersistableBundleUtilsTest.java | 60 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/ |
D | SaProposalUtilsTest.java | 55 final PersistableBundle bundle = IkeSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessIkeProposal() 77 final PersistableBundle bundle = ChildSaProposalUtils.toPersistableBundle(proposal); in testPersistableBundleEncodeDecodeIsLosslessChildProposal()
|
D | TunnelConnectionParamsUtilsTest.java | 51 TunnelConnectionParamsUtils.toPersistableBundle(params))); in testIkeTunnelConnectionParamsToFromPersistableBundle()
|
D | IkeTrafficSelectorUtilsTest.java | 50 final PersistableBundle bundle = IkeTrafficSelectorUtils.toPersistableBundle(ts); in verifyPersistableBundleEncodeDecodeIsLossless()
|
D | IkeIdentificationUtilsTest.java | 46 final PersistableBundle bundle = IkeIdentificationUtils.toPersistableBundle(id); in verifyPersistableBundleEncodeDecodeIsLossless()
|
D | EapSessionConfigUtilsTest.java | 53 final PersistableBundle bundle = EapSessionConfigUtils.toPersistableBundle(config); in verifyPersistableBundleEncodeDecodeIsLossless()
|
D | TunnelModeChildSessionParamsUtilsTest.java | 52 TunnelModeChildSessionParamsUtils.toPersistableBundle(params); in verifyPersistableBundleEncodeDecodeIsLossless()
|
/frameworks/base/tests/vcn/java/android/net/vcn/ |
D | VcnGatewayConnectionConfigTest.java | 326 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()
|
D | VcnCellUnderlyingNetworkTemplateTest.java | 175 networkPriority.toPersistableBundle())); in testPersistableBundle() 187 networkPriority.toPersistableBundle())); in testPersistableBundleWithCapabilities()
|
D | VcnConfigTest.java | 143 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundle() 150 assertEquals(config, new VcnConfig(config.toPersistableBundle())); in testPersistableBundleWithRestrictedTransports()
|
D | VcnWifiUnderlyingNetworkTemplateTest.java | 109 networkPriority.toPersistableBundle())); in testPersistableBundle()
|
/frameworks/base/core/java/android/net/vcn/ |
D | VcnConfig.java | 209 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnConfig 217 VcnGatewayConnectionConfig::toPersistableBundle); in toPersistableBundle() 258 out.writeParcelable(toPersistableBundle(), flags); in writeToParcel()
|
D | VcnWifiUnderlyingNetworkTemplate.java | 123 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnWifiUnderlyingNetworkTemplate 124 final PersistableBundle result = super.toPersistableBundle(); in toPersistableBundle()
|
D | VcnGatewayConnectionConfig.java | 523 public PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnGatewayConnectionConfig 527 TunnelConnectionParamsUtils.toPersistableBundle(mTunnelConnectionParams); in toPersistableBundle() 535 VcnUnderlyingNetworkTemplate::toPersistableBundle); in toPersistableBundle()
|
D | VcnUnderlyingNetworkTemplate.java | 181 PersistableBundle toPersistableBundle() { in toPersistableBundle() method in VcnUnderlyingNetworkTemplate
|
/frameworks/base/services/core/java/com/android/server/vcn/util/ |
D | PersistableBundleUtils.java | 66 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()
|