Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java302 assertThat(TetherEnabler.isTethering(TETHERING_WIFI_ON, TETHERING_WIFI)).isTrue(); in isTethering_shouldReturnCorrectly()
303 assertThat(TetherEnabler.isTethering(~TETHERING_WIFI_ON, TETHERING_WIFI)).isFalse(); in isTethering_shouldReturnCorrectly()
305 assertThat(TetherEnabler.isTethering(TETHERING_USB_ON, TETHERING_USB)).isTrue(); in isTethering_shouldReturnCorrectly()
306 assertThat(TetherEnabler.isTethering(~TETHERING_USB_ON, TETHERING_USB)).isFalse(); in isTethering_shouldReturnCorrectly()
308 assertThat(TetherEnabler.isTethering(TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)).isTrue(); in isTethering_shouldReturnCorrectly()
309 assertThat(TetherEnabler.isTethering(~TETHERING_BLUETOOTH_ON, TETHERING_BLUETOOTH)) in isTethering_shouldReturnCorrectly()
312 assertThat(TetherEnabler.isTethering(TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isTrue(); in isTethering_shouldReturnCorrectly()
313 assertThat(TetherEnabler.isTethering(~TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isFalse(); in isTethering_shouldReturnCorrectly()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java281 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() method in TetherEnabler
300 if (isTethering(state, choice)) { in stopTethering()
317 if (isTethering(state, choice)) { in startTethering()