Lines Matching refs:mWifiManager
96 public WifiManager mWifiManager;
243 mWifiManager =(WifiManager)getSystemService(Context.WIFI_SERVICE);
245 mChannel = mWifiManager.initialize(mContext, mContext.getMainLooper(), null);
247 if (mWifiManager.isWifiApEnabled()) {
249 mWifiManager.setWifiApEnabled(null, false);
436 if (mWifiManager.getWifiApState() != expectedState) {
449 if (mWifiManager.getWifiApState() != expectedState) {
450 log("Wifi state is: " + mWifiManager.getWifiApState());
497 return mWifiManager.setWifiEnabled(true);
581 if (!mWifiManager.isWifiEnabled()) {
583 mWifiManager.setWifiEnabled(true);
593 List<ScanResult> netList = mWifiManager.getScanResults();
602 mWifiManager.connect(mChannel, config,
618 mWifiManager.startScanActive();
634 if ((mWifiManager.getScanResults() == null) ||
635 (mWifiManager.getScanResults().size() <= 0)) {
651 if (!mWifiManager.isWifiEnabled()) {
653 mWifiManager.setWifiEnabled(true);
656 List<WifiConfiguration> wifiConfigList = mWifiManager.getConfiguredNetworks();
661 mWifiManager.forget(mChannel, netId, new WifiManager.ActionListener() {
676 return mWifiManager.setWifiEnabled(false);
687 if (!mWifiManager.setWifiEnabled(false)) {