/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 48 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 65 ShadowDevicePolicyManager.class, 149 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetails() 174 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetailsNotAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TimeoutPreferenceControllerTest.java | 35 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 55 @Config(shadows = ShadowDevicePolicyManager.class) 105 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(profileUserId, timeout); in testUpdateStateWithAdminTimeouts() 116 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(profileUserId, timeout); in testUpdateStateWithAdminTimeoutsAndRestriction() 147 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(profileUserId, allowedTimeout); in updateState_selectedTimeoutLargerThanAdminMax_shouldSetSummaryToUpdatedPrefValue()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 21 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class 115 public static ShadowDevicePolicyManager getShadow() { in getShadow() 116 return (ShadowDevicePolicyManager) Shadow.extract( in getShadow()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardPreferenceControllerTest.java | 36 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 52 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 84 ShadowDevicePolicyManager.reset(); in tearDown() 198 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
D | EnabledKeyboardPreferenceControllerTest.java | 40 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 57 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 252 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
D | KeyboardManagementPreferenceControllerTest.java | 44 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 60 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 1034 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 48 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 68 ShadowDevicePolicyManager.class, 72 private ShadowDevicePolicyManager mShadowDpm; 78 mShadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | SetNewPasswordActivityTest.java | 60 import org.robolectric.shadows.ShadowDevicePolicyManager;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/ |
D | LockAfterTimeoutPreferenceControllerTest.java | 38 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 52 @Config(shadows = ShadowDevicePolicyManager.class) 129 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(userId, adminTimeout); in testUpdateStateWithAdminTimeouts()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowDevicePolicyManager.java | 31 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | RemoveAccountPreferenceControllerTest.java | 56 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 79 ShadowDevicePolicyManager.class 162 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
|
D | CrossProfileCalendarDisabledPreferenceControllerTest.java | 44 import org.robolectric.shadows.ShadowDevicePolicyManager; 61 private ShadowDevicePolicyManager mDpm;
|
D | CrossProfileCalendarPreferenceControllerTest.java | 51 import org.robolectric.shadows.ShadowDevicePolicyManager; 70 private ShadowDevicePolicyManager dpm;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 64 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 89 ShadowDevicePolicyManager.class 291 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 54 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 75 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class}) 240 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in withDisallowRemoveUser_ShouldDisableRemoveUser()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 51 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 83 ShadowDevicePolicyManager.class, 131 ShadowDevicePolicyManager.reset(); in tearDown() 607 private ShadowDevicePolicyManager getShadowDevicePolicyManager() { in getShadowDevicePolicyManager()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentsPreferenceControllerTest.java | 36 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 60 ShadowDevicePolicyManager.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 75 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 109 @Config(shadows = {ShadowDevicePolicyManager.class, ShadowEntityHeaderController.class}) 1091 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(doComponent); in lockDownNetwork() 1092 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(doUserId); in lockDownNetwork()
|