Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTetherEnablerTest.java301 assertThat(TetherEnabler.isTethering(TETHERING_WIFI_ON, TETHERING_WIFI)).isTrue(); in isTethering_shouldReturnCorrectly()
302 assertThat(TetherEnabler.isTethering(~TETHERING_WIFI_ON, TETHERING_WIFI)).isFalse(); in isTethering_shouldReturnCorrectly()
304 assertThat(TetherEnabler.isTethering(TETHERING_USB_ON, TETHERING_USB)).isTrue(); in isTethering_shouldReturnCorrectly()
305 assertThat(TetherEnabler.isTethering(~TETHERING_USB_ON, TETHERING_USB)).isFalse(); in isTethering_shouldReturnCorrectly()
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()
311 assertThat(TetherEnabler.isTethering(TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isTrue(); in isTethering_shouldReturnCorrectly()
312 assertThat(TetherEnabler.isTethering(~TETHERING_ETHERNET_ON, TETHERING_ETHERNET)).isFalse(); in isTethering_shouldReturnCorrectly()
/packages/apps/Settings/src/com/android/settings/network/
DTetherEnabler.java257 public static boolean isTethering(@TetheringState int state, int choice) { in isTethering() method in TetherEnabler
276 if (isTethering(state, choice)) { in stopTethering()
293 if (isTethering(state, choice)) { in startTethering()
DTetherBasePreferenceController.java78 return TetherEnabler.isTethering(mTetheringState, getTetherType()); in isChecked()
/packages/apps/Settings/src/com/android/settings/
DAllInOneTetherSettings.java129 mShouldShowWifiConfig = TetherEnabler.isTethering(state, TETHERING_WIFI)