Home
last modified time | relevance | path

Searched refs:ShadowRestrictedLockUtilsInternal (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DChooseAccountPreferenceControllerTest.java43 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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragmentTest.java45 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java24 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()
DShowOnLockscreenNotificationPreferenceControllerTest.java33 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
51 @Config(shadows = {ShadowUserManager.class, ShadowRestrictedLockUtilsInternal.class})
158 ShadowRestrictedLockUtilsInternal.setKeyguardDisabledFeatures( in updateState_dpmSaysNo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTimeoutPreferenceControllerTest.java36 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceControllerTest.java38 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java45 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
65 ShadowRestrictedLockUtilsInternal.class,
132 ShadowRestrictedLockUtilsInternal.setRestrictedPkgs(testPkg2); in onRebuildComplete_restricted_shouldBeDisabled()
DAppDataUsageTest.java57 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
85 @Config(shadows = {ShadowEntityHeaderController.class, ShadowRestrictedLockUtilsInternal.class})
247 ShadowRestrictedLockUtilsInternal.setRestricted(true); in updatePrefs_restrictedByAdmin_shouldDisablePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEnablerTest.java28 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
41 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
DWifiMasterSwitchPreferenceControllerTest.java40 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
54 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DTopLevelNetworkEntryPreferenceControllerTest.java28 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
46 @Config(shadows = {ShadowRestrictedLockUtilsInternal.class, ShadowUtils.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DSeekBarPreferenceTest.java30 import com.android.settings.testutils.shadow.ShadowRestrictedLockUtilsInternal;
42 @Config(shadows = ShadowRestrictedLockUtilsInternal.class)
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowRestrictedLockUtilsInternal.java29 public class ShadowRestrictedLockUtilsInternal { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowRestrictedLockUtilsInternal.java31 public class ShadowRestrictedLockUtilsInternal { class