Home
last modified time | relevance | path

Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DManagedProfileOwnerUserRestrictionsTest.java28 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
DBaseUserRestrictionsTest.java39 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java19 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES;
255 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, !allowNonMarket); in onCreate()
261 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate()
274 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate()
444 restoreOriginalRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES); in onActivityResult()
DUserRestrictions.java45 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
171 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
269 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in isRestrictionValid()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java965 final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; in testPackageInstallUserRestrictions() local
984 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions()
989 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()