Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java89 mHasUserRestriction = mUm.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in setUp()
91 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
134 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, !mHasUserRestriction); in testValueRespectsUserRestriction()
140 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, mHasUserRestriction); in testValueRespectsUserRestriction()
151 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in tearDown()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java74 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
491 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in applyUserRestriction()
DUserManagerService.java1159 mGuestRestrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in initDefaultGuestRestrictions()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java321 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testMigration3_managedProfileOwner()
DDevicePolicyManagerTest.java1665 dpm.addUserRestriction(admin1, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in testSetUserRestriction_asPo()
1668 MockUtils.checkUserRestrictions(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES), in testSetUserRestriction_asPo()
1675 MockUtils.checkUserRestrictions(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1682 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1690 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1696 dpm.clearUserRestriction(admin1, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in testSetUserRestriction_asPo()
/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/
DRetailDemoModeServiceTest.java181 verify(mUm).setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true, user); in testDemoUserSetup()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java822 if (newRestrictions.getBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES) in startWatchingUserRestrictionChanges()
823 != prevRestrictions.getBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES)) { in startWatchingUserRestrictionChanges()
1534 restriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES;
3337 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, UserHandle.of(userId))
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java344 um.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true, user); in setupDemoUser()
/frameworks/base/core/java/android/os/
DUserManager.java191 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in UserManager
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1979 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in ensureUnknownSourcesRestrictionForProfileOwnerLocked()
8952 + UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES + " instead."); in setSecureSetting()
8957 + UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES in setSecureSetting()
8961 setUserRestriction(who, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in setSecureSetting()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22401 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…
/frameworks/base/api/
Dcurrent.txt31550 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…
Dsystem-current.txt34382 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…