Home
last modified time | relevance | path

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/
DManagedProfileOwnerUserRestrictionsTest.java28 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
DBaseUserRestrictionsTest.java42 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/
DRemoteDpc.java19 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/
DByodHelperActivity.java19 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()
DUserRestrictions.java50 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/
DRemoteDpcTest.java20 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/
DDeviceAndProfileOwnerTest.java859 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()