public class SupplicantBridge extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SupplicantBridge.SupplicantBridgeCallbacks
Interface to be implemented by the client to receive callbacks from SupplicantBridge.
|
Constructor and Description |
---|
SupplicantBridge(WifiNative supplicantHook,
SupplicantBridge.SupplicantBridgeCallbacks callbacks) |
Modifier and Type | Method and Description |
---|---|
boolean |
doIconQuery(long bssid,
String fileName) |
static boolean |
isAnqpAttribute(String line) |
static void |
main(String[] args) |
void |
notifyANQPDone(Long bssid,
boolean success) |
static Map<Constants.ANQPElementType,ANQPElement> |
parseANQPLines(List<String> lines) |
byte[] |
retrieveIcon(IconEvent iconEvent) |
boolean |
startANQP(ScanDetail scanDetail,
List<Constants.ANQPElementType> elements) |
static String |
unescapeSSID(String ssid) |
public SupplicantBridge(WifiNative supplicantHook, SupplicantBridge.SupplicantBridgeCallbacks callbacks)
public static boolean isAnqpAttribute(String line)
public static Map<Constants.ANQPElementType,ANQPElement> parseANQPLines(List<String> lines)
public boolean startANQP(ScanDetail scanDetail, List<Constants.ANQPElementType> elements)
public boolean doIconQuery(long bssid, String fileName)
public byte[] retrieveIcon(IconEvent iconEvent) throws IOException
IOException
public void notifyANQPDone(Long bssid, boolean success)
public static void main(String[] args)