Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DIpConfiguration.java41 public enum IpAssignment { enum in IpConfiguration
53 public IpAssignment ipAssignment;
84 private void init(IpAssignment ipAssignment, in init()
97 init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null); in IpConfiguration()
102 public IpConfiguration(IpAssignment ipAssignment, in IpConfiguration()
117 public @NonNull IpAssignment getIpAssignment() { in getIpAssignment()
121 public void setIpAssignment(@NonNull IpAssignment ipAssignment) { in setIpAssignment()
211 config.ipAssignment = IpAssignment.valueOf(in.readString());
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java20 import android.net.IpConfiguration.IpAssignment;
265 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
285 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
360 config.ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
364 config.ipAssignment = IpAssignment.UNASSIGNED; in readIpConfigurations()
/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/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java20 import android.net.IpConfiguration.IpAssignment;
153 ipConfiguration.setIpAssignment(IpAssignment.DHCP); in createGenericConfig()
256 ipConfiguration.setIpAssignment(IpAssignment.STATIC); in getWifiConfiguration()
259 ipConfiguration.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/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java20 import android.net.IpConfiguration.IpAssignment;
491 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.java1025 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration()
1026 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1028 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
1082 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaultsInWifiConfiguration()
DSupplicantStaIfaceHal.java971 config.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in loadNetworks()
DClientModeImpl.java5374 (currentConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in enter()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java27 import android.net.IpConfiguration.IpAssignment;
610 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
614 return new IpConfiguration(IpAssignment.DHCP, ProxySettings.NONE, null, null); in createDefaultIpConfiguration()
DEthernetNetworkFactory.java27 import android.net.IpConfiguration.IpAssignment;
570 if (config.getIpAssignment() == IpAssignment.STATIC) { in provisionIpClient()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationTestUtil.java191 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig()
217 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
219 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.java4694 if (configuration.getIpAssignment() == IpConfiguration.IpAssignment.UNASSIGNED) { in setDefaults()
4695 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaults()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java21 import android.net.IpConfiguration.IpAssignment;
916 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2270 public IpConfiguration.IpAssignment getIpAssignment() { in getIpAssignment()
2276 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment()
/frameworks/base/config/
Ddirty-image-objects121 android.net.IpConfiguration$IpAssignment
Dpreloaded-classes2519 android.net.IpConfiguration$IpAssignment
Dboot-image-profile.txt10068 HSPLandroid/net/IpConfiguration$IpAssignment;-><init>(Ljava/lang/String;I)V
10069 HSPLandroid/net/IpConfiguration$IpAssignment;->valueOf(Ljava/lang/String;)Landroid/net/IpConfigurat…
10070 HSPLandroid/net/IpConfiguration$IpAssignment;->values()[Landroid/net/IpConfiguration$IpAssignment;
10867 HSPLandroid/net/wifi/WifiConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
34861 Landroid/net/IpConfiguration$IpAssignment;
Dhiddenapi-greylist-max-o.txt43554 Landroid/net/IpConfiguration$IpAssignment;->DHCP:Landroid/net/IpConfiguration$IpAssignment;
43555 Landroid/net/IpConfiguration$IpAssignment;->UNASSIGNED:Landroid/net/IpConfiguration$IpAssignment;
43556 Landroid/net/IpConfiguration$IpAssignment;->valueOf(Ljava/lang/String;)Landroid/net/IpConfiguration…
43557 Landroid/net/IpConfiguration$IpAssignment;->values()[Landroid/net/IpConfiguration$IpAssignment;
43567 Landroid/net/IpConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
43570 Landroid/net/IpConfiguration;->init(Landroid/net/IpConfiguration$IpAssignment;Landroid/net/IpConfig…
43571 Landroid/net/IpConfiguration;->ipAssignment:Landroid/net/IpConfiguration$IpAssignment;
43574 Landroid/net/IpConfiguration;->setIpAssignment(Landroid/net/IpConfiguration$IpAssignment;)V
/frameworks/base/api/
Dsystem-current.txt4403 method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
4407 method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
4414 public enum IpConfiguration.IpAssignment {
4415 enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
4416 enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
4417 enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;
/frameworks/base/non-updatable-api/
Dsystem-current.txt4403 method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
4407 method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
4414 public enum IpConfiguration.IpAssignment {
4415 enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
4416 enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
4417 enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;