Home
last modified time | relevance | path

Searched refs:UserCapabilities (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserCapabilitiesTest.java52 UserCapabilities userCapabilities = UserCapabilities.create(mContext); in disallowUserSwitch_restrictionIsSet_true()
63 UserCapabilities userCapabilities = UserCapabilities.create(mContext); in disallowUserSwitch_restrictionIsNotSet_false()
73 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in userSwitchEnabled_off()
83 final UserCapabilities userCapabilities = UserCapabilities.create(mContext); in userSwitchEnabled_on()
DUserSettingsTest.java95 private UserCapabilities mUserCapabilities;
103 mUserCapabilities = UserCapabilities.create(mContext); in setUp()
/packages/apps/Settings/src/com/android/settings/users/
DUserCapabilities.java30 public class UserCapabilities { class
43 private UserCapabilities() { in UserCapabilities() method in UserCapabilities
46 public static UserCapabilities create(Context context) { in create()
48 UserCapabilities caps = new UserCapabilities(); in create()
DMultiUserFooterPreferenceController.java32 final UserCapabilities mUserCaps;
38 mUserCaps = UserCapabilities.create(context); in MultiUserFooterPreferenceController()
DAddUserWhenLockedPreferenceController.java28 private final UserCapabilities mUserCaps;
32 mUserCaps = UserCapabilities.create(context); in AddUserWhenLockedPreferenceController()
DMultiUserSwitchBarController.java44 private final UserCapabilities mUserCapabilities;
53 mUserCapabilities = UserCapabilities.create(context); in MultiUserSwitchBarController()
DUserSettings.java159 private UserCapabilities mUserCaps;
256 mUserCaps = UserCapabilities.create(activity); in onCreate()
1228 final UserCapabilities userCaps = UserCapabilities.create(context);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserCapabilities.java30 public class UserCapabilities { class
43 private UserCapabilities() { in UserCapabilities() method in UserCapabilities
46 public static UserCapabilities create(Context context) { in create()
48 UserCapabilities caps = new UserCapabilities(); in create()
DMultiUserFooterPreferenceController.java32 final UserCapabilities mUserCaps;
38 mUserCaps = UserCapabilities.create(context); in MultiUserFooterPreferenceController()
DAddUserWhenLockedPreferenceController.java28 private final UserCapabilities mUserCaps;
32 mUserCaps = UserCapabilities.create(context); in AddUserWhenLockedPreferenceController()
DMultiUserSwitchBarController.java44 private final UserCapabilities mUserCapabilities;
53 mUserCapabilities = UserCapabilities.create(context); in MultiUserSwitchBarController()
DUserSettings.java159 private UserCapabilities mUserCaps;
256 mUserCaps = UserCapabilities.create(activity); in onCreate()
1224 final UserCapabilities userCaps = UserCapabilities.create(context);