Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 11 of 11) sorted by relevance
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()
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()
1409 mGuestRestrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in initDefaultGuestRestrictions()
25293 if (sUserManager.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, userId)
432 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, Process.myUserHandle()); in checkIfAllowedAndInitiateInstall()440 startAdminSupportDetailsActivity(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES); in checkIfAllowedAndInitiateInstall()
321 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, in testMigration3_managedProfileOwner()
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()
270 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in UserManager
989 if (changedRestrictions.contains(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES) in startWatchingUserRestrictionChanges()3659 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, UserHandle.of(userId))
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()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...