Searched refs:ipv6ProvisioningModeToString (Results 1 – 2 of 2) sorted by relevance
31 import static android.net.shared.ProvisioningConfiguration.ipv6ProvisioningModeToString;327 assertEquals("disabled", ipv6ProvisioningModeToString(PROV_IPV6_DISABLED)); in testIpProvisioningModeToString()328 assertEquals("slaac", ipv6ProvisioningModeToString(PROV_IPV6_SLAAC)); in testIpProvisioningModeToString()329 assertEquals("link-local", ipv6ProvisioningModeToString(PROV_IPV6_LINKLOCAL)); in testIpProvisioningModeToString()330 assertEquals("unknown", ipv6ProvisioningModeToString(0x03 /* unknown mode */)); in testIpProvisioningModeToString()
631 static String ipv6ProvisioningModeToString(int mode) { in ipv6ProvisioningModeToString() method in ProvisioningConfiguration647 final String ipv6ProvisioningMode = ipv6ProvisioningModeToString(mIPv6ProvisioningMode); in toString()