Home
last modified time | relevance | path

Searched refs:ConfigAttributeIpv4Dns (Results 1 – 5 of 5) sorted by relevance

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayloadTest.java56 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttributeIpv4Dns;
231 assertNull(((ConfigAttributeIpv4Dns) att).address); in testDecodeConfigRequest()
267 assertEquals(IPV4_DNS, ((ConfigAttributeIpv4Dns) att).address); in testDecodeConfigResponse()
272 assertEquals(expectedDns, ((ConfigAttributeIpv4Dns) att).address); in testDecodeConfigResponse()
515 ConfigAttributeIpv4Dns attribute = new ConfigAttributeIpv4Dns(IPV4_DNS.getAddress()); in testDecodeIpv4DnsWithValue()
523 ConfigAttributeIpv4Dns attribute = new ConfigAttributeIpv4Dns(new byte[0]); in testDecodeIpv4DnsWithoutValue()
531 ConfigAttributeIpv4Dns attribute = new ConfigAttributeIpv4Dns(); in testEncodeIpv4Dns()
543 new ConfigAttributeIpv4Dns(IPV4_DNS.getAddress())); in testPersistableBundleEncodeDecodeIpv4DnsConfig()
548 verifyPersistableBundleEncodeDecodeIsLossless(new ConfigAttributeIpv4Dns()); in testPersistableBundleEncodeDecodeIpv4DnsConfigEmpty()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DTunnelModeChildSessionParams.java33 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttributeIpv4Dns;
441 mConfigRequestList.add(new ConfigAttributeIpv4Dns()); in addInternalDnsServerRequest()
466 mConfigRequestList.add(new ConfigAttributeIpv4Dns((Inet4Address) address)); in addInternalDnsServerRequest()
DChildSessionConfiguration.java37 import com.android.internal.net.ipsec.ike.message.IkeConfigPayload.ConfigAttributeIpv4Dns;
115 mInternalDnsAddressList.add(((ConfigAttributeIpv4Dns) att).address); in ChildSessionConfiguration()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DChildSessionConfigurationTest.java31 import com.android.internal.net.ipsec.test.ike.message.IkeConfigPayload.ConfigAttributeIpv4Dns;
72 private ConfigAttributeIpv4Dns mIpv4Dns;
91 mIpv4Dns = new ConfigAttributeIpv4Dns(IPV4_ADDRESS); in setUp()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java284 return new ConfigAttributeIpv4Dns(value); in decodeSingleAttributeFrom()
650 public static class ConfigAttributeIpv4Dns extends TunnelModeChildConfigAttrIpv4AddressBase class in IkeConfigPayload
653 public ConfigAttributeIpv4Dns(Inet4Address ipv4Address) { in ConfigAttributeIpv4Dns() method in IkeConfigPayload.ConfigAttributeIpv4Dns
662 public ConfigAttributeIpv4Dns() { in ConfigAttributeIpv4Dns() method in IkeConfigPayload.ConfigAttributeIpv4Dns
668 ConfigAttributeIpv4Dns(byte[] value) throws InvalidSyntaxException { in ConfigAttributeIpv4Dns() method in IkeConfigPayload.ConfigAttributeIpv4Dns