Loading api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7530,7 +7530,7 @@ package android.net.wifi { } public static interface WifiManager.ScoreChangeCallback { method public void onScoreChange(int, @NonNull android.net.NetworkScore); method public void onScoreChange(int, int); method public void onTriggerUpdateOfWifiUsabilityStats(int); } wifi/java/android/net/wifi/IScoreChangeCallback.aidl +2 −4 Original line number Diff line number Diff line Loading @@ -16,16 +16,14 @@ package android.net.wifi; import android.net.NetworkScore; /** * Interface for Wi-Fi network score callback. * Interface for Wi-Fi score callback. * * @hide */ oneway interface IScoreChangeCallback { void onScoreChange(int sessionId, in NetworkScore score); void onScoreChange(int sessionId, int score); void onTriggerUpdateOfWifiUsabilityStats(int sessionId); } wifi/java/android/net/wifi/WifiManager.java +4 −6 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ import android.net.ConnectivityManager; import android.net.DhcpInfo; import android.net.MacAddress; import android.net.Network; import android.net.NetworkScore; import android.net.NetworkStack; import android.net.wifi.hotspot2.IProvisioningCallback; import android.net.wifi.hotspot2.OsuProvider; Loading Loading @@ -5994,11 +5993,10 @@ public class WifiManager { * * @param sessionId The ID to indicate current Wi-Fi network connection obtained from * {@link WifiConnectedNetworkScorer#start(int)}. * @param score The {@link android.net.NetworkScore} object representing the * characteristics of current Wi-Fi network. Populated by connected network * scorer in applications. * @param score The score representing link quality of current Wi-Fi network connection. * Populated by connected network scorer in applications.. */ void onScoreChange(int sessionId, @NonNull NetworkScore score); void onScoreChange(int sessionId, int score); /** * Called by applications to trigger an update of {@link WifiUsabilityStatsEntry}. Loading @@ -6024,7 +6022,7 @@ public class WifiManager { } @Override public void onScoreChange(int sessionId, @NonNull NetworkScore score) { public void onScoreChange(int sessionId, int score) { try { mScoreChangeCallback.onScoreChange(sessionId, score); } catch (RemoteException e) { Loading Loading
api/system-current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -7530,7 +7530,7 @@ package android.net.wifi { } public static interface WifiManager.ScoreChangeCallback { method public void onScoreChange(int, @NonNull android.net.NetworkScore); method public void onScoreChange(int, int); method public void onTriggerUpdateOfWifiUsabilityStats(int); }
wifi/java/android/net/wifi/IScoreChangeCallback.aidl +2 −4 Original line number Diff line number Diff line Loading @@ -16,16 +16,14 @@ package android.net.wifi; import android.net.NetworkScore; /** * Interface for Wi-Fi network score callback. * Interface for Wi-Fi score callback. * * @hide */ oneway interface IScoreChangeCallback { void onScoreChange(int sessionId, in NetworkScore score); void onScoreChange(int sessionId, int score); void onTriggerUpdateOfWifiUsabilityStats(int sessionId); }
wifi/java/android/net/wifi/WifiManager.java +4 −6 Original line number Diff line number Diff line Loading @@ -39,7 +39,6 @@ import android.net.ConnectivityManager; import android.net.DhcpInfo; import android.net.MacAddress; import android.net.Network; import android.net.NetworkScore; import android.net.NetworkStack; import android.net.wifi.hotspot2.IProvisioningCallback; import android.net.wifi.hotspot2.OsuProvider; Loading Loading @@ -5994,11 +5993,10 @@ public class WifiManager { * * @param sessionId The ID to indicate current Wi-Fi network connection obtained from * {@link WifiConnectedNetworkScorer#start(int)}. * @param score The {@link android.net.NetworkScore} object representing the * characteristics of current Wi-Fi network. Populated by connected network * scorer in applications. * @param score The score representing link quality of current Wi-Fi network connection. * Populated by connected network scorer in applications.. */ void onScoreChange(int sessionId, @NonNull NetworkScore score); void onScoreChange(int sessionId, int score); /** * Called by applications to trigger an update of {@link WifiUsabilityStatsEntry}. Loading @@ -6024,7 +6022,7 @@ public class WifiManager { } @Override public void onScoreChange(int sessionId, @NonNull NetworkScore score) { public void onScoreChange(int sessionId, int score) { try { mScoreChangeCallback.onScoreChange(sessionId, score); } catch (RemoteException e) { Loading