Home
last modified time | relevance | path

Searched refs:IpSecConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/net/java/android/net/
DIpSecConfigTest.java38 IpSecConfig c = new IpSecConfig(); in testDefaults()
52 private IpSecConfig getSampleConfig() { in getSampleConfig()
53 IpSecConfig c = new IpSecConfig(); in getSampleConfig()
86 IpSecConfig original = getSampleConfig(); in testCopyConstructor()
87 IpSecConfig copy = new IpSecConfig(original); in testCopyConstructor()
89 assertTrue(IpSecConfig.equals(original, copy)); in testCopyConstructor()
95 assertParcelingIsLossless(new IpSecConfig()); in testParcelUnparcel()
97 IpSecConfig c = getSampleConfig(); in testParcelUnparcel()
101 private void assertParcelingIsLossless(IpSecConfig ci) throws Exception { in assertParcelingIsLossless()
105 IpSecConfig co = IpSecConfig.CREATOR.createFromParcel(p); in assertParcelingIsLossless()
[all …]
DIpSecTransformTest.java36 IpSecConfig config = new IpSecConfig(); in testCreateTransformCopiesConfig()
52 IpSecConfig config = new IpSecConfig(); in testCreateTransformsWithSameConfigEqual()
DIpSecManagerTest.java201 IpSecConfig dummyConfig = new IpSecConfig(); in testApplyTransportModeTransformEnsuresSocketCreation()
/frameworks/base/core/java/android/net/
DIpSecConfig.java29 public final class IpSecConfig implements Parcelable { class
219 public IpSecConfig() {} in IpSecConfig() method in IpSecConfig
223 public IpSecConfig(IpSecConfig c) { in IpSecConfig() method in IpSecConfig
240 private IpSecConfig(Parcel in) { in IpSecConfig() method in IpSecConfig
297 public static final Parcelable.Creator<IpSecConfig> CREATOR =
298 new Parcelable.Creator<IpSecConfig>() {
299 public IpSecConfig createFromParcel(Parcel in) {
300 return new IpSecConfig(in);
303 public IpSecConfig[] newArray(int size) {
304 return new IpSecConfig[size];
[all …]
DIpSecTransform.java89 public IpSecTransform(Context context, IpSecConfig config) { in IpSecTransform()
91 mConfig = new IpSecConfig(config); in IpSecTransform()
158 return IpSecConfig.equals(lhs.getConfig(), rhs.getConfig()) in equals()
206 IpSecConfig getConfig() { in getConfig()
210 private final IpSecConfig mConfig;
348 private IpSecConfig mConfig;
509 mConfig = new IpSecConfig(); in Builder()
DIIpSecService.aidl21 import android.net.IpSecConfig;
64 in IpSecConfig c, in IBinder binder, in String callingPackage); in createTransform()
DIpSecConfig.aidl20 parcelable IpSecConfig;
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java39 import android.net.IpSecConfig;
304 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsAuth()
311 config = new IpSecConfig(); in testValidateAlgorithmsAuth()
323 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsCrypt()
330 config = new IpSecConfig(); in testValidateAlgorithmsCrypt()
342 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsAead()
349 config = new IpSecConfig(); in testValidateAlgorithmsAead()
361 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsAuthCrypt()
369 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsNoAlgorithms()
379 IpSecConfig config = new IpSecConfig(); in testValidateAlgorithmsAeadWithAuth()
[all …]
DIpSecServiceParameterizedTest.java34 import android.net.IpSecConfig;
249 private void addDefaultSpisAndRemoteAddrToIpSecConfig(IpSecConfig config) throws Exception { in addDefaultSpisAndRemoteAddrToIpSecConfig()
255 private void addAuthAndCryptToIpSecConfig(IpSecConfig config) throws Exception { in addAuthAndCryptToIpSecConfig()
262 IpSecConfig ipSecConfig = new IpSecConfig(); in testCreateTransform()
296 IpSecConfig ipSecConfig = new IpSecConfig(); in testCreateTransformAead()
331 IpSecConfig ipSecConfig = new IpSecConfig(); in testCreateTwoTransformsWithSameSpis()
357 IpSecConfig ipSecConfig = new IpSecConfig(); in testReleaseOwnedSpi()
381 IpSecConfig ipSecConfig = new IpSecConfig(); in testDeleteTransform()
428 IpSecConfig ipSecConfig = new IpSecConfig(); in testTransportModeTransformBinderDeath()
465 IpSecConfig ipSecConfig = new IpSecConfig(); in testApplyTransportModeTransform()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java34 import android.net.IpSecConfig;
584 private final IpSecConfig mConfig;
589 int resourceId, IpSecConfig config, SpiRecord spi, EncapSocketRecord socket) { in TransformRecord()
598 public IpSecConfig getConfig() { in getConfig()
1397 void validateAlgorithms(IpSecConfig config) throws IllegalArgumentException { in validateAlgorithms()
1424 private void checkIpSecConfig(IpSecConfig config) { in checkIpSecConfig()
1501 IpSecConfig c, int resourceId, SpiRecord spiRecord, EncapSocketRecord socketRecord) in createOrUpdateTransform()
1554 IpSecConfig c, IBinder binder, String callingPackage) throws RemoteException { in createTransform()
1626 IpSecConfig c = info.getConfig(); in applyTransportModeTransform()
1679 IpSecConfig c = transformInfo.getConfig(); in applyTunnelModeTransform()
/frameworks/base/config/
Dboot-image-profile.txt25845 HSPLandroid/net/IIpSecService;->createTransform(Landroid/net/IpSecConfig;Landroid/os/IBinder;Ljava/…