public static class WifiScanner.PnoSettings extends Object implements Parcelable
WifiScanner.startPnoScan(android.net.wifi.WifiScanner.ScanSettings, android.net.wifi.WifiScanner.PnoSettings, int)
.
Note: This structure needs to be in sync with |wifi_epno_params| struct in gscan HAL API.
Modifier and Type | Class and Description |
---|---|
static class |
WifiScanner.PnoSettings.PnoNetwork
Pno network to be added to the PNO scan filtering.
|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
int |
band5GHzBonus
5GHz RSSI score bonus (applied to all 5GHz networks)
|
static Parcelable.Creator<WifiScanner.PnoSettings> |
CREATOR
Implement the Parcelable interface
|
int |
currentConnectionBonus
Only report when there is a network's score this much higher
than the current connection.
|
int |
initialScoreMax
Maximum score that a network can have before bonuses
|
boolean |
isConnected
Connected vs Disconnected PNO flag
|
int |
min24GHzRssi
Minimum 2.4GHz RSSI for a BSSID to be considered
|
int |
min5GHzRssi
Minimum 5GHz RSSI for a BSSID to be considered
|
WifiScanner.PnoSettings.PnoNetwork[] |
networkList
Pno Network filter list
|
int |
sameNetworkBonus
score bonus for all networks with the same network flag
|
int |
secureBonus
score bonus for networks that are not open
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
PnoSettings() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Implement the Parcelable interface
|
void |
writeToParcel(Parcel dest,
int flags)
Implement the Parcelable interface
|
public boolean isConnected
public int min5GHzRssi
public int min24GHzRssi
public int initialScoreMax
public int currentConnectionBonus
public int sameNetworkBonus
public int secureBonus
public int band5GHzBonus
public WifiScanner.PnoSettings.PnoNetwork[] networkList
public static final Parcelable.Creator<WifiScanner.PnoSettings> CREATOR
public int describeContents()
describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.