public class WifiMonitor extends Object
StateMachine
for handling. Runs in its own thread.Modifier and Type | Method and Description |
---|---|
static WifiMonitor |
getInstance() |
void |
killSupplicant(boolean p2pSupported) |
void |
registerHandler(String iface,
int what,
Handler handler) |
void |
startMonitoring(String iface) |
void |
stopMonitoring(String iface) |
void |
stopSupplicant() |
public static final String HS20_SUB_REM_STR
public static final String HS20_DEAUTH_STR
public static final int SUP_CONNECTION_EVENT
public static final int SUP_DISCONNECTION_EVENT
public static final int NETWORK_CONNECTION_EVENT
public static final int NETWORK_DISCONNECTION_EVENT
public static final int SCAN_RESULTS_EVENT
public static final int SUPPLICANT_STATE_CHANGE_EVENT
public static final int AUTHENTICATION_FAILURE_EVENT
public static final int WPS_SUCCESS_EVENT
public static final int WPS_FAIL_EVENT
public static final int WPS_OVERLAP_EVENT
public static final int WPS_TIMEOUT_EVENT
public static final int DRIVER_HUNG_EVENT
public static final int SSID_TEMP_DISABLED
public static final int SSID_REENABLED
public static final int SUP_REQUEST_IDENTITY
public static final int SUP_REQUEST_SIM_AUTH
public static final int SCAN_FAILED_EVENT
public static final int P2P_DEVICE_FOUND_EVENT
public static final int P2P_DEVICE_LOST_EVENT
public static final int P2P_GO_NEGOTIATION_REQUEST_EVENT
public static final int P2P_GO_NEGOTIATION_SUCCESS_EVENT
public static final int P2P_GO_NEGOTIATION_FAILURE_EVENT
public static final int P2P_GROUP_FORMATION_SUCCESS_EVENT
public static final int P2P_GROUP_FORMATION_FAILURE_EVENT
public static final int P2P_GROUP_STARTED_EVENT
public static final int P2P_GROUP_REMOVED_EVENT
public static final int P2P_INVITATION_RECEIVED_EVENT
public static final int P2P_INVITATION_RESULT_EVENT
public static final int P2P_PROV_DISC_PBC_REQ_EVENT
public static final int P2P_PROV_DISC_PBC_RSP_EVENT
public static final int P2P_PROV_DISC_ENTER_PIN_EVENT
public static final int P2P_PROV_DISC_SHOW_PIN_EVENT
public static final int P2P_FIND_STOPPED_EVENT
public static final int P2P_SERV_DISC_RESP_EVENT
public static final int P2P_PROV_DISC_FAILURE_EVENT
public static final int AP_STA_DISCONNECTED_EVENT
public static final int AP_STA_CONNECTED_EVENT
public static final int ASSOCIATION_REJECTION_EVENT
public static final int ANQP_DONE_EVENT
public static final int GAS_QUERY_START_EVENT
public static final int GAS_QUERY_DONE_EVENT
public static final int RX_HS20_ANQP_ICON_EVENT
public static final int HS20_REMEDIATION_EVENT
public static WifiMonitor getInstance()
public void startMonitoring(String iface)
public void stopMonitoring(String iface)
public void stopSupplicant()
public void killSupplicant(boolean p2pSupported)