Home
last modified time | relevance | path

Searched refs:WIFI_AP_STATE_ENABLED (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/
DWifiTetherSwitchBarController.java73 mSwitchBar.setChecked(mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED); in WifiTetherSwitchBarController()
130 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApStateChanged()
DWifiTetherPreferenceController.java133 && mSoftApState == WifiManager.WIFI_AP_STATE_ENABLED) { in initWifiTetherSoftApManager()
149 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApStateChanged()
DWifiTetherSettings.java197 if (mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED) { in onTetherConfigUpdated()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java73 mSwitchBar.setChecked(mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED); in WifiTetherSwitchBarController()
130 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApStateChanged()
DWifiTetherPreferenceController.java133 && mSoftApState == WifiManager.WIFI_AP_STATE_ENABLED) { in initWifiTetherSoftApManager()
149 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApStateChanged()
DWifiTetherSettings.java197 if (mWifiManager.getWifiApState() == WifiManager.WIFI_AP_STATE_ENABLED) { in onTetherConfigUpdated()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java27 import static android.net.wifi.WifiManager.WIFI_AP_STATE_ENABLED;
604 if (mWifiManager.getWifiApState() == WIFI_AP_STATE_ENABLED) { in startTetheredApLocked()
754 if (currState == WIFI_AP_STATE_ENABLING || currState == WIFI_AP_STATE_ENABLED) { in handleWifiApStateChange()
960 case WifiManager.WIFI_AP_STATE_ENABLED: { in onStateChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEnablerTest.java64 when(mWifiManager.getWifiApState()).thenReturn(WifiManager.WIFI_AP_STATE_ENABLED); in onSwitchToggled_avoidBadWifiConfigIsFalse_shouldReturnTrue()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherFragment.java141 case WifiManager.WIFI_AP_STATE_ENABLED: in handleWifiApStateChanged()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/
DConnectivityFragment.java299 sWifiApStates.put(WifiManager.WIFI_AP_STATE_ENABLED, "AP_ENABLED"); in sWifiApStates.put() argument
565 if (config != null && config.SSID != null && apState == WifiManager.WIFI_AP_STATE_ENABLED) { in updateApState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceControllerTest.java123 mController.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_ENABLED, 0 /* reason */); in testHandleWifiApStateChanged_stateEnabled_showEnabledSummary()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherFragmentTest.java138 intent.putExtra(WifiManager.EXTRA_WIFI_AP_STATE, WifiManager.WIFI_AP_STATE_ENABLED); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()