Loading api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -29555,6 +29555,7 @@ package android.net.wifi { method public int getWifiState(); method public boolean is5GHzBandSupported(); method public boolean isDeviceToApRttSupported(); method public boolean isDppSupported(); method public boolean isEnhancedPowerReportingSupported(); method public boolean isOweSupported(); method public boolean isP2pSupported(); wifi/java/android/net/wifi/WifiManager.java +9 −0 Original line number Diff line number Diff line Loading @@ -2017,6 +2017,8 @@ public class WifiManager { public static final int WIFI_FEATURE_OWE = 0x20000000; // Enhanced Open /** @hide */ public static final int WIFI_FEATURE_LOW_LATENCY = 0x40000000; // Low Latency modes /** @hide */ public static final int WIFI_FEATURE_DPP = 0x80000000; // DPP (Easy-Connect) private int getSupportedFeatures() { try { Loading Loading @@ -4462,6 +4464,13 @@ public class WifiManager { return isFeatureSupported(WIFI_FEATURE_OWE); } /** * @return true if this device supports Wi-Fi Device Provisioning Protocol (Easy-connect) */ public boolean isDppSupported() { return isFeatureSupported(WIFI_FEATURE_DPP); } /** * Gets the factory Wi-Fi MAC addresses. * @return Array of String representing Wi-Fi MAC addresses sorted lexically or an empty Array Loading Loading
api/current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -29555,6 +29555,7 @@ package android.net.wifi { method public int getWifiState(); method public boolean is5GHzBandSupported(); method public boolean isDeviceToApRttSupported(); method public boolean isDppSupported(); method public boolean isEnhancedPowerReportingSupported(); method public boolean isOweSupported(); method public boolean isP2pSupported();
wifi/java/android/net/wifi/WifiManager.java +9 −0 Original line number Diff line number Diff line Loading @@ -2017,6 +2017,8 @@ public class WifiManager { public static final int WIFI_FEATURE_OWE = 0x20000000; // Enhanced Open /** @hide */ public static final int WIFI_FEATURE_LOW_LATENCY = 0x40000000; // Low Latency modes /** @hide */ public static final int WIFI_FEATURE_DPP = 0x80000000; // DPP (Easy-Connect) private int getSupportedFeatures() { try { Loading Loading @@ -4462,6 +4464,13 @@ public class WifiManager { return isFeatureSupported(WIFI_FEATURE_OWE); } /** * @return true if this device supports Wi-Fi Device Provisioning Protocol (Easy-connect) */ public boolean isDppSupported() { return isFeatureSupported(WIFI_FEATURE_DPP); } /** * Gets the factory Wi-Fi MAC addresses. * @return Array of String representing Wi-Fi MAC addresses sorted lexically or an empty Array Loading