/packages/services/Car/tests/robotests/src/com/android/car/users/ |
D | CarUserManagerHelperRoboTest.java | 65 ShadowActivityManager.getShadow().reset(); in tearDown() 85 ShadowUserManager.getShadow().setCurrentUser(currentProcessUserId); in testGetCurrentProcessUserId() 93 ShadowUserManager.getShadow().setCurrentUser(currentProcessUserId); in testGetCurrentProcessUserInfo() 100 ShadowUserManager userManager = ShadowUserManager.getShadow(); in testGetAllUsers() 127 ShadowUserManager userManager = ShadowUserManager.getShadow(); in testGetAllUsersExceptForegroundUser() 157 ShadowUserManager shadowUserManager = ShadowUserManager.getShadow(); in testIsUserRunningCurrentProcess() 175 ShadowUserManager shadowUserManager = ShadowUserManager.getShadow(); in testRemoveCurrentProcessUserSwitchesToGuestUser() 184 assertThat(ShadowActivityManager.getShadow().getSwitchUserCalled()).isTrue(); in testRemoveCurrentProcessUserSwitchesToGuestUser() 185 assertThat(ShadowActivityManager.getShadow().getUserSwitchedTo()).isEqualTo(0); in testRemoveCurrentProcessUserSwitchesToGuestUser() 196 assertThat(ShadowActivityManager.getShadow().getSwitchUserCalled()).isFalse(); in testSwitchToUser() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/ |
D | LocationServicePreferenceControllerTest.java | 131 ShadowUserManager.getShadow().setProfileIdsWithDisabled(new int[]{UserHandle.myUserId()}); in updateState_shouldRemoveAllAndAddInjectedSettings() 145 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() 154 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() 169 ShadowUserManager.getShadow().setProfileIdsWithDisabled( in workProfileDisallowShareLocationOff_getAllUserLocationServices() 175 ShadowUserManager.getShadow().setUserRestrictionSources( in workProfileDisallowShareLocationOff_getAllUserLocationServices() 204 ShadowUserManager.getShadow().setProfileIdsWithDisabled(new int[]{UserHandle.myUserId()}); in withUserRestriction_shouldDisableLocationAccuracy() 212 ShadowUserManager.getShadow().setUserRestrictionSources( in withUserRestriction_shouldDisableLocationAccuracy()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | TimeoutPreferenceControllerTest.java | 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/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 371 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldShow() 387 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_explicitMetadataShouldShow() 404 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_shouldNotShow() 422 ShadowUserManager.getShadow().addUser(userId, "Someone", 0); in openTileIntent_profileSelectionDialog_validUserHandleShouldNotShow() 443 ShadowUserManager.getShadow().addUser(10, "Someone", 0); in openTileIntent_profileSelectionDialog_invalidUserHandleShouldShow()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 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/accounts/ |
D | RemoveAccountPreferenceControllerTest.java | 158 ShadowUserManager.getShadow().setUserRestrictionSources( in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog() 162 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser(componentName); in onClick_modifyAccountsIsDisallowed_shouldNotStartConfirmDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsPreferenceControllerTest.java | 141 mShadowUserManager = ShadowUserManager.getShadow(); in setUp() 291 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in isEnabled_canBeDisabledByAdmin()
|
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/ |
D | ShadowUserHandle.java | 29 return ShadowUserManager.getShadow().getCurrentUser(); in myUserId()
|
D | ShadowActivityManager.java | 61 public static ShadowActivityManager getShadow() { in getShadow() method in ShadowActivityManager
|
D | ShadowUserManager.java | 143 public static ShadowUserManager getShadow() { in getShadow() method in ShadowUserManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 235 ShadowUserManager.getShadow().setUserRestrictionSources( in withDisallowRemoveUser_ShouldDisableRemoveUser() 240 ShadowDevicePolicyManager.getShadow().setDeviceOwnerComponentOnAnyUser( in withDisallowRemoveUser_ShouldDisableRemoveUser()
|
D | UserCapabilitiesTest.java | 44 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/src/com/android/settings/testutils/shadow/ |
D | ShadowConnectivityManager.java | 51 public static ShadowConnectivityManager getShadow() { in getShadow() method in ShadowConnectivityManager
|
D | ShadowInputMethodManagerWithMethodList.java | 54 public static ShadowInputMethodManagerWithMethodList getShadow() { in getShadow() method in ShadowInputMethodManagerWithMethodList
|
D | ShadowAudioManager.java | 53 public static ShadowAudioManager getShadow() { in getShadow() method in ShadowAudioManager
|
D | ShadowDevicePolicyManager.java | 115 public static ShadowDevicePolicyManager getShadow() { in getShadow() method in ShadowDevicePolicyManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/ |
D | FactoryResetPreferenceControllerTest.java | 48 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
|
D | SystemDashboardFragmentTest.java | 57 ShadowUserManager.getShadow().setIsAdminUser(true); 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/inputmethod/ |
D | InputMethodAndSubtypePreferenceControllerTest.java | 88 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in displayPreference_hasInputMethodSubType_shouldAddPreference()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSwitchBarControllerTest.java | 63 ShadowUserManager.getShadow().setIsAdminUser(true); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | RestrictedListPreferenceTest.java | 65 mShadowUserManager = ShadowUserManager.getShadow(); in setUp()
|