Loading wifi/java/android/net/wifi/IWifiManager.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,8 @@ interface IWifiManager WifiConfiguration getMatchingWifiConfig(in ScanResult scanResult); List<WifiConfiguration> getAllMatchingWifiConfigs(in ScanResult scanResult); List<OsuProvider> getMatchingOsuProviders(in ScanResult scanResult); int addOrUpdateNetwork(in WifiConfiguration config); Loading wifi/java/android/net/wifi/WifiManager.java +20 −0 Original line number Diff line number Diff line Loading @@ -1028,6 +1028,26 @@ public class WifiManager { } } /** * Return all matching WifiConfigurations for this ScanResult. * * An empty list will be returned when no configurations are installed or if no configurations * match the ScanResult. * * @param scanResult scanResult that represents the BSSID * @return A list of {@link WifiConfiguration} * @throws UnsupportedOperationException if Passpoint is not enabled on the device. * @hide */ public List<WifiConfiguration> getAllMatchingWifiConfigs(ScanResult scanResult) { try { return mService.getAllMatchingWifiConfigs(scanResult); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Returns a list of Hotspot 2.0 OSU (Online Sign-Up) providers associated with the given AP. * Loading Loading
wifi/java/android/net/wifi/IWifiManager.aidl +2 −0 Original line number Diff line number Diff line Loading @@ -62,6 +62,8 @@ interface IWifiManager WifiConfiguration getMatchingWifiConfig(in ScanResult scanResult); List<WifiConfiguration> getAllMatchingWifiConfigs(in ScanResult scanResult); List<OsuProvider> getMatchingOsuProviders(in ScanResult scanResult); int addOrUpdateNetwork(in WifiConfiguration config); Loading
wifi/java/android/net/wifi/WifiManager.java +20 −0 Original line number Diff line number Diff line Loading @@ -1028,6 +1028,26 @@ public class WifiManager { } } /** * Return all matching WifiConfigurations for this ScanResult. * * An empty list will be returned when no configurations are installed or if no configurations * match the ScanResult. * * @param scanResult scanResult that represents the BSSID * @return A list of {@link WifiConfiguration} * @throws UnsupportedOperationException if Passpoint is not enabled on the device. * @hide */ public List<WifiConfiguration> getAllMatchingWifiConfigs(ScanResult scanResult) { try { return mService.getAllMatchingWifiConfigs(scanResult); } catch (RemoteException e) { throw e.rethrowFromSystemServer(); } } /** * Returns a list of Hotspot 2.0 OSU (Online Sign-Up) providers associated with the given AP. * Loading