Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 90 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/ |
D | UserRestrictionsUtils.java | 83 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()
|
D | UserManagerService.java | 1409 mGuestRestrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in initDefaultGuestRestrictions()
|
D | PackageManagerService.java | 25390 if (sUserManager.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, userId)
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 432 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/ |
D | DevicePolicyManagerServiceMigrationTest.java | 321 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testMigration3_managedProfileOwner()
|
D | DevicePolicyManagerTest.java | 1771 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/ |
D | UserManager.java | 270 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in UserManager
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 989 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/ |
D | DevicePolicyManagerService.java | 2408 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/ |
D | android-22.txt | 22401 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…
|
/frameworks/base/api/ |
D | current.txt | 35327 … field public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources";
|