Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
H A DTetherUtilTest.java66 assertThat(TetherUtil.isTetherAvailable(mContext)).isFalse(); in isTetherAvailable_supported_configDisallowed_hasUserRestriction_returnTrue()
73 assertThat(TetherUtil.isTetherAvailable(mContext)).isFalse(); in isTetherAvailable_notSupported_configDisallowed_hasUserRestriction_returnTrue()
80 assertThat(TetherUtil.isTetherAvailable(mContext)).isFalse(); in isTetherAvailable_supported_configAllowed_hasUserRestriction_returnTrue()
87 assertThat(TetherUtil.isTetherAvailable(mContext)).isFalse(); in isTetherAvailable_notSupported_configAllowed_hasUserRestriction_returnFalse()
94 assertThat(TetherUtil.isTetherAvailable(mContext)).isTrue(); in isTetherAvailable_supported_configDisallowed_noUserRestriction_returnTrue()
101 assertThat(TetherUtil.isTetherAvailable(mContext)).isTrue(); in isTetherAvailable_notSupported_configDisallowed_noUserRestriction_returnTrue()
108 assertThat(TetherUtil.isTetherAvailable(mContext)).isTrue(); in isTetherAvailable_supported_configAllowed_noUserRestriction_returnTrue()
115 assertThat(TetherUtil.isTetherAvailable(mContext)).isFalse(); in isTetherAvailable_notSupported_configAllowed_noUserRestriction_returnFalse()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DTetherUtil.java24 public class TetherUtil { class
/aosp12/packages/apps/Settings/src/com/android/settings/network/
H A DAllInOneTetherPreferenceController.java47 import com.android.settingslib.TetherUtil;
105 if (!TetherUtil.isTetherAvailable(mContext) in getAvailabilityStatus()
H A DTetherPreferenceController.java45 import com.android.settingslib.TetherUtil;
114 return TetherUtil.isTetherAvailable(mContext) in isAvailable()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/tether/
H A DWifiTetherSettings.java43 import com.android.settingslib.TetherUtil;
240 if (!TetherUtil.isTetherAvailable(context)) {
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DAllInOneTetherSettings.java61 import com.android.settingslib.TetherUtil;
419 if (!TetherUtil.isTetherAvailable(context)) {
H A DTetherSettings.java60 import com.android.settingslib.TetherUtil;
587 if (!TetherUtil.isTetherAvailable(context)) {