Home
last modified time | relevance | path

Searched refs:getTetheringState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java177 doReturn(TETHERING_WIFI_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_onlyStartsWifiTetherWhenNeeded()
181 doReturn(TETHERING_OFF).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_onlyStartsWifiTetherWhenNeeded()
196 doReturn(TETHERING_WIFI_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_stopAllTetheringInterfaces()
200 doReturn(TETHERING_USB_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_stopAllTetheringInterfaces()
204 doReturn(TETHERING_BLUETOOTH_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_stopAllTetheringInterfaces()
208 doReturn(TETHERING_ETHERNET_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_stopAllTetheringInterfaces()
230 doReturn(TETHERING_BLUETOOTH_ON).when(mEnabler).getTetheringState(null /* tethered */); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java180 listener.onTetherStateUpdated(getTetheringState(null /* tethered */)); in addListener()
198 int state = getTetheringState(tethered); in updateState()
222 int getTetheringState(@Nullable String[] tethered) { in getTetheringState() method in TetherEnabler
275 int state = getTetheringState(null /* tethered */); in stopTethering()
292 int state = getTetheringState(null /* tethered */); in startTethering()