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.java111 new RestrictionApplicator(UserManager.DISALLOW_SET_WALLPAPER); in testDisallowSetWallpaper_allowed()
115 assertTrue(mUserManager.hasUserRestriction(UserManager.DISALLOW_SET_WALLPAPER)); in testDisallowSetWallpaper_allowed()
141 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.java858 final String DISALLOW_SET_WALLPAPER = "no_set_wallpaper"; in testSetWallpaper_disallowed() local
870 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, true, mUserId); in testSetWallpaper_disallowed()
874 changeUserRestrictionOrFail(DISALLOW_SET_WALLPAPER, false, mUserId); in testSetWallpaper_disallowed()