Home
last modified time | relevance | path

Searched refs:IpAssignment (Results 1 – 22 of 22) 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/opt/net/wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java22 import android.net.IpConfiguration.IpAssignment;
102 IpAssignment ipAssignment = IpAssignment.DHCP; in readIpConfigurations()
123 ipAssignment = IpAssignment.valueOf(in.readUTF()); in readIpConfigurations()
196 config.setIpAssignment(IpAssignment.DHCP); in readIpConfigurations()
200 config.setIpAssignment(IpAssignment.UNASSIGNED); in readIpConfigurations()
DXmlUtil.java23 import android.net.IpConfiguration.IpAssignment;
946 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseFromXml()
/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;
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.java22 import android.net.IpConfiguration.IpAssignment;
515 IpAssignment ipAssignment = IpAssignment.valueOf(ipAssignmentString); in parseIpConfigurationFromXml()
DWifiConfigurationUtil.java168 if (newConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in hasIpChanged()
526 if (ipConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in validateIpConfiguration()
DWifiConfigManager.java435 if (config.getIpConfiguration().getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in shouldUseAggressiveRandomization()
1032 IpConfiguration.IpAssignment ipAssignment = externalConfig.getIpAssignment(); in mergeWithInternalWifiConfiguration()
1033 if (ipAssignment != IpConfiguration.IpAssignment.UNASSIGNED) { in mergeWithInternalWifiConfiguration()
1035 if (ipAssignment == IpConfiguration.IpAssignment.STATIC) { in mergeWithInternalWifiConfiguration()
1097 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaultsInWifiConfiguration()
DClientModeImpl.java6478 (config.getIpAssignment() == IpConfiguration.IpAssignment.STATIC); in startIpClient()
/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.java212 IpConfiguration.IpAssignment ipAssignment = IpConfiguration.IpAssignment.UNASSIGNED; in generateIpConfig()
238 ipAssignment = IpConfiguration.IpAssignment.STATIC; in generateIpConfig()
240 ipAssignment = IpConfiguration.IpAssignment.DHCP; in generateIpConfig()
DWifiBackupRestoreTest.java396 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedTag()
449 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
1063 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithV1_0Data()
DWifiConfigManagerTest.java4744 if (configuration.getIpAssignment() == IpConfiguration.IpAssignment.UNASSIGNED) { in setDefaults()
4745 configuration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in setDefaults()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2615 public IpConfiguration.IpAssignment getIpAssignment() { in getIpAssignment()
2621 public void setIpAssignment(IpConfiguration.IpAssignment ipAssignment) { in setIpAssignment()
/frameworks/base/config/
Ddirty-image-objects121 android.net.IpConfiguration$IpAssignment
Dboot-image-profile.txt13863 HSPLandroid/net/IpConfiguration$IpAssignment;->valueOf(Ljava/lang/String;)Landroid/net/IpConfigurat…
13864 HSPLandroid/net/IpConfiguration$IpAssignment;->values()[Landroid/net/IpConfiguration$IpAssignment;
13869 HSPLandroid/net/IpConfiguration;->getIpAssignment()Landroid/net/IpConfiguration$IpAssignment;
13871 HSPLandroid/net/IpConfiguration;->init(Landroid/net/IpConfiguration$IpAssignment;Landroid/net/IpCon…
13872 HSPLandroid/net/IpConfiguration;->setIpAssignment(Landroid/net/IpConfiguration$IpAssignment;)V
44397 Landroid/net/IpConfiguration$IpAssignment;
Dpreloaded-classes4201 android.net.IpConfiguration$IpAssignment
/frameworks/base/non-updatable-api/
Dsystem-current.txt6027 method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
6031 method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
6038 public enum IpConfiguration.IpAssignment {
6039 enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
6040 enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
6041 enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;
/frameworks/base/api/
Dsystem-current.txt6079 method @NonNull public android.net.IpConfiguration.IpAssignment getIpAssignment();
6083 method public void setIpAssignment(@NonNull android.net.IpConfiguration.IpAssignment);
6090 public enum IpConfiguration.IpAssignment {
6091 enum_constant public static final android.net.IpConfiguration.IpAssignment DHCP;
6092 enum_constant public static final android.net.IpConfiguration.IpAssignment STATIC;
6093 enum_constant public static final android.net.IpConfiguration.IpAssignment UNASSIGNED;