Searched refs:ShadowDevicePolicyManager (Results 1 – 13 of 13) sorted by relevance
46 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;63 ShadowDevicePolicyManager.class,124 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportTitleForFinancedDevice()138 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetails()159 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetails_shortSupportMessageIsNull()181 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetailsNotAdmin()243 private static void setupFinancedDevice(final ShadowDevicePolicyManager dpmShadow) { in setupFinancedDevice()
25 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class114 public static ShadowDevicePolicyManager getShadow() { in getShadow()115 return (ShadowDevicePolicyManager) Shadow.extract( in getShadow()
38 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;52 @Config(shadows = ShadowDevicePolicyManager.class)129 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(userId, adminTimeout); in testUpdateStateWithAdminTimeouts()
31 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class
51 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;73 ShadowDevicePolicyManager.class,77 private ShadowDevicePolicyManager mShadowDpm;83 mShadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
39 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;69 ShadowDevicePolicyManager.class,
56 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;81 ShadowDevicePolicyManager.class164 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
51 import org.robolectric.shadows.ShadowDevicePolicyManager;70 private ShadowDevicePolicyManager dpm;
63 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;89 ShadowDevicePolicyManager.class291 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
57 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;83 ShadowDevicePolicyManager.class608 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse()609 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(UserHandle.myUserId()); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse()
61 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;87 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class})209 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in withDisallowRemoveUser_ShouldDisableRemoveUser()
36 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;60 ShadowDevicePolicyManager.class,
76 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager;116 @Config(shadows = {ShadowDevicePolicyManager.class, ShadowEntityHeaderController.class})1268 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(doComponent); in lockDownNetwork()1269 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(doUserId); in lockDownNetwork()