Home
last modified time | relevance | path

Searched refs:WifiUtil (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DAccessPointListPreferenceController.java48 new WifiUtil.ActionFailedListener(getContext(), R.string.wifi_failed_connect_message);
105 } else if (accessPoint.isSaved() && !WifiUtil.isAccessPointDisabledByWrongPassword( in onPreferenceClick()
115 WifiUtil.connectToAccessPoint(getContext(), accessPoint.getSsid().toString(), in onPreferenceChange()
121 LOG.d("Adding preference for " + WifiUtil.getKey(accessPoint)); in createAccessPointPreference()
132 if (accessPoint.isSaved() && WifiUtil.isAccessPointDisabledByWrongPassword(accessPoint)) { in createAccessPointPreference()
135 preference -> WifiUtil.forget(getContext(), accessPoint)); in createAccessPointPreference()
DNetworkPasswordPreferenceController.java100 int netId = WifiUtil.connectToAccessPoint(getContext(), mNetworkName, mSecurityType, in handlePreferenceChanged()
104 if (netId != WifiUtil.INVALID_NET_ID) { in handlePreferenceChanged()
DAddWifiFragment.java107 int netId = WifiUtil.connectToAccessPoint(getContext(), mNetworkName, in onActivityCreated()
111 if (netId != WifiUtil.INVALID_NET_ID) { in onActivityCreated()
DWifiUtil.java42 public class WifiUtil { class
44 private static final Logger LOG = new Logger(WifiUtil.class);
DWifiEntryPreferenceController.java56 return WifiUtil.isWifiAvailable(getContext()) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DWifiBasePreferenceController.java67 return WifiUtil.isWifiAvailable(getContext()) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
DAccessPointPreference.java78 || WifiUtil.isAccessPointDisabledByWrongPassword(mAccessPoint)); in shouldShowPasswordDialog()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java29 import com.android.car.settings.wifi.WifiUtil;
72 return WifiUtil.isWifiAvailable(mContext); in isAvailable()
113 mIconRes = WifiUtil.getIconRes(state); in onWifiStateChanged()
114 int stringId = WifiUtil.getStateDesc(state); in onWifiStateChanged()
122 mState = WifiUtil.isWifiOn(state) ? State.ON : State.OFF; in onWifiStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsFragment.java40 import com.android.car.settings.wifi.WifiUtil;
159 WifiUtil.forget(getContext(), mAccessPoint); in onActivityCreated()
243 return wifiConfig != null && !WifiUtil.isNetworkLockedDown(getContext(), wifiConfig); in canModifyNetwork()
DWifiDetailsBasePreferenceController.java32 import com.android.car.settings.wifi.WifiUtil;
116 if (!WifiUtil.isWifiAvailable(getContext())) { in getAvailabilityStatus()