Home
last modified time | relevance | path

Searched refs:IpAssignment (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/core/java/android/net/
DIpConfiguration.java33 public enum IpAssignment { enum in IpConfiguration
45 public IpAssignment ipAssignment;
70 private void init(IpAssignment ipAssignment, in init()
83 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
87 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration()
102 public IpAssignment getIpAssignment() { in getIpAssignment()
106 public void setIpAssignment(IpAssignment ipAssignment) { in setIpAssignment()
196 config.ipAssignment = IpAssignment.valueOf(in.readString());
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java24 import android.net.IpConfiguration.IpAssignment;
55 IpConfiguration expectedConfig = new IpConfiguration(IpAssignment.DHCP, in backwardCompatibility2to3()
87 IpConfiguration expectedConfig1 = new IpConfiguration(IpAssignment.STATIC, in staticIpMultiNetworks()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java20 import android.net.IpConfiguration.IpAssignment;
264 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
284 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
359 config.ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
363 config.ipAssignment = IpAssignment.UNASSIGNED; in readIpConfigurations()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java19 import android.net.IpConfiguration.IpAssignment;
150 config.setIpAssignment(IpAssignment.DHCP); in createGenericConfig()
250 config.setIpAssignment(IpAssignment.STATIC); in getWifiConfiguration()
253 config.setIpAssignment(IpAssignment.DHCP); in getWifiConfiguration()
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/
DEthernetTrackerTest.java23 import android.net.IpConfiguration.IpAssignment;
99 IpConfiguration expectedIpConfiguration = new IpConfiguration(IpAssignment.STATIC, in assertStaticConfiguration()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java24 import android.net.IpConfiguration.IpAssignment;
455 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
459 return new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in createDefaultIpConfiguration()
DEthernetNetworkFactory.java27 import android.net.IpConfiguration.IpAssignment;
573 if (config.getIpAssignment() == IpAssignment.STATIC) { in provisionIpClient()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java20 import android.net.IpConfiguration.IpAssignment;
490 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml()
DWifiConfigurationUtil.java186 if (newConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in hasIpChanged()
544 if (ipConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in validateIpConfiguration()
DWifiConfigManager.java939 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration()
940 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
942 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
996 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaultsInWifiConfiguration()
DSupplicantStaIfaceHal.java947 config.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in loadNetworks()
DClientModeImpl.java5302 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java190 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig()
216 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
218 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
DWifiBackupRestoreTest.java354 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedTag()
407 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
985 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithV1_0Data()
DSupplicantStaIfaceHalTest.java470 assertEquals(IpConfiguration.IpAssignment.DHCP, config.getIpAssignment()); in testLoadNetworks()
546 assertEquals(IpConfiguration.IpAssignment.DHCP, config.getIpAssignment()); in testLoadNetworksRemovesDuplicates()
DWifiConfigManagerTest.java4599 if (configuration.getIpAssignment() == IpConfiguration.IpAssignment.UNASSIGNED) { in setDefaults()
4600 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java20 import android.net.IpConfiguration.IpAssignment;
848 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2261 public IpConfiguration.IpAssignment getIpAssignment() { in getIpAssignment()
2267 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment()
/frameworks/base/config/
Ddirty-image-objects121 android.net.IpConfiguration$IpAssignment
Dpreloaded-classes2519 android.net.IpConfiguration$IpAssignment