OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ShadowUserManager
(Results
1 - 25
of
46
) sorted by null
1
2
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DevelopmentSettingsEnablerTest.java
25
import com.android.settingslib.testutils.shadow.
ShadowUserManager
;
35
@Config(shadows =
ShadowUserManager
.class)
43
ShadowUserManager
.getShadow().setIsAdminUser(true);
48
ShadowUserManager
.getShadow().reset();
79
ShadowUserManager
.getShadow().setIsAdminUser(false);
80
ShadowUserManager
.getShadow().setIsDemoUser(false);
89
ShadowUserManager
.getShadow().setIsAdminUser(false);
90
ShadowUserManager
.getShadow().setIsDemoUser(true);
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
ShadowUserManager.java
25
public class
ShadowUserManager
extends org.robolectric.shadows.
ShadowUserManager
{
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
ShadowUserManager.java
33
public class
ShadowUserManager
extends org.robolectric.shadows.
ShadowUserManager
{
70
public static
ShadowUserManager
getShadow() {
71
return (
ShadowUserManager
) Shadow.extract(
/packages/services/Car/tests/robotests/src/com/android/car/testutils/shadow/
ShadowUserHandle.java
29
return
ShadowUserManager
.getShadow().getCurrentUser();
31
// This method may be called before
ShadowUserManager
is properly initialized. Just
ShadowUserManager.java
36
public class
ShadowUserManager
extends org.robolectric.shadows.
ShadowUserManager
{
143
public static
ShadowUserManager
getShadow() {
144
return (
ShadowUserManager
) Shadow.extract(
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
SimStatusImeiInfoPreferenceControllerTest.java
37
@Config(shadows = {SimStatusImeiInfoPreferenceControllerTest.
ShadowUserManager
.class,
56
ShadowUserManager
userManager =
68
ShadowUserManager
userManager =
80
ShadowUserManager
userManager =
88
public static class
ShadowUserManager
extends org.robolectric.shadows.
ShadowUserManager
{
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
RestrictedEncryptionPreferenceControllerTest.java
26
import com.android.settings.testutils.shadow.
ShadowUserManager
;
37
@Config(shadows =
ShadowUserManager
.class)
41
private
ShadowUserManager
mUserManager;
62
mUserManager =
ShadowUserManager
.getShadow();
/packages/services/Car/tests/robotests/src/com/android/car/users/
CarUserManagerHelperRoboTest.java
32
import com.android.car.testutils.shadow.
ShadowUserManager
;
45
ShadowUserHandle.class,
ShadowUserManager
.class})
85
ShadowUserManager
.getShadow().setCurrentUser(currentProcessUserId);
93
ShadowUserManager
.getShadow().setCurrentUser(currentProcessUserId);
100
ShadowUserManager
userManager =
ShadowUserManager
.getShadow();
127
ShadowUserManager
userManager =
ShadowUserManager
.getShadow();
157
ShadowUserManager
shadowUserManager
= ShadowUserManager.getShadow()
[
all
...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowUserManager.java
40
public class
ShadowUserManager
extends org.robolectric.shadows.
ShadowUserManager
{
91
public static
ShadowUserManager
getShadow() {
92
return (
ShadowUserManager
) Shadow.extract(
/packages/apps/Settings/tests/robotests/src/com/android/settings/fingerprint/
FingerprintSuggestionActivityTest.java
33
import com.android.settings.testutils.shadow.
ShadowUserManager
;
48
@Config(shadows = {ShadowLockPatternUtils.class,
ShadowUserManager
.class})
64
ShadowUserManager
.getShadow().setUserInfo(0, mUserInfo);
/packages/apps/Settings/tests/robotests/src/com/android/settings/
RestrictedListPreferenceTest.java
31
import com.android.settings.testutils.shadow.
ShadowUserManager
;
44
ShadowUserManager
.class,
53
private
ShadowUserManager
mShadowUserManager;
63
mShadowUserManager =
ShadowUserManager
.getShadow();
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/
AdvancedConnectedDeviceDashboardFragmentTest.java
25
import com.android.settings.testutils.shadow.
ShadowUserManager
;
38
@Config(shadows = {ShadowBluetoothPan.class,
ShadowUserManager
.class,
ConnectedDeviceDashboardFragmentTest.java
37
import com.android.settings.testutils.shadow.
ShadowUserManager
;
50
@Config(shadows = {ShadowBluetoothPan.class,
ShadowUserManager
.class,
/packages/apps/Settings/tests/robotests/src/com/android/settings/system/
FactoryResetPreferenceControllerTest.java
33
import org.robolectric.shadows.
ShadowUserManager
;
40
private
ShadowUserManager
mShadowUserManager;
SystemUpdatePreferenceControllerTest.java
47
import org.robolectric.shadows.
ShadowUserManager
;
61
private
ShadowUserManager
mShadowUserManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
RedactionInterstitialTest.java
26
import com.android.settings.testutils.shadow.
ShadowUserManager
;
43
ShadowUserManager
.class,
51
ShadowUserManager
.getShadow().reset();
112
ShadowUserManager
.getShadow().addManagedProfile(UserHandle.myUserId());
123
ShadowUserManager
.getShadow().addManagedProfile(UserHandle.myUserId());
SoundSettingsTest.java
35
import com.android.settings.testutils.shadow.
ShadowUserManager
;
49
@Config(shadows = {
ShadowUserManager
.class, ShadowAudioHelper.class})
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/autofill/
AutofillPickerFragmentTest.java
34
import com.android.tv.settings.testutils.
ShadowUserManager
;
51
ShadowUserManager
.class,
58
private
ShadowUserManager
mUserManager;
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
ChooseLockTypeDialogFragmentTest.java
34
import com.android.settings.testutils.shadow.
ShadowUserManager
;
48
@Config(shadows = {
ShadowUserManager
.class, ShadowUtils.class})
ChooseLockSettingsHelperTest.java
19
import com.android.settings.testutils.shadow.
ShadowUserManager
;
32
@Config(shadows = {
ShadowUserManager
.class, ShadowUtils.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
ActionDisabledByAdminDialogHelperTest.java
43
import com.android.settings.testutils.shadow.
ShadowUserManager
;
58
ShadowUserManager
.class,
149
final
ShadowUserManager
userManagerShadow = Shadow.extract(userManager);
173
final
ShadowUserManager
userManagerShadow = Shadow.extract(userManager);
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
MobileNetworkPreferenceControllerTest.java
41
import com.android.settings.testutils.shadow.
ShadowUserManager
;
57
ShadowUserManager
.class}
82
ShadowUserManager
userManager = extract(mContext.getSystemService(UserManager.class));
94
ShadowUserManager
userManager = extract(mContext.getSystemService(UserManager.class));
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
MyDeviceInfoFragmentTest.java
41
import com.android.settings.testutils.shadow.
ShadowUserManager
;
59
@Config(shadows = {ShadowConnectivityManager.class,
ShadowUserManager
.class})
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
RemoveAccountPreferenceControllerTest.java
52
import com.android.settings.testutils.shadow.
ShadowUserManager
;
68
ShadowUserManager
.class,
143
ShadowUserManager
.getShadow().setUserRestrictionSources(
/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
LocationServicePreferenceControllerTest.java
39
import com.android.settings.testutils.shadow.
ShadowUserManager
;
58
ShadowUserManager
.class
168
ShadowUserManager
.getShadow().setUserRestrictionSources(
Completed in 754 milliseconds
1
2