Searched refs:PersistableBundleUtils (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/core/java/android/net/vcn/persistablebundleutils/ |
D | IkeSessionParamsUtils.java | 42 import com.android.server.vcn.util.PersistableBundleUtils; 98 PersistableBundleUtils.fromList( in toPersistableBundle() 119 PersistableBundleUtils.fromList(reqList, ConfigRequest::toPersistableBundle); in toPersistableBundle() 155 PersistableBundleUtils.toList( in fromPersistableBundle() 182 PersistableBundleUtils.toList(configReqListBundle, ConfigRequest::new); in fromPersistableBundle() 306 PSK_KEY, PersistableBundleUtils.fromByteArray(config.getPsk())); in toPersistableBundle() 323 final byte[] localPsk = PersistableBundleUtils.toByteArray(localPskBundle); in setBuilderByReadingPersistableBundle() 324 final byte[] remotePsk = PersistableBundleUtils.toByteArray(remotePskBundle); in setBuilderByReadingPersistableBundle() 344 PersistableBundleUtils.fromByteArray( in toPersistableBundle() 354 PersistableBundleUtils.fromList( in toPersistableBundle() [all …]
|
D | TunnelModeChildSessionParamsUtils.java | 41 import com.android.server.vcn.util.PersistableBundleUtils; 153 PersistableBundleUtils.fromList( in toPersistableBundle() 158 PersistableBundleUtils.fromList( in toPersistableBundle() 164 PersistableBundleUtils.fromList( in toPersistableBundle() 177 PersistableBundleUtils.fromList(reqList, ConfigRequest::toPersistableBundle); in toPersistableBundle() 187 return PersistableBundleUtils.toList( in getTsFromPersistableBundle() 203 PersistableBundleUtils.toList( in fromPersistableBundle() 222 PersistableBundleUtils.toList(configReqListBundle, ConfigRequest::new); in fromPersistableBundle()
|
D | IkeIdentificationUtils.java | 33 import com.android.server.vcn.util.PersistableBundleUtils; 72 PersistableBundleUtils.fromByteArray(id.derAsn1Dn.getEncoded())); in toPersistableBundle() 92 result.putPersistableBundle(KEY_ID_KEY, PersistableBundleUtils.fromByteArray(id.keyId)); in toPersistableBundle() 120 new X500Principal(PersistableBundleUtils.toByteArray(dnBundle))); in fromPersistableBundle() 136 return new IkeKeyIdIdentification(PersistableBundleUtils.toByteArray(keyIdBundle)); in fromPersistableBundle()
|
D | EapSessionConfigUtils.java | 34 import com.android.server.vcn.util.PersistableBundleUtils; 60 EAP_ID_KEY, PersistableBundleUtils.fromByteArray(config.getEapIdentity())); in toPersistableBundle() 104 builder.setEapIdentity(PersistableBundleUtils.toByteArray(eapIdBundle)); in fromPersistableBundle() 240 PersistableBundleUtils.fromByteArray( in toPersistableBundle() 264 PersistableBundleUtils.toByteArray(caBundle)); in setBuilderByReadingPersistableBundle()
|
D | ChildSaProposalUtils.java | 26 import com.android.server.vcn.util.PersistableBundleUtils; 54 PersistableBundleUtils.toList(encryptionBundle, EncryptionAlgoKeyLenPair::new); in fromPersistableBundle()
|
D | SaProposalUtilsBase.java | 24 import com.android.server.vcn.util.PersistableBundleUtils; 83 PersistableBundleUtils.fromList( in toPersistableBundle()
|
D | IkeSaProposalUtils.java | 26 import com.android.server.vcn.util.PersistableBundleUtils; 62 PersistableBundleUtils.toList(encryptionBundle, EncryptionAlgoKeyLenPair::new); in fromPersistableBundle()
|
/frameworks/base/tests/vcn/java/com/android/server/vcn/util/ |
D | PersistableBundleUtilsTest.java | 165 PersistableBundleUtils.fromList(sourceList, TestClass::toPersistableBundle); in testListConversionLossless() 166 final List<TestClass> resultList = PersistableBundleUtils.toList(bundled, TestClass::new); in testListConversionLossless() 186 PersistableBundleUtils.fromMap( in testMapConversionLossless() 189 PersistableBundleUtils.toMap(bundled, TestKey::new, TestClass::new); in testMapConversionLossless() 198 PersistableBundle bundle = PersistableBundleUtils.fromByteArray(byteArray); in testByteArrayConversionLossless() 199 byte[] result = PersistableBundleUtils.toByteArray(bundle); in testByteArrayConversionLossless() 208 PersistableBundleUtils.INTEGER_SERIALIZER.toPersistableBundle(testInt); in testIntegerConversionLossless() 210 PersistableBundleUtils.INTEGER_DESERIALIZER.fromPersistableBundle(integerBundle); in testIntegerConversionLossless()
|
/frameworks/base/core/java/android/net/vcn/ |
D | VcnGatewayConnectionConfig.java | 37 import com.android.server.vcn.util.PersistableBundleUtils; 205 mExposedCapabilities = new TreeSet<>(PersistableBundleUtils.toList( in VcnGatewayConnectionConfig() 206 exposedCapsBundle, PersistableBundleUtils.INTEGER_DESERIALIZER)); in VcnGatewayConnectionConfig() 338 PersistableBundleUtils.fromList( in toPersistableBundle() 340 PersistableBundleUtils.INTEGER_SERIALIZER); in toPersistableBundle()
|
D | VcnConfig.java | 31 import com.android.server.vcn.util.PersistableBundleUtils; 83 PersistableBundleUtils.toList( in VcnConfig() 133 PersistableBundleUtils.fromList( in toPersistableBundle()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VcnManagementService.java | 84 import com.android.server.vcn.util.PersistableBundleUtils; 200 @NonNull private final PersistableBundleUtils.LockingReadWriteHelper mConfigDiskRwHelper; 267 PersistableBundleUtils.toMap( in VcnManagementService() 269 PersistableBundleUtils::toParcelUuid, in VcnManagementService() 338 public PersistableBundleUtils.LockingReadWriteHelper 340 return new PersistableBundleUtils.LockingReadWriteHelper(path); in newPersistableBundleLockingReadWriteHelper() 729 PersistableBundleUtils.fromMap( in writeConfigsToDiskLocked() 731 PersistableBundleUtils::fromParcelUuid, in writeConfigsToDiskLocked()
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 96 import com.android.server.vcn.util.PersistableBundleUtils; 169 private final PersistableBundleUtils.LockingReadWriteHelper mConfigReadWriteHelper = 170 mock(PersistableBundleUtils.LockingReadWriteHelper.class); 225 PersistableBundleUtils.fromMap( in VcnManagementServiceTest() 227 PersistableBundleUtils::fromParcelUuid, in VcnManagementServiceTest() 281 PersistableBundleUtils.LockingReadWriteHelper configReadWriteHelper = in testNonSystemServerRealConfigFileAccessPermission()
|
/frameworks/base/services/core/java/com/android/server/vcn/util/ |
D | PersistableBundleUtils.java | 40 public class PersistableBundleUtils { class
|
/frameworks/base/ |
D | Android.bp | 414 "services/core/java/com/android/server/vcn/util/PersistableBundleUtils.java",
|
/frameworks/base/services/ |
D | art-profile | 3550 …gReadWriteHelper(Ljava/lang/String;)Lcom/android/server/vcn/util/PersistableBundleUtils$LockingRea… 42495 HSPLcom/android/server/vcn/util/PersistableBundleUtils$$ExternalSyntheticLambda0;-><clinit>()V 42496 HSPLcom/android/server/vcn/util/PersistableBundleUtils$$ExternalSyntheticLambda0;-><init>()V 42497 HSPLcom/android/server/vcn/util/PersistableBundleUtils$$ExternalSyntheticLambda1;-><clinit>()V 42498 HSPLcom/android/server/vcn/util/PersistableBundleUtils$$ExternalSyntheticLambda1;-><init>()V 42499 HSPLcom/android/server/vcn/util/PersistableBundleUtils$LockingReadWriteHelper;-><init>(Ljava/lang/S… 42500 HSPLcom/android/server/vcn/util/PersistableBundleUtils$LockingReadWriteHelper;->readFromDisk()Landr… 42501 PLcom/android/server/vcn/util/PersistableBundleUtils$LockingReadWriteHelper;->writeToDisk(Landroid/… 42502 HSPLcom/android/server/vcn/util/PersistableBundleUtils;-><clinit>()V 42503 …PersistableBundleUtils;->fromMap(Ljava/util/Map;Lcom/android/server/vcn/util/PersistableBundleUtil… [all …]
|