Searched refs:ipv4ProvisioningModeToString (Results 1 – 2 of 2) sorted by relevance
30 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()
617 static String ipv4ProvisioningModeToString(int mode) { in ipv4ProvisioningModeToString() method in ProvisioningConfiguration646 final String ipv4ProvisioningMode = ipv4ProvisioningModeToString(mIPv4ProvisioningMode); in toString()