Home
last modified time | relevance | path

Searched refs:mConnectivityListener (Results 1 – 9 of 9) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DWifiDetailsFragment.java77 private ConnectivityListener mConnectivityListener; field in WifiDetailsFragment
88 mConnectivityListener = new ConnectivityListener( in onCreate()
99 mConnectivityListener.setWifiListener(this); in onStart()
131 final List<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks(); in onWifiListChanged()
156 mIpAddressPref.setSummary(mConnectivityListener.getWifiIpAddress()); in update()
161 String macAddress = mConnectivityListener.getWifiMacAddress(mAccessPoint); in update()
229 int strength = mConnectivityListener.getWifiSignalStrength(signalLevels.length); in getSignalStrength()
256 mRandomMacPref.setVisible(mConnectivityListener.isMacAddressRandomizationSupported()); in updateRandomMacPref()
258 (mConnectivityListener.getWifiMacRandomizationSetting(mAccessPoint) in updateRandomMacPref()
271 mConnectivityListener.applyMacRandomizationSetting( in updateRandomMacPref()
DNetworkFragment.java93 private ConnectivityListener mConnectivityListener; field in NetworkFragment
129 mConnectivityListener = new ConnectivityListener( in onCreate()
141 mConnectivityListener.setWifiListener(this); in onStart()
254 mConnectivityListener.setWifiEnabled(mEnableWifiPref.isChecked()); in onPreferenceTreeClick()
299 && mConnectivityListener.isWifiEnabledOrEnabling(); in updateConnectivity()
328 final boolean ethernetAvailable = mConnectivityListener.isEthernetAvailable(); in updateConnectivity()
346 mConnectivityListener.isEthernetConnected(); in updateConnectivity()
349 mEthernetStatusPref.setSummary(mConnectivityListener.getEthernetIpAddress()); in updateConnectivity()
360 if (!mIsWifiHardwarePresent || !mConnectivityListener.isWifiEnabledOrEnabling()) { in updateWifiList()
381 final Collection<AccessPoint> accessPoints = mConnectivityListener.getAvailableNetworks(); in updateWifiList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java105 private ConnectivityListener mConnectivityListener; field in ConnectState.ConnectToWifiFragment
129 mConnectivityListener = new ConnectivityListener(getActivity(), null); in onCreate()
130 mConnectivityListener.start(); in onCreate()
143 mConnectivityListener.setWifiListener(this); in onCreate()
195 mConnectivityListener.stop(); in onDestroy()
196 mConnectivityListener.destroy(); in onDestroy()
203 List<AccessPoint> accessPointList = mConnectivityListener.getAvailableNetworks(); in onWifiListChanged()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DMainFragment.java115 ConnectivityListener mConnectivityListener; field in MainFragment
160 mConnectivityListener = new ConnectivityListener(getContext(), this::updateConnectivity, in onCreate()
224 if (mConnectivityListener.isCellConnected()) { in updateConnectivity()
225 final int signal = mConnectivityListener.getCellSignalStrength(); in updateConnectivity()
244 } else if (mConnectivityListener.isEthernetConnected()) { in updateConnectivity()
247 } else if (mConnectivityListener.isWifiEnabledOrEnabling()) { in updateConnectivity()
248 if (mConnectivityListener.isWifiConnected()) { in updateConnectivity()
249 final int signal = mConnectivityListener.getWifiSignalStrength(5); in updateConnectivity()
268 networkPref.setSummary(mConnectivityListener.getSsid()); in updateConnectivity()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/service/network/
DNetworkModule.java38 private ConnectivityListener mConnectivityListener; field in NetworkModule
90 mConnectivityListener = new ConnectivityListener(mContext, this, null); in create()
100 mConnectivityListener.destroy(); in destroy()
119 return mConnectivityListener; in getConnectivityListener()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java68 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_NoNetwork()
85 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_hasEthernet()
102 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_hasEthernetConnected()
119 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_wifiSignal()
168 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_notConnected()
185 mMainFragment.mConnectivityListener = listener; in testUpdateConnectivity_cellSignal()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java110 private DataConnectivityListener mConnectivityListener; field in InternetConnectivityPanel
152 mConnectivityListener = new DataConnectivityListener(context, this); in InternetConnectivityPanel()
177 mConnectivityListener.start(); in onResume()
193 mConnectivityListener.stop(); in onPause()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWorker.java65 private DataConnectivityListener mConnectivityListener; field in NetworkProviderWorker
104 mConnectivityListener = new DataConnectivityListener(context, this); in NetworkProviderWorker()
118 mConnectivityListener.start(); in onSlicePinned()
133 mConnectivityListener.stop(); in onSliceUnpinned()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionsPreferenceController.java100 private DataConnectivityListener mConnectivityListener; field in SubscriptionsPreferenceController
163 mConnectivityListener = new DataConnectivityListener(context, this); in SubscriptionsPreferenceController()
188 mConnectivityListener.start(); in onResume()
199 mConnectivityListener.stop(); in onPause()