/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 46 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 64 ShadowDevicePolicyManager.class, 126 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportTitleForFinancedDevice() 140 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetails() 161 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetails_shortSupportMessageIsNull() 183 final ShadowDevicePolicyManager dpmShadow = ShadowDevicePolicyManager.getShadow(); in testSetAdminSupportDetailsNotAdmin() 246 private static void setupFinancedDevice(final ShadowDevicePolicyManager dpmShadow) { in setupFinancedDevice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | GuestTelephonyPreferenceControllerTest.java | 34 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 51 ShadowDevicePolicyManager.class 61 private ShadowDevicePolicyManager mDpm; 69 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | UserCapabilitiesTest.java | 28 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 41 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class, 47 private ShadowDevicePolicyManager mDpm; 53 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | UserDetailsSettingsTest.java | 58 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 86 ShadowDevicePolicyManager.class 687 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse() 688 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(UserHandle.myUserId()); in canDeleteUser_adminSelectsUser_hasRemoveRestriction_shouldReturnFalse()
|
D | UserSettingsTest.java | 68 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 99 ShadowDevicePolicyManager.class, 281 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in withDisallowRemoveUser_ShouldDisableRemoveUser()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 36 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 52 ShadowDevicePolicyManager.class, 67 private ShadowDevicePolicyManager dpm; 76 dpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | RemoveAccountPreferenceControllerTest.java | 53 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 77 ShadowDevicePolicyManager.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 50 public class ShadowDevicePolicyManager extends org.robolectric.shadows.ShadowDevicePolicyManager { class 168 public static ShadowDevicePolicyManager getShadow() { in getShadow() 169 return (ShadowDevicePolicyManager) Shadow.extract( in getShadow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ConfirmCredentialTest.java | 44 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 64 ShadowDevicePolicyManager.class, 86 final ShadowDevicePolicyManager shadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | ConfirmLockPatternTest.java | 54 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 81 ShadowDevicePolicyManager.class, 112 final ShadowDevicePolicyManager shadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | ConfirmLockPasswordTest.java | 58 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 83 ShadowDevicePolicyManager.class, 114 final ShadowDevicePolicyManager shadowDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | SetupChooseLockPasswordTest.java | 40 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 72 ShadowDevicePolicyManager.class,
|
D | ChooseLockPasswordTest.java | 55 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 77 ShadowDevicePolicyManager.class,
|
/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/accessibility/ |
D | AccessibilityDetailsSettingsFragmentTest.java | 40 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 62 ShadowDevicePolicyManager.class, 129 ((ShadowDevicePolicyManager) Shadows.shadowOf(dpm)).setPermittedAccessibilityServices( in onCreate_extraComponentNameIsDisallowed_launchAccessibilitySettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | RestrictedButtonTest.java | 33 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 47 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class})
|
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/ota/ |
D | ExtendsShadowDevicePolicyManager.java | 55 import org.robolectric.shadows.ShadowDevicePolicyManager; 60 public class ExtendsShadowDevicePolicyManager extends ShadowDevicePolicyManager {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 65 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 91 ShadowDevicePolicyManager.class 309 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentsPreferenceControllerTest.java | 36 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 61 ShadowDevicePolicyManager.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 45 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 67 @Config(shadows = {ShadowUserManager.class, ShadowDevicePolicyManager.class})
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/ |
D | FaceEnrollIntroductionTest.java | 71 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 109 ShadowDevicePolicyManager.class,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/ |
D | WifiDetailPreferenceController2Test.java | 82 import com.android.settings.testutils.shadow.ShadowDevicePolicyManager; 125 ShadowDevicePolicyManager.class, 1217 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(doComponent); in lockDownNetwork() 1218 ShadowDevicePolicyManager.getShadow().setDeviceOwnerUserId(doUserId); in lockDownNetwork()
|