Home
last modified time | relevance | path

Searched refs:getWifiState (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java211 public int getWifiState() { in getWifiState() method in CarWifiManager
212 return mWifiManager.getWifiState(); in getWifiState()
DWifiRequestToggleActivity.java139 final int wifiState = mCarWifiManager.getWifiState(); in onStart()
259 int currentState = mCarWifiManager.getWifiState(); in onReceive()
DWifiSettingsFragment.java68 onWifiStateChanged(mCarWifiManager.getWifiState()); in onStart()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java64 handleWifiStateChanged(mWifiManager.getWifiState());
108 final int state = mWifiManager.getWifiState(); in setupSwitchController()
DRequestToggleWiFiActivity.java145 final int wifiState = mWiFiManager.getWifiState(); in onStart()
307 final int currentState = mWiFiManager.getWifiState(); in onReceive()
DWifiSettings.java356 onWifiStateChanged(mWifiManager.getWifiState()); in onStart()
664 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
DWifiStatusTest.java180 setWifiStateText(mWifiManager.getWifiState());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java64 handleWifiStateChanged(mWifiManager.getWifiState());
108 final int state = mWifiManager.getWifiState(); in setupSwitchController()
DRequestToggleWiFiActivity.java145 final int wifiState = mWiFiManager.getWifiState(); in onStart()
307 final int currentState = mWiFiManager.getWifiState(); in onReceive()
DWifiSettings.java355 onWifiStateChanged(mWifiManager.getWifiState()); in onStart()
659 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
DWifiStatusTest.java180 setWifiStateText(mWifiManager.getWifiState());
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/slice/
DWifiSlice.java323 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
330 switch (mWifiManager.getWifiState()) { in isWifiEnabled()
340 switch (mWifiManager.getWifiState()) { in getSummary()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DConnectivityListener.java292 return mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLED in isWifiEnabledOrEnabling()
293 || mWifiManager.getWifiState() == WifiManager.WIFI_STATE_ENABLING; in isWifiEnabledOrEnabling()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DContextualWifiSlice.java79 if (mWifiManager.getWifiState() != WifiManager.WIFI_STATE_ENABLED) { in getActiveSSID()
DWifiSlice.java330 switch (mWifiManager.getWifiState()) { in isWifiEnabled()
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/
DWifiTile.java62 onWifiStateChanged(mCarWifiManager.getWifiState()); in WifiTile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiMasterSwitchPreferenceControllerTest.java81 when(mWifiManager.getWifiState()).thenReturn(WifiManager.WIFI_STATE_DISABLED); in setUp()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java131 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkListFragment.java160 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java160 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DWifiSliceTest.java267 assertThat(wifiManager.getWifiState()).isEqualTo(WifiManager.WIFI_STATE_ENABLED); in handleUriChange_updatesWifi()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java176 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java562 final String staStateStr = sWifiStaStates.get(mWifiManager.getWifiState(), "?"); in updateApState()