/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 | 23 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class 101 public static ShadowDevicePolicyManager getShadow() { in getShadow() 102 return (ShadowDevicePolicyManager) Shadow.extract( in getShadow()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/ |
D | KeyboardPreferenceControllerTest.java | 35 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 52 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 84 ShadowDevicePolicyManager.reset(); in tearDown() 201 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
D | EnabledKeyboardPreferenceControllerTest.java | 39 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 57 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 263 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
D | KeyboardManagementPreferenceControllerTest.java | 43 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 60 @Config(shadows = {ShadowInputMethodManager.class, ShadowDevicePolicyManager.class}) 1057 private static ShadowDevicePolicyManager getShadowDevicePolicyManager(Context context) { in getShadowDevicePolicyManager()
|
/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/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 49 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 69 ShadowDevicePolicyManager.class, 73 private ShadowDevicePolicyManager mShadowDpm; 79 mShadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | SetupChooseLockPasswordTest.java | 37 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 66 ShadowDevicePolicyManager.class,
|
/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; 81 ShadowDevicePolicyManager.class 164 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
|
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 | UserDetailsSettingsTest.java | 55 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 80 ShadowDevicePolicyManager.class 585 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse() 586 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(UserHandle.myUserId()); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse()
|
D | UserSettingsTest.java | 61 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 86 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class}) 189 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in withDisallowRemoveUser_ShouldDisableRemoveUser()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/ |
D | ApplicationDetailsFragmentTest.java | 47 import com.android.car.settings.testutils.ShadowDevicePolicyManager; 82 ShadowDevicePolicyManager.class, 122 ShadowDevicePolicyManager.reset(); in tearDown() 601 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/details2/ |
D | WifiDetailPreferenceController2Test.java | 73 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 112 @Config(shadows = {ShadowDevicePolicyManager.class, ShadowEntityHeaderController.class}) 1171 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(doComponent); in lockDownNetwork() 1172 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(doUserId); in lockDownNetwork()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/ |
D | WifiDetailPreferenceControllerTest.java | 74 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 113 @Config(shadows = {ShadowDevicePolicyManager.class, ShadowEntityHeaderController.class}) 1157 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(doComponent); in lockDownNetwork() 1158 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(doUserId); in lockDownNetwork()
|