Home
last modified time | relevance | path

Searched refs:ipv4ProvisioningModeToString (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/shared/
DProvisioningConfigurationTest.java30 import static android.net.shared.ProvisioningConfiguration.ipv4ProvisioningModeToString;
322 assertEquals("disabled", ipv4ProvisioningModeToString(PROV_IPV4_DISABLED)); in testIpProvisioningModeToString()
323 assertEquals("static", ipv4ProvisioningModeToString(PROV_IPV4_STATIC)); in testIpProvisioningModeToString()
324 assertEquals("dhcp", ipv4ProvisioningModeToString(PROV_IPV4_DHCP)); in testIpProvisioningModeToString()
325 assertEquals("unknown", ipv4ProvisioningModeToString(0x03 /* unknown mode */)); in testIpProvisioningModeToString()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/shared/
DProvisioningConfiguration.java617 static String ipv4ProvisioningModeToString(int mode) { in ipv4ProvisioningModeToString() method in ProvisioningConfiguration
646 final String ipv4ProvisioningMode = ipv4ProvisioningModeToString(mIPv4ProvisioningMode); in toString()