Searched refs:getTetheringState (Results 1 – 2 of 2) sorted by relevance
177 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()
180 listener.onTetherStateUpdated(getTetheringState(null /* tethered */)); in addListener()198 int state = getTetheringState(tethered); in updateState()222 int getTetheringState(@Nullable String[] tethered) { in getTetheringState() method in TetherEnabler275 int state = getTetheringState(null /* tethered */); in stopTethering()292 int state = getTetheringState(null /* tethered */); in startTethering()