Lines Matching refs:mWifiManager
96 public WifiManager mWifiManager;
242 mWifiManager =(WifiManager)getSystemService(Context.WIFI_SERVICE);
243 mWifiManager.asyncConnect(this, new WifiServiceHandler());
247 mWifiManager.setWifiEnabled(true);
431 if (mWifiManager.getWifiApState() != expectedState) {
444 if (mWifiManager.getWifiApState() != expectedState) {
445 log("Wifi state is: " + mWifiManager.getWifiApState());
492 return mWifiManager.setWifiEnabled(true);
576 if (!mWifiManager.isWifiEnabled()) {
578 mWifiManager.setWifiEnabled(true);
588 List<ScanResult> netList = mWifiManager.getScanResults();
597 mWifiManager.connectNetwork(config);
606 mWifiManager.startScanActive();
622 if ((mWifiManager.getScanResults() == null) ||
623 (mWifiManager.getScanResults().size() <= 0)) {
639 List<WifiConfiguration> wifiConfigList = mWifiManager.getConfiguredNetworks();
644 mWifiManager.forgetNetwork(netId);
653 return mWifiManager.setWifiEnabled(false);
664 if (!mWifiManager.setWifiEnabled(false)) {