Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java32 public enum IpAssignment { enum in IpConfiguration
43 public IpAssignment ipAssignment;
66 private void init(IpAssignment ipAssignment, in init()
79 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
82 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration()
97 public IpAssignment getIpAssignment() { in getIpAssignment()
101 public void setIpAssignment(IpAssignment ipAssignment) { in setIpAssignment()
191 config.ipAssignment = IpAssignment.valueOf(in.readString());
/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/services/tests/servicestests/src/com/android/server/net/
DIpConfigStoreTest.java24 import android.net.IpConfiguration.IpAssignment;
54 IpConfiguration expectedConfig = new IpConfiguration(IpAssignment.DHCP, in backwardCompatibility2to3()
86 IpConfiguration expectedConfig1 = new IpConfiguration(IpAssignment.STATIC, in staticIpMultiNetworks()
/frameworks/opt/net/ethernet/tests/java/com/android/server/ethernet/
DEthernetTrackerTest.java23 import android.net.IpConfiguration.IpAssignment;
89 IpConfiguration expectedIpConfiguration = new IpConfiguration(IpAssignment.STATIC, in assertStaticConfiguration()
/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/java/com/android/server/ethernet/
DEthernetTracker.java24 import android.net.IpConfiguration.IpAssignment;
395 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
399 return new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in createDefaultIpConfiguration()
DEthernetNetworkFactory.java23 import android.net.IpConfiguration.IpAssignment;
407 if (config.getIpAssignment() == IpAssignment.STATIC) { in provisionIpClient()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java20 import android.net.IpConfiguration.IpAssignment;
484 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml()
DWifiConfigurationUtil.java150 if (newConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in hasIpChanged()
435 if (ipConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in validateIpConfiguration()
DWifiConfigManager.java843 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration()
844 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
846 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
897 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaultsInWifiConfiguration()
DSupplicantStaIfaceHal.java782 config.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in loadNetworks()
DWifiStateMachine.java4964 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java171 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig()
197 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
199 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
DWifiBackupRestoreTest.java291 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedTag()
344 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
DSupplicantStaIfaceHalTest.java403 assertEquals(IpConfiguration.IpAssignment.DHCP, config.getIpAssignment()); in testLoadNetworks()
479 assertEquals(IpConfiguration.IpAssignment.DHCP, config.getIpAssignment()); in testLoadNetworksRemovesDuplicates()
DWifiConfigManagerTest.java3631 if (configuration.getIpAssignment() == IpConfiguration.IpAssignment.UNASSIGNED) { in setDefaults()
3632 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;
818 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml()
/frameworks/base/config/
Ddirty-image-objects131 android.net.IpConfiguration$IpAssignment
Dhiddenapi-light-greylist.txt3412 Landroid/net/IpConfiguration$IpAssignment;->STATIC:Landroid/net/IpConfiguration$IpAssignment;
3414 Landroid/net/IpConfiguration;-><init>(Landroid/net/IpConfiguration$IpAssignment;Landroid/net/IpConf…
3704 Landroid/net/wifi/WifiConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
3716 Landroid/net/wifi/WifiConfiguration;->setIpAssignment(Landroid/net/IpConfiguration$IpAssignment;)V
Dpreloaded-classes2231 android.net.IpConfiguration$IpAssignment
Dboot-image-profile.txt3645 HPLandroid/net/IpConfiguration$IpAssignment;->valueOf(Ljava/lang/String;)Landroid/net/IpConfigurati…
3648 HPLandroid/net/IpConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
3991 HPLandroid/net/wifi/WifiConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
4000 HPLandroid/net/wifi/WifiConfiguration;->setIpAssignment(Landroid/net/IpConfiguration$IpAssignment;)V
25994 HSPLandroid/net/IpConfiguration$IpAssignment;-><init>(Ljava/lang/String;I)V
25995 HSPLandroid/net/IpConfiguration$IpAssignment;->values()[Landroid/net/IpConfiguration$IpAssignment;
56714 Landroid/net/IpConfiguration$IpAssignment;
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1926 public IpConfiguration.IpAssignment getIpAssignment() { in getIpAssignment()
1931 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment()