Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DLocationInjectedServicesPreferenceControllerTest.java129 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
131 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
132 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
141 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
160 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
162 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in workProfileDisallowShareLocationOff_getAllUserLocationServices()
163 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOff_getAllUserLocationServices()
169 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOff_getAllUserLocationServices()
190 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in privateProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
192 ShadowUserManager.getShadow().addProfile(new UserInfo(UserHandle.myUserId(), "", 0)); in privateProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java126 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DGuestTelephonyPreferenceControllerTest.java67 mUserManager = ShadowUserManager.getShadow(); in setUp()
69 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
DUserCapabilitiesTest.java52 mUserManager = ShadowUserManager.getShadow(); in setUp()
53 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
DMultiUserPreferenceControllerTest.java47 mUserManager = ShadowUserManager.getShadow(); in setUp()
DMultiUserSwitchBarControllerTest.java52 mUserManager = ShadowUserManager.getShadow(); in setUp()
DAddUserWhenLockedPreferenceControllerTest.java59 mUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowConnectivityManager.java51 public static ShadowConnectivityManager getShadow() { in getShadow() method in ShadowConnectivityManager
DShadowAudioManager.java54 public static ShadowAudioManager getShadow() { in getShadow() method in ShadowAudioManager
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputMethodManagerWithMethodList.java70 public static ShadowInputMethodManagerWithMethodList getShadow() { in getShadow() method in ShadowInputMethodManagerWithMethodList
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/
DSystemDashboardFragmentTest.java51 ShadowUserManager.getShadow().setIsAdminUser(true); in setup()
DFactoryResetDemoUserPreferenceControllerTest.java50 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java713 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldShow()
729 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow()
746 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldNotShow()
764 ShadowUserManager.getShadow().addUser(userId, "Someone", 0); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow()
785 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_invalidUserHandleShouldShow()
804 ShadowUserManager.getShadow().addUser(userId, "Someone", 0); in openTileIntent_profileSelectionDialog_unresolvableWorkProfileIntentShouldNotShow()
/packages/apps/Settings/tests/robotests/src/com/android/settings/communal/
DCommunalPreferenceControllerTest.java51 mShadowUserManager = ShadowUserManager.getShadow(); 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/dashboard/profileselector/
DProfileSelectLocationFragmentTest.java62 mUserManager = ShadowUserManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRestrictedButtonTest.java65 ShadowUserManager.getShadow().setUserRestrictionSources( in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DPrivateDnsPreferenceControllerTest.java146 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
309 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSwitchBarControllerTest.java64 ShadowUserManager.getShadow().setIsAdminUser(true); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DInputMethodAndSubtypePreferenceControllerTest.java91 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/security/screenlock/
DLockAfterTimeoutPreferenceControllerTest.java129 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(userId, adminTimeout); in testUpdateStateWithAdminTimeouts()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DCrossProfileCalendarPreferenceControllerTest.java76 dpm = ShadowDevicePolicyManager.getShadow(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java317 ShadowUserManager.getShadow().setManagedProfiles(profileIds); in onCreate_managedProfile_shouldRestartActivity()
333 ShadowUserManager.getShadow().setPrivateProfile(11, "private", 0); in onCreate_privateProfile_shouldRestartActivity()

12