Home
last modified time | relevance | path

Searched refs:DISALLOW_SET_WALLPAPER (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java126 new RestrictionApplicator(UserManager.DISALLOW_SET_WALLPAPER); in testDisallowSetWallpaper_allowed()
130 assertTrue(mUserManager.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER)); in testDisallowSetWallpaper_allowed()
156 assertFalse(mUserManager.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER)); in testDisallowSetWallpaper_allowed()
/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/
DCustomizationTest.java43 assertTrue(userManager.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER)); in testSetWallpaper_disallowed()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java503 final String DISALLOW_SET_WALLPAPER = "no_set_wallpaper"; in testSetWallpaper_disallowed() local
510 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed()
514 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed()