Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DTetherUtil.java18 import static android.os.UserManager.DISALLOW_CONFIG_TETHERING;
61 .checkIfRestrictionEnforced(context, DISALLOW_CONFIG_TETHERING, in isTetherAvailable()
64 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.java141 UserManager.DISALLOW_CONFIG_TETHERING, UserHandle.of(userId))) in setupIsTetherAvailable()
146 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/tests/net/java/com/android/server/connectivity/
DTetheringTest.java850 currRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, currentDisallow); in userRestrictionsListenerBehaviour()
851 newRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, nextDisallow); in userRestrictionsListenerBehaviour()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java797 newRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING); in onUserRestrictionsChanged()
799 prevRestrictions.getBoolean(UserManager.DISALLOW_CONFIG_TETHERING); in onUserRestrictionsChanged()
/frameworks/base/core/java/android/os/
DUserManager.java478 public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering"; field in UserManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1415 if (mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) { in startLocalOnlyHotspot()
2938 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) { in factoryReset()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java1400 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in registerLOHSRequestFull()
1509 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in testHotspotDoesNotStartWhenTetheringDisallowed()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java3978 && !mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING); in isTetheringSupported()
6918 if (!mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) { in factoryReset()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...