Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java19 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES;
247 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, !allowNonMarket); in onCreate()
253 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate()
266 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate()
436 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/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
DManagedProfileOwnerUserRestrictionsTest.java28 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
DBaseUserRestrictionsTest.java39 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java979 final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; in testPackageInstallUserRestrictions() local
998 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions()
1003 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()