Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DAllInOneTetherPreferenceControllerTest.java19 import static com.android.settings.network.TetherEnabler.TETHERING_BLUETOOTH_ON;
66 {TETHERING_BLUETOOTH_ON, R.string.tether_settings_summary_bluetooth_tethering_only}, in params()
73 TETHERING_WIFI_ON | TETHERING_BLUETOOTH_ON, in params()
81 TETHERING_USB_ON | TETHERING_BLUETOOTH_ON, in params()
89 TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON, in params()
93 TETHERING_WIFI_ON | TETHERING_USB_ON | TETHERING_BLUETOOTH_ON, in params()
101 TETHERING_WIFI_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON, in params()
105 TETHERING_USB_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON, in params()
109 TETHERING_WIFI_ON | TETHERING_USB_ON | TETHERING_BLUETOOTH_ON in params()
DWifiTetherDisablePreferenceControllerTest.java20 import static com.android.settings.network.TetherEnabler.TETHERING_BLUETOOTH_ON;
58 {TETHERING_BLUETOOTH_ON, R.string.disable_wifi_hotspot_when_bluetooth_on}, in params()
61 TETHERING_USB_ON | TETHERING_BLUETOOTH_ON, in params()
69 TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON, in params()
73 TETHERING_USB_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON, in params()
121 int state = TetherEnabler.TETHERING_BLUETOOTH_ON; in onTetherStateUpdated_visibilityChangeCorrectly()
DTetherEnablerTest.java24 import static com.android.settings.network.TetherEnabler.TETHERING_BLUETOOTH_ON;
204 doReturn(TETHERING_BLUETOOTH_ON).when(mEnabler).getTetheringState(null /* tethered */); in onSwitchToggled_stopAllTetheringInterfaces()
230 doReturn(TETHERING_BLUETOOTH_ON).when(mEnabler).getTetheringState(null /* tethered */); in stopTethering_setBluetoothTetheringStoppedByUserAndUpdateState()
307 assertThat(TetherEnabler.isTethering(TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)).isTrue(); in isTethering_shouldReturnCorrectly()
308 assertThat(TetherEnabler.isTethering(~TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)) in isTethering_shouldReturnCorrectly()
DBluetoothTetherPreferenceControllerTest.java125 mController.onTetherStateUpdated(TetherEnabler.TETHERING_BLUETOOTH_ON); in switch_shouldCheckedWhenBluetoothTethering()
/packages/apps/Settings/src/com/android/settings/network/
DAllInOneTetherPreferenceController.java20 import static com.android.settings.network.TetherEnabler.TETHERING_BLUETOOTH_ON;
122 case TETHERING_BLUETOOTH_ON: in getSummary()
129 case TETHERING_WIFI_ON | TETHERING_BLUETOOTH_ON: in getSummary()
133 case TETHERING_USB_ON | TETHERING_BLUETOOTH_ON: in getSummary()
137 case TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON: in getSummary()
139 case TETHERING_WIFI_ON | TETHERING_USB_ON | TETHERING_BLUETOOTH_ON: in getSummary()
145 case TETHERING_WIFI_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON: in getSummary()
148 case TETHERING_USB_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON: in getSummary()
151 case TETHERING_WIFI_ON | TETHERING_USB_ON | TETHERING_BLUETOOTH_ON in getSummary()
DWifiTetherDisablePreferenceController.java19 import static com.android.settings.network.TetherEnabler.TETHERING_BLUETOOTH_ON;
86 case TETHERING_BLUETOOTH_ON: in getSummary()
90 case TETHERING_USB_ON | TETHERING_BLUETOOTH_ON: in getSummary()
94 case TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON: in getSummary()
97 case TETHERING_USB_ON | TETHERING_BLUETOOTH_ON | TETHERING_ETHERNET_ON: in getSummary()
DTetherEnabler.java92 TETHERING_BLUETOOTH_ON,
100 public static final int TETHERING_BLUETOOTH_ON = 1 << TETHERING_BLUETOOTH; field in TetherEnabler
238 tetherState |= TETHERING_BLUETOOTH_ON; in getTetheringState()