Home
last modified time | relevance | path

Searched refs:changeUserRestrictionOrFail (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java126 changeUserRestrictionOrFail(restriction, true, mProfileUserId); in testNoDebuggingFeaturesRestriction()
198 changeUserRestrictionOrFail("no_outgoing_beam" /* UserManager.DISALLOW_OUTGOING_BEAM */, in testNfcRestriction()
507 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in ManagedProfileTest
509 changeUserRestrictionOrFail(key, value, userId, MANAGED_PROFILE_PKG); in changeUserRestrictionOrFail()
DDeviceAndProfileOwnerTest.java616 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, true, mUserId); in testPackageInstallUserRestrictions()
621 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES, false, mUserId); in testPackageInstallUserRestrictions()
625 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, true, mUserId); in testPackageInstallUserRestrictions()
630 changeUserRestrictionOrFail(DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY, false, mUserId); in testPackageInstallUserRestrictions()
1142 private void changeUserRestrictionOrFail(String key, boolean value, int userId) in changeUserRestrictionOrFail() method in DeviceAndProfileOwnerTest
1144 changeUserRestrictionOrFail(key, value, userId, DEVICE_ADMIN_PKG); in changeUserRestrictionOrFail()
DDeviceOwnerTest.java597 changeUserRestrictionOrFail("no_factory_reset", true, mPrimaryUserId, DEVICE_OWNER_PKG); in testDisallowFactoryReset()
DBaseDevicePolicyTest.java1063 protected void changeUserRestrictionOrFail(String key, boolean value, int userId, in changeUserRestrictionOrFail() method in BaseDevicePolicyTest