[Wi-Fi] Replace some WifiEntryShell methods with WifiEntry version

These WifiEntryShell methods are removed:

getNetworkId
hiddenSSID
isPasspoint

Bug: 143326832
Test: build
Change-Id: I6642992a90ea18328817cb58931cc370045b1e56
This commit is contained in:
Arc Wang
2020-01-02 18:11:32 +08:00
parent 0a13ae9aea
commit 08b4204643
4 changed files with 12 additions and 75 deletions

View File

@@ -16,8 +16,6 @@
package com.android.settings.wifi;
import android.net.wifi.WifiConfiguration;
import com.android.wifitrackerlib.WifiEntry;
/**
@@ -50,20 +48,6 @@ public class WifiEntryShell {
*/
public static final int HIGHER_FREQ_5GHZ = 5900;
/**
* Mapping of the corresponding {@link WifiConfiguration} field
*/
public static int getNetworkId(WifiEntry wifiEntry) {
return 0;
}
/**
* Mapping of the corresponding {@link WifiConfiguration} field
*/
public static boolean hiddenSSID(WifiEntry wifiEntry) {
return false;
}
/**
* Mapping of the corresponding {@link AccessPoint} method
*/
@@ -73,13 +57,6 @@ public class WifiEntryShell {
// Passpoint methods
/**
* Mapping of the corresponding {@link AccessPoint} method
*/
public static boolean isPasspoint(WifiEntry wifiEntry) {
return false;
}
/**
* Mapping of the corresponding {@link AccessPoint} method
*/