Searched refs:DISALLOW_CONFIG_TETHERING (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | TetherUtil.java | 18 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/ |
D | UserRestrictionsUtilsTest.java | 140 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/ |
D | TetherUtilTest.java | 134 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/ |
D | HotspotTile.java | 115 checkIfRestrictionEnforcedByAdminOnly(state, UserManager.DISALLOW_CONFIG_TETHERING); in handleUpdateState()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 95 UserManager.DISALLOW_CONFIG_TETHERING, 154 UserManager.DISALLOW_CONFIG_TETHERING,
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 1105 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/ |
D | TetheringTest.java | 556 UserManager.DISALLOW_CONFIG_TETHERING)).thenReturn(!supported); in setTetheringSupported() 1146 newRestrictions.putBoolean(UserManager.DISALLOW_CONFIG_TETHERING, nextDisallow); in runUserRestrictionsChange()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 479 public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering"; field in UserManager
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 1458 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/ |
D | WifiServiceImplTest.java | 1539 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in registerLOHSRequestFull() 1660 when(mUserManager.hasUserRestriction(UserManager.DISALLOW_CONFIG_TETHERING)) in testHotspotDoesNotStartWhenTetheringDisallowed()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 22393 field public static final java.lang.String DISALLOW_CONFIG_TETHERING = "no_config_tethering";
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 35614 field public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering";
|
/frameworks/base/api/ |
D | current.txt | 35758 field public static final String DISALLOW_CONFIG_TETHERING = "no_config_tethering";
|