Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | ManagedProfileOwnerUserRestrictionsTest.java | 28 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
D | BaseUserRestrictionsTest.java | 42 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 19 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 223 .clearUserRestriction(remoteDpc.componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in setAsProfileOwner() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 19 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 254 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, !allowNonMarket); in onCreate() 260 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate() 273 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate() 454 restoreOriginalRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES); in onActivityResult()
|
D | UserRestrictions.java | 50 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, 209 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, 333 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in isRestrictionValid()
|
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/ |
D | RemoteDpcTest.java | 20 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 596 .hasUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES)) in setAsProfileOwner_disallowInstallUnknownSourcesIsDisabled()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 859 final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; in testPackageInstallUserRestrictions() local 874 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions() 879 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()
|