Home
last modified time | relevance | path

Searched refs:getShadow (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationInjectedServicesPreferenceControllerTest.java118 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
127 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
141 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
147 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
175 ShadowUserManager.getShadow().setProfileIdsWithDisabled(new int[]{UserHandle.myUserId()}); in withUserRestriction_shouldDisableLocationAccuracy()
183 ShadowUserManager.getShadow().setUserRestrictionSources( in withUserRestriction_shouldDisableLocationAccuracy()
DRecentLocationRequestPreferenceControllerTest.java70 mUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java124 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java561 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldShow()
577 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow()
594 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldNotShow()
612 ShadowUserManager.getShadow().addUser(userId, "Someone", 0); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow()
633 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_invalidUserHandleShouldShow()
652 ShadowUserManager.getShadow().addUser(userId, "Someone", 0); in openTileIntent_profileSelectionDialog_unresolvableWorkProfileIntentShouldNotShow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DRemoveAccountPreferenceControllerTest.java160 ShadowUserManager.getShadow().setUserRestrictionSources( in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
164 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java141 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
291 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowConnectivityManager.java51 public static ShadowConnectivityManager getShadow() { in getShadow() method in ShadowConnectivityManager
DShadowInputMethodManagerWithMethodList.java70 public static ShadowInputMethodManagerWithMethodList getShadow() { in getShadow() method in ShadowInputMethodManagerWithMethodList
DShadowAudioManager.java53 public static ShadowAudioManager getShadow() { in getShadow() method in ShadowAudioManager
DShadowDevicePolicyManager.java114 public static ShadowDevicePolicyManager getShadow() { in getShadow() method in ShadowDevicePolicyManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DMultiUserSwitchBarControllerTest.java52 mUserManager = ShadowUserManager.getShadow(); in setUp()
DUserCapabilitiesTest.java44 mUserManager = ShadowUserManager.getShadow(); in setUp()
DAddUserWhenLockedPreferenceControllerTest.java59 mUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputPreferenceControllerTest.java64 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in getSummary_shouldSetToCurrentImeName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/
DFactoryResetPreferenceControllerTest.java50 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
DSystemDashboardFragmentTest.java57 ShadowUserManager.getShadow().setIsAdminUser(true); in setup()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DRestrictedEncryptionPreferenceControllerTest.java68 mUserManager = ShadowUserManager.getShadow(); in setUp()
DEncryptionStatusPreferenceControllerTest.java55 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DInputMethodPreferenceControllerTest.java81 ShadowInputMethodManagerWithMethodList.getShadow().setEnabledInputMethodList(imis); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
DInputMethodAndSubtypePreferenceControllerTest.java88 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in displayPreference_hasInputMethodSubType_shouldAddPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DRestrictedListPreferenceTest.java65 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSwitchBarControllerTest.java63 ShadowUserManager.getShadow().setIsAdminUser(true); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DSpecialAppAccessPreferenceControllerTest.java74 ShadowUserManager.getShadow().setProfileIdsWithDisabled(new int[]{0}); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragmentTest.java69 mUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DLockAfterTimeoutPreferenceControllerTest.java129 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(userId, adminTimeout); in testUpdateStateWithAdminTimeouts()

12