Home
last modified time | relevance | path

Searched refs:DISALLOW_CONFIG_TETHERING (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java18 import static android.os.UserManager.DISALLOW_CONFIG_TETHERING;
28 .checkIfRestrictionEnforced(context, DISALLOW_CONFIG_TETHERING, in isTetherAvailable()
31 context, DISALLOW_CONFIG_TETHERING, UserHandle.myUserId()); in isTetherAvailable()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java140 UserManager.DISALLOW_CONFIG_TETHERING, in testSortToGlobalAndLocal()
157 UserManager.DISALLOW_CONFIG_TETHERING in testSortToGlobalAndLocal()
174 UserManager.DISALLOW_CONFIG_TETHERING, in testSortToGlobalAndLocal()
196 UserManager.DISALLOW_CONFIG_TETHERING in testSortToGlobalAndLocal()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DTetherUtilTest.java134 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.of(userId))) in setupIsTetherAvailable()
139 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.of(userId))) in setupIsTetherAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DHotspotTile.java115 checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_CONFIG_TETHERING); in handleUpdateState()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java95 UserManager.DISALLOW_CONFIG_TETHERING,
154 UserManager.DISALLOW_CONFIG_TETHERING,
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1105 restrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING); in onUserRestrictionsChanged()
2206 && !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING); in isTetheringSupported()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java556 UserManager.DISALLOW_CONFIG_TETHERING)).thenReturn(!supported); in setTetheringSupported()
1146 newRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, nextDisallow); in runUserRestrictionsChange()
/frameworks/base/core/java/android/os/
DUserManager.java479 public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering"; field in UserManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1458 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) { in startLocalOnlyHotspot()
2986 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) { in factoryReset()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1539 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in registerLOHSRequestFull()
1660 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in testHotspotDoesNotStartWhenTetheringDisallowed()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22393 field public static final java.lang.String DISALLOW_CONFIG_TETHERING = "no_config_tethering";
/frameworks/base/non-updatable-api/
Dcurrent.txt35614 field public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering";
/frameworks/base/api/
Dcurrent.txt35758 field public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering";