Searched refs:ShadowPrivacySettingsUtils (Results 1 – 6 of 6) sorted by relevance
37 @Config(shadows = {ShadowPrivacySettingsUtils.class})56 ShadowPrivacySettingsUtils.reset(); in tearDown()70 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()71 ShadowPrivacySettingsUtils.setIsInvisibleKey(false); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()78 ShadowPrivacySettingsUtils.setIsAdminUser(false); in getAvailabilityStatus_isnotAdmiUser_shouldBeDisabledForUser()85 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()86 ShadowPrivacySettingsUtils.setIsInvisibleKey(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()
38 @Config(shadows = {ShadowPrivacySettingsUtils.class})57 ShadowPrivacySettingsUtils.reset(); in tearDown()91 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()92 ShadowPrivacySettingsUtils.setIsInvisibleKey(false); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()99 ShadowPrivacySettingsUtils.setIsAdminUser(false); in getAvailabilityStatus_isnotAdmiUser_shouldBeDisabledForUser()106 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()107 ShadowPrivacySettingsUtils.setIsInvisibleKey(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()
40 @Config(shadows = {ShadowPrivacySettingsUtils.class})64 ShadowPrivacySettingsUtils.reset(); in tearDown()104 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()105 ShadowPrivacySettingsUtils.setIsInvisibleKey(false); in getAvailabilityStatus_isAdmiUser_isnotInvisibleKey_shouldBeAvailable()112 ShadowPrivacySettingsUtils.setIsAdminUser(false); in getAvailabilityStatus_isnotAdmiUser_shouldBeDisabledForUser()119 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()120 ShadowPrivacySettingsUtils.setIsInvisibleKey(true); in getAvailabilityStatus_isAdmiUser_isInvisibleKey_shouldBeDisabledUnsupported()
37 @Config(shadows = {ShadowPrivacySettingsUtils.class, ShadowBackupSettingsHelper.class})52 ShadowPrivacySettingsUtils.reset(); in tearDown()58 ShadowPrivacySettingsUtils.setIsInvisibleKey(false); in getAvailabilityStatus_isnotInvisibleKey_backupActive_shouldBeAvailable()67 ShadowPrivacySettingsUtils.setIsInvisibleKey(false); in getAvailabilityStatus_isnotInvisibleKey_backupNotActive_shouldBeUnsearchable()76 ShadowPrivacySettingsUtils.setIsInvisibleKey(true); in getAvailabilityStatus_isInvisibleKey_shouldBeDisabledUnsupported()
39 @Config(shadows = {ShadowPrivacySettingsUtils.class})53 ShadowPrivacySettingsUtils.reset(); in tearDown()78 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdmin_backupEnabled_hadManageIntent_shouldBeAvailable()90 ShadowPrivacySettingsUtils.setIsAdminUser(false); in getAvailabilityStatus_isNotAdminUser_shouldBeDisabledForUser()98 ShadowPrivacySettingsUtils.setIsAdminUser(true); in getAvailabilityStatus_isAdminUser_backupEnabled_nullManageIntent_shouldBeDisabledUnsupported()
26 public class ShadowPrivacySettingsUtils { class