Home
last modified time | relevance | path

Searched refs:wifiState (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DRequestToggleWiFiActivity.java145 final int wifiState = mWiFiManager.getWifiState(); in onStart() local
149 switch (wifiState) { in onStart()
163 switch (wifiState) { in onStart()
179 switch (wifiState) { in onStart()
197 switch (wifiState) { in onStart()
DWifiStatusTest.java232 private void setWifiStateText(int wifiState) { in setWifiStateText() argument
234 switch(wifiState) { in setWifiStateText()
263 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument
264 setWifiStateText(wifiState); in handleWifiStateChanged()
DWifiSettings.java659 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged() local
660 switch (wifiState) { in onWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java145 final int wifiState = mWiFiManager.getWifiState(); in onStart() local
149 switch (wifiState) { in onStart()
163 switch (wifiState) { in onStart()
179 switch (wifiState) { in onStart()
197 switch (wifiState) { in onStart()
DWifiStatusTest.java232 private void setWifiStateText(int wifiState) { in setWifiStateText() argument
234 switch(wifiState) { in setWifiStateText()
263 private void handleWifiStateChanged(int wifiState) { in handleWifiStateChanged() argument
264 setWifiStateText(wifiState); in handleWifiStateChanged()
DWifiSettings.java662 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged() local
663 switch (wifiState) { in onWifiStateChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiRequestToggleActivity.java140 final int wifiState = mCarWifiManager.getWifiState(); in onStart() local
144 switch (wifiState) { in onStart()
160 switch (wifiState) { in onStart()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragmentTest.java130 private void setWifiState(int wifiState) { in setWifiState() argument
131 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()
132 when(mWifiManager.isWifiEnabled()).thenReturn(wifiState == WifiManager.WIFI_STATE_ENABLED); in setWifiState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java106 public static void setWifiState(int wifiState) { in setWifiState() argument
107 sWifiState = wifiState; in setWifiState()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiSettingsUiTest.java175 private void setWifiState(int wifiState) { in setWifiState() argument
176 when(mWifiManager.getWifiState()).thenReturn(wifiState); in setWifiState()
177 when(mWifiManager.isWifiEnabled()).thenReturn(wifiState == WifiManager.WIFI_STATE_ENABLED); in setWifiState()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java146 int wifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 0);
148 && wifiState == WifiManager.WIFI_STATE_ENABLED) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkListFragment.java160 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged() local
161 switch (wifiState) { in onWifiStateChanged()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java160 final int wifiState = mWifiManager.getWifiState(); in onWifiStateChanged() local
161 switch (wifiState) { in onWifiStateChanged()