Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpConfigurationTest.java55 private StaticIpConfiguration mStaticIpConfig; field in IpConfigurationTest
65 mStaticIpConfig = new StaticIpConfiguration.Builder() in setUp()
82 ipConfig.setStaticIpConfiguration(mStaticIpConfig); in testConstructor()
118 .setStaticIpConfiguration(mStaticIpConfig) in testBuilder()
122 assertEquals(mStaticIpConfig, c.getStaticIpConfiguration()); in testBuilder()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DProvisioningConfiguration.java179 mConfig.mStaticIpConfig = staticConfig; in withStaticConfiguration()
504 public StaticIpConfiguration mStaticIpConfig; field in ProvisioningConfiguration
527 mStaticIpConfig = other.mStaticIpConfig == null in ProvisioningConfiguration()
529 : new StaticIpConfiguration(other.mStaticIpConfig); in ProvisioningConfiguration()
559 p.staticIpConfig = (mStaticIpConfig == null) in toStableParcelable()
561 : new StaticIpConfiguration(mStaticIpConfig); in toStableParcelable()
593 config.mStaticIpConfig = (p.staticIpConfig == null) in fromStableParcelable()
655 .add("mStaticIpConfig: " + mStaticIpConfig) in toString()
703 && Objects.equals(mStaticIpConfig, other.mStaticIpConfig) in equals()
/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DProvisioningConfigurationTest.java100 config.mStaticIpConfig = new StaticIpConfiguration(); in makeTestProvisioningConfiguration()
101 config.mStaticIpConfig.ipAddress = in makeTestProvisioningConfiguration()
175 mConfig.mStaticIpConfig = null; in testParcelUnparcel_NullStaticConfiguration()
259 assertNotEqualsAfterChange(c -> c.mStaticIpConfig.ipAddress = in testEquals()
261 assertNotEqualsAfterChange(c -> c.mStaticIpConfig = null); in testEquals()
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java482 argThat(x -> Objects.equals(x.mStaticIpConfig, ipConfig.getStaticIpConfiguration())) in verifyStart()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java2355 if (mConfiguration.mStaticIpConfig != null) { in startIPv4()
2356 if (mInterfaceCtrl.setIPv4Address(mConfiguration.mStaticIpConfig.getIpAddress())) { in startIPv4()
2357 handleIPv4Success(new DhcpResults(mConfiguration.mStaticIpConfig)); in startIPv4()
2766 return mConfiguration.mEnablePreconnection && mConfiguration.mStaticIpConfig == null; in isUsingPreconnection()