Home
last modified time | relevance | path

Searched refs:handleStateChanged (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceControllerTest.java135 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchChecked()
144 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_ON); in stateChanged_turningOn_setsSwitchDisabled()
153 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_ON); in stateChanged_on_setsSwitchChecked()
162 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_ON); in stateChanged_on_setsSwitchEnabled()
171 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchUnchecked()
180 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_TURNING_OFF); in stateChanged_turningOff_setsSwitchDisabled()
189 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_OFF); in stateChanged_off_setsSwitchUnchecked()
198 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_OFF); in stateChanged_off_setsSwitchEnabled()
208 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_ON); in stateChanged_on_userRestricted_setsSwitchDisabled()
219 mPreferenceController.handleStateChanged(BluetoothAdapter.STATE_OFF); in stateChanged_off_userRestricted_setsSwitchDisabled()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothEnabler.java61 handleStateChanged(state);
114 handleStateChanged(mBluetoothAdapter.getState()); in resume()
133 void handleStateChanged(int state) { in handleStateChanged() method in BluetoothEnabler
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java63 handleStateChanged(WifiInfo.getDetailedStateOf((SupplicantState)
70 handleStateChanged(info.getDetailedState());
165 private void handleStateChanged(@SuppressWarnings("unused") NetworkInfo.DetailedState state) { in handleStateChanged() method in WifiEnabler
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothStateSwitchPreferenceController.java56 handleStateChanged(state);
121 handleStateChanged(mBluetoothAdapter.getState()); in onStartInternal()
145 void handleStateChanged(int state) { in handleStateChanged() method in BluetoothStateSwitchPreferenceController