Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DInstallNonMarketAppsDeprecationTest.java90 mHasUserRestriction = mUm.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in setUp()
92 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()) in setUp()
135 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, !mHasUserRestriction); in testValueRespectsUserRestriction()
141 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, mHasUserRestriction); in testValueRespectsUserRestriction()
152 mUm.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in tearDown()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java83 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
582 context, userId, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in applyUserRestriction()
585 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in applyUserRestriction()
701 restriction = UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; in isSettingRestrictedForUser()
DUserManagerService.java1409 mGuestRestrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in initDefaultGuestRestrictions()
DPackageManagerService.java25390 if (sUserManager.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, userId)
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java432 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()
440 startAdminSupportDetailsActivity(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in checkIfAllowedAndInitiateInstall()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java321 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testMigration3_managedProfileOwner()
DDevicePolicyManagerTest.java1771 dpm.addUserRestriction(admin1, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in testSetUserRestriction_asPo()
1774 MockUtils.checkUserRestrictions(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES), in testSetUserRestriction_asPo()
1781 MockUtils.checkUserRestrictions(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1788 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1796 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testSetUserRestriction_asPo()
1802 dpm.clearUserRestriction(admin1, UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in testSetUserRestriction_asPo()
/frameworks/base/core/java/android/os/
DUserManager.java270 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in UserManager
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java989 if (changedRestrictions.contains(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES) in startWatchingUserRestrictionChanges()
3659 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, UserHandle.of(userId))
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2408 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in ensureUnknownSourcesRestrictionForProfileOwnerLocked()
10901 + UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES + " or " in setSecureSetting()
10907 + UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES + " or " in setSecureSetting()
10912 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.txt35327 … field public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources";