public class ScanScheduleUtil extends Object
Constructor and Description |
---|
ScanScheduleUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
bucketEquals(WifiNative.BucketSettings bucket1,
WifiNative.BucketSettings bucket2)
Compares two BucketSettings for equality.
|
static boolean |
channelEquals(WifiNative.ChannelSettings channel1,
WifiNative.ChannelSettings channel2)
Compares two ChannelSettings for equality.
|
static WifiScanner.ScanData[] |
filterResultsForSettings(ChannelHelper channelHelper,
WifiScanner.ScanData[] scanDatas,
WifiScanner.ScanSettings settings,
int scheduledBucket)
Returns a filtered version of the scan results from the chip that represents only the data
requested in the settings.
|
static boolean |
scheduleEquals(WifiNative.ScanSettings schedule1,
WifiNative.ScanSettings schedule2)
Compares two ScanSettings for equality.
|
static boolean |
shouldReportFullScanResultForSettings(ChannelHelper channelHelper,
ScanResult result,
int bucketsScanned,
WifiScanner.ScanSettings settings,
int scheduledBucket)
Returns true if the given scan result should be reported to a listener with the given
settings.
|
public static boolean channelEquals(WifiNative.ChannelSettings channel1, WifiNative.ChannelSettings channel2)
public static boolean bucketEquals(WifiNative.BucketSettings bucket1, WifiNative.BucketSettings bucket2)
public static boolean scheduleEquals(WifiNative.ScanSettings schedule1, WifiNative.ScanSettings schedule2)
public static boolean shouldReportFullScanResultForSettings(ChannelHelper channelHelper, ScanResult result, int bucketsScanned, WifiScanner.ScanSettings settings, int scheduledBucket)
public static WifiScanner.ScanData[] filterResultsForSettings(ChannelHelper channelHelper, WifiScanner.ScanData[] scanDatas, WifiScanner.ScanSettings settings, int scheduledBucket)