Searched refs:mConnectivityListener (Results 1 – 6 of 6) sorted by relevance
63 private ConnectivityListener mConnectivityListener; field in NetworkFragment92 mConnectivityListener = new ConnectivityListener(getContext(), this, getLifecycle()); in onCreate()101 mConnectivityListener.setWifiListener(this); in onStart()143 mConnectivityListener.setWifiEnabled(mEnableWifiPref.isChecked()); in onPreferenceTreeClick()152 mConnectivityListener.isWifiConnected()); in onPreferenceTreeClick()182 final boolean wifiEnabled = mConnectivityListener.isWifiEnabledOrEnabling(); in updateConnectivity()202 final boolean ethernetAvailable = mConnectivityListener.isEthernetAvailable(); in updateConnectivity()210 mConnectivityListener.isEthernetConnected(); in updateConnectivity()213 mEthernetStatusPref.setSummary(mConnectivityListener.getEthernetIpAddress()); in updateConnectivity()222 if (!mConnectivityListener.isWifiEnabledOrEnabling()) { in updateWifiList()[all …]
63 private ConnectivityListener mConnectivityListener; field in WifiDetailsFragment79 mConnectivityListener = new ConnectivityListener(getContext(), this, getLifecycle()); in onCreate()89 mConnectivityListener.setWifiListener(this); in onStart()125 final List<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks(); in onWifiListChanged()151 mIpAddressPref.setSummary(mConnectivityListener.getWifiIpAddress()); in update()152 mMacAddressPref.setSummary(mConnectivityListener.getWifiMacAddress()); in update()181 int strength = mConnectivityListener.getWifiSignalStrength(signalLevels.length); in getSignalStrength()
108 private ConnectivityListener mConnectivityListener; field in ConnectState.ConnectToWifiFragment129 mConnectivityListener = new ConnectivityListener(getActivity(), null); in onCreate()130 mConnectivityListener.start(); in onCreate()140 mConnectivityListener.setWifiListener(this); in onCreate()165 mConnectivityListener.stop(); in onDestroy()166 mConnectivityListener.destroy(); in onDestroy()173 List<AccessPoint> accessPointList = mConnectivityListener.getAvailableNetworks(); in onWifiListChanged()
81 ConnectivityListener mConnectivityListener; field in MainFragment125 mConnectivityListener = in onCreate()259 if (mConnectivityListener.isCellConnected()) { in updateWifi()260 final int signal = mConnectivityListener.getCellSignalStrength(); in updateWifi()279 } else if (mConnectivityListener.isEthernetConnected()) { in updateWifi()282 } else if (mConnectivityListener.isWifiEnabledOrEnabling()) { in updateWifi()283 if (mConnectivityListener.isWifiConnected()) { in updateWifi()284 final int signal = mConnectivityListener.getWifiSignalStrength(5); in updateWifi()303 networkPref.setSummary(mConnectivityListener.getSsid()); in updateWifi()
76 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_NoNetwork()93 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_hasEthernet()110 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_hasEthernetConnected()127 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_wifiSignal()176 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_notConnected()193 mMainFragment.mConnectivityListener = listener; in testUpdateWifi_cellSignal()
76 private DataConnectivityListener mConnectivityListener; field in SubscriptionsPreferenceController118 mConnectivityListener = new DataConnectivityListener(context, this); in SubscriptionsPreferenceController()127 mConnectivityListener.start(); in onResume()136 mConnectivityListener.stop(); in onPause()