/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationInjectedServicesPreferenceControllerTest.java | 129 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/ |
D | ActionDisabledByAdminDialogHelperTest.java | 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()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | GuestTelephonyPreferenceControllerTest.java | 67 mUserManager = ShadowUserManager.getShadow(); in setUp() 69 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | UserCapabilitiesTest.java | 52 mUserManager = ShadowUserManager.getShadow(); in setUp() 53 mDpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
D | MultiUserPreferenceControllerTest.java | 47 mUserManager = ShadowUserManager.getShadow(); in setUp()
|
D | MultiUserSwitchBarControllerTest.java | 52 mUserManager = ShadowUserManager.getShadow(); in setUp()
|
D | AddUserWhenLockedPreferenceControllerTest.java | 59 mUserManager = ShadowUserManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowConnectivityManager.java | 51 public static ShadowConnectivityManager getShadow() { in getShadow() method in ShadowConnectivityManager
|
D | ShadowAudioManager.java | 54 public static ShadowAudioManager getShadow() { in getShadow() method in ShadowAudioManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowInputMethodManagerWithMethodList.java | 70 public static ShadowInputMethodManagerWithMethodList getShadow() { in getShadow() method in ShadowInputMethodManagerWithMethodList
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/ |
D | SystemDashboardFragmentTest.java | 51 ShadowUserManager.getShadow().setIsAdminUser(true); in setup()
|
D | FactoryResetDemoUserPreferenceControllerTest.java | 50 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 713 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/ |
D | CommunalPreferenceControllerTest.java | 51 mShadowUserManager = ShadowUserManager.getShadow(); in setup()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | RestrictedEncryptionPreferenceControllerTest.java | 68 mUserManager = ShadowUserManager.getShadow(); in setUp()
|
D | EncryptionStatusPreferenceControllerTest.java | 55 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/profileselector/ |
D | ProfileSelectLocationFragmentTest.java | 62 mUserManager = ShadowUserManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/ |
D | RestrictedButtonTest.java | 65 ShadowUserManager.getShadow().setUserRestrictionSources( in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 146 mShadowUserManager = ShadowUserManager.getShadow(); in setUp() 309 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSwitchBarControllerTest.java | 64 ShadowUserManager.getShadow().setIsAdminUser(true); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypePreferenceControllerTest.java | 91 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in displayPreference_hasInputMethodSubType_shouldAddPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | RestrictedListPreferenceTest.java | 65 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/ |
D | LockAfterTimeoutPreferenceControllerTest.java | 129 ShadowDevicePolicyManager.getShadow().setMaximumTimeToLock(userId, adminTimeout); in testUpdateStateWithAdminTimeouts()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | CrossProfileCalendarPreferenceControllerTest.java | 76 dpm = ShadowDevicePolicyManager.getShadow(); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/ |
D | SettingsHomepageActivityTest.java | 317 ShadowUserManager.getShadow().setManagedProfiles(profileIds); in onCreate_managedProfile_shouldRestartActivity() 333 ShadowUserManager.getShadow().setPrivateProfile(11, "private", 0); in onCreate_privateProfile_shouldRestartActivity()
|