Home
last modified time | relevance | path

Searched refs:handleWifiApStateChanged (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherPreferenceControllerTest.java141 mController.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_ENABLING, 0 /* reason */); in testHandleWifiApStateChanged_stateEnabling_showEnablingSummary()
148 mController.handleWifiApStateChanged(WIFI_AP_STATE_ENABLED, 0 /* reason */); in testHandleWifiApStateChanged_stateEnabled_showEnabledSummary()
155 mController.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0 /* reason */); in testHandleWifiApStateChanged_stateDisabling_showDisablingSummary()
162 mController.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0 /* reason */); in testHandleWifiApStateChanged_stateDisabled_showDisabledSummary()
170 mController.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0 /* reason */); in handleWifiApStateChanged_stateDisabled_setSwitchUnchecked()
177 mController.handleWifiApStateChanged(WIFI_AP_STATE_ENABLED, 0 /* reason */); in handleWifiApStateChanged_stateEnabled_setSwitchChecked()
DWifiTetherSwitchBarControllerTest.java178 mController.handleWifiApStateChanged(WIFI_AP_STATE_ENABLING); in handleWifiApStateChanged_stateIsEnabling_notEnabledSwitchBar()
187 mController.handleWifiApStateChanged(WIFI_AP_STATE_DISABLING); in handleWifiApStateChanged_stateIsDisabling_notEnabledSwitchBar()
197 mController.handleWifiApStateChanged(WIFI_AP_STATE_ENABLED); in handleWifiApStateChanged_stateIsEnabled_enabledAndCheckedSwitchBar()
208 mController.handleWifiApStateChanged(WIFI_AP_STATE_DISABLED); in handleWifiApStateChanged_stateIsDisabled_enabledAndUncheckedSwitchBar()
219 mController.handleWifiApStateChanged(WIFI_AP_STATE_FAILED); in handleWifiApStateChanged_stateIsFailed_enabledAndUncheckedSwitchBar()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiTetheringHandlerTest.java125 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_ENABLING); in onTetherEnabling_shouldReturnSwitchStateDisabled()
136 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_ENABLED); in onTetherEnabled_shouldReturnSwitchStateEnabledAndOn()
148 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_DISABLED); in onTetherDisabled_shouldReturnSwitchStateEnabledAndOff()
160 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_ENABLING); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
161 mWifiTetheringHandler.handleWifiApStateChanged(WifiManager.WIFI_AP_STATE_FAILED); in onEnableTetherFailed_shouldReturnSwitchStateEnabledAndOff()
/packages/apps/Settings/src/com/android/settings/wifi/tether/
DWifiTetherSwitchBarController.java69 handleWifiApStateChanged(mWifiManager.getWifiApState());
94 handleWifiApStateChanged(mWifiManager.getWifiApState()); in onStart()
144 handleWifiApStateChanged(state);
150 void handleWifiApStateChanged(int state) { in handleWifiApStateChanged() method in WifiTetherSwitchBarController
DWifiTetherPreferenceController.java166 handleWifiApStateChanged(state, failureReason); in initWifiTetherSoftApManager()
183 void handleWifiApStateChanged(int state, int reason) { in handleWifiApStateChanged() method in WifiTetherPreferenceController
241 handleWifiApStateChanged(wifiApState, SAP_START_FAILURE_GENERAL); in updateSwitch()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetheringHandler.java51 handleWifiApStateChanged(state);
137 void handleWifiApStateChanged(int state) { in handleWifiApStateChanged() method in WifiTetheringHandler
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java342 shouldUpdateState = handleWifiApStateChanged(intent.getIntExtra(
373 private boolean handleWifiApStateChanged(int state) { in handleWifiApStateChanged() method in TetherEnabler