Searched refs:ShadowRestrictedLockUtilsInternal (Results 1 – 14 of 14) sorted by relevance
43 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;57 ShadowRestrictedLockUtilsInternal.class})80 ShadowRestrictedLockUtilsInternal.clearDisabledTypes(); in tearDown()118 ShadowRestrictedLockUtilsInternal.setHasSystemFeature(true); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()119 ShadowRestrictedLockUtilsInternal.setDevicePolicyManager(mock(DevicePolicyManager.class)); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()120 ShadowRestrictedLockUtilsInternal.setDisabledTypes(new String[] {"test_type"}); in updateAuthDescriptions_oneProvider_shouldNotAddPreference()143 ShadowRestrictedLockUtilsInternal.setHasSystemFeature(true); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()144 ShadowRestrictedLockUtilsInternal.setDevicePolicyManager(mock(DevicePolicyManager.class)); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()145 ShadowRestrictedLockUtilsInternal.setDisabledTypes(new String[] {"com.acct1"}); in updateAuthDescriptions_oneAdminDisabledProvider_shouldNotAddPreference()
45 import com.android.car.settings.testutils.ShadowRestrictedLockUtilsInternal;65 @Config(shadows = {ShadowApplicationsState.class, ShadowRestrictedLockUtilsInternal.class,120 ShadowRestrictedLockUtilsInternal.reset(); in tearDown()149 ShadowRestrictedLockUtilsInternal.setEnforcedAdmin(mEnforcedAdmin); in handleClearCacheClick_disallowedBySystem_shouldNotDeleteApplicationCache()171 ShadowRestrictedLockUtilsInternal.setEnforcedAdmin(mEnforcedAdmin); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()172 ShadowRestrictedLockUtilsInternal.setHasBaseUserRestriction(true); in handleClearCacheClick_allowedBySystem_shouldNotDeleteApplicationCache()194 ShadowRestrictedLockUtilsInternal.setEnforcedAdmin(mEnforcedAdmin); in handleClearDataClick_disallowedBySystem_shouldNotShowDialogToClear()212 ShadowRestrictedLockUtilsInternal.setEnforcedAdmin(mEnforcedAdmin); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()213 ShadowRestrictedLockUtilsInternal.setHasBaseUserRestriction(true); in handleClearDataClick_allowedBySystem_shouldShowDialogToClear()
24 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;40 ShadowRestrictedLockUtilsInternal.class,48 ShadowRestrictedLockUtilsInternal.reset(); in tearDown()84 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in primaryUserUnredactedRestrictionTest()96 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in primaryUserNotificationRestrictionTest()128 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in managedProfileUnredactedRestrictionTest()
33 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;51 @Config(shadows = {ShadowUserManager.class, ShadowRestrictedLockUtilsInternal.class})158 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in updateState_dpmSaysNo()
36 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;81 ShadowRestrictedLockUtilsInternal.reset(); in tearDown()142 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)148 ShadowRestrictedLockUtilsInternal.setMaximumTimeToLockIsSet(true); in updateState_selectedTimeoutLargerThanAdminMax_shouldSetSummaryToUpdatedPrefValue()
38 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;59 ShadowRestrictedLockUtilsInternal.class,150 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures(0); in onStart_hasUnrestrictedTrustAgent_shouldAddThreeChangeablePreferences()175 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in onStart_hasRestrictedTructAgent_shouldAddThreeUnchangeablePreferences()
45 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;65 ShadowRestrictedLockUtilsInternal.class,132 ShadowRestrictedLockUtilsInternal.setRestrictedPkgs(testPkg2); in onRebuildComplete_restricted_shouldBeDisabled()
57 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;85 @Config(shadows = {ShadowEntityHeaderController.class, ShadowRestrictedLockUtilsInternal.class})247 ShadowRestrictedLockUtilsInternal.setRestricted(true); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
28 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;41 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
40 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;54 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
28 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;46 @Config(shadows = {ShadowRestrictedLockUtilsInternal.class, ShadowUtils.class})
30 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;42 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
29 public class ShadowRestrictedLockUtilsInternal { class
31 public class ShadowRestrictedLockUtilsInternal { class