Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | InstallNonMarketAppsDeprecationTest.java | 89 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/ |
D | UserRestrictionsUtils.java | 74 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, 491 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in applyUserRestriction()
|
D | UserManagerService.java | 1159 mGuestRestrictions.putBoolean(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true); in initDefaultGuestRestrictions()
|
/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 | 1665 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/ |
D | RetailDemoModeServiceTest.java | 181 verify(mUm).setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true, user); in testDemoUserSetup()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 822 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/ |
D | RetailDemoModeService.java | 344 um.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, true, user); in setupDemoUser()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 191 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in UserManager
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 1979 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/ |
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 | 31550 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…
|
D | system-current.txt | 34382 …field public static final java.lang.String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_…
|