Searched refs:DISALLOW_INSTALL_UNKNOWN_SOURCES (Results 1 – 12 of 12) sorted by relevance
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | InstallUnknownSourcesTest.java | 19 …com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_INSTALL_UNKNOWN_SOURCES; 57 sDeviceState.dpc().componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES)); in addUserRestriction_disallowInstallUnknownSources_cannotSet_throwsException() 61 @EnsureDoesNotHaveUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES) 67 sDeviceState.dpc().componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in addUserRestriction_disallowInstallUnknownSources_isSet() local 70 .isSet(DISALLOW_INSTALL_UNKNOWN_SOURCES)) in addUserRestriction_disallowInstallUnknownSources_isSet() 74 sDeviceState.dpc().componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in addUserRestriction_disallowInstallUnknownSources_isSet() local 79 @EnsureDoesNotHaveUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES) 85 sDeviceState.dpc().componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in addUserRestriction_disallowInstallUnknownSources_isNotSet() local 88 .isSet(DISALLOW_INSTALL_UNKNOWN_SOURCES)) in addUserRestriction_disallowInstallUnknownSources_isNotSet() 93 sDeviceState.dpc().componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in addUserRestriction_disallowInstallUnknownSources_isNotSet() local
|
D | UserRestrictionsTest.java | 92 CommonUserRestrictions.DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandUserRestrictionTest.java | 19 …com.android.bedstead.nene.userrestrictions.CommonUserRestrictions.DISALLOW_INSTALL_UNKNOWN_SOURCES; 61 @EnsureHasUserRestriction(value = DISALLOW_INSTALL_UNKNOWN_SOURCES) 64 DISALLOW_INSTALL_UNKNOWN_SOURCES)).isTrue(); in testGetUserRestriction() 67 DISALLOW_INSTALL_UNKNOWN_SOURCES)).isFalse(); in testGetUserRestriction() 74 @EnsureHasUserRestriction(value = DISALLOW_INSTALL_UNKNOWN_SOURCES) 80 assertThat(restrictions).contains(DISALLOW_INSTALL_UNKNOWN_SOURCES + "=true"); in testGetUserAllRestrictions() 85 assertThat(noRestrictions).doesNotContain(DISALLOW_INSTALL_UNKNOWN_SOURCES + "=true"); in testGetUserAllRestrictions()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/ |
D | ManagedProfileOwnerUserRestrictionsTest.java | 28 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
D | BaseUserRestrictionsTest.java | 42 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/userrestrictions/ |
D | CommonUserRestrictions.java | 43 public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; field in CommonUserRestrictions 270 DISALLOW_INSTALL_UNKNOWN_SOURCES,
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 20 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 268 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, !allowNonMarket); in onCreate() 274 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate() 287 setRestrictionAndSaveOriginal(DISALLOW_INSTALL_UNKNOWN_SOURCES, false); in onCreate() 462 restoreOriginalRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES); in onActivityResult()
|
D | UserRestrictions.java | 50 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, 209 UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, 333 case UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES: in isRestrictionValid()
|
/cts/common/device-side/bedstead/remotedpc/src/main/java/com/android/bedstead/remotedpc/ |
D | RemoteDpc.java | 19 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 359 .clearUserRestriction(remoteDpc.componentName(), DISALLOW_INSTALL_UNKNOWN_SOURCES); in setAsProfileOwner() local
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAndProfileOwnerTest.java | 597 final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources"; in testPackageInstallUserRestrictions() local 616 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions() 621 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()
|
/cts/common/device-side/bedstead/remotedpc/src/test/java/com/android/bedstead/remotedpc/ |
D | RemoteDpcTest.java | 20 import static android.os.UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES; 601 .hasUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES)) in setAsProfileOwner_disallowInstallUnknownSourcesIsDisabled()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 34077 … field public static final String DISALLOW_INSTALL_UNKNOWN_SOURCES = "no_install_unknown_sources";
|