OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mUm
(Results
1 - 25
of
45
) sorted by null
1
2
/packages/apps/Settings/src/com/android/settings/users/
UserFeatureProviderImpl.java
26
UserManager
mUm
;
29
mUm
= (UserManager) context.getSystemService(Context.USER_SERVICE);
34
return
mUm
.getUserProfiles();
/packages/apps/Settings/src/com/android/settings/system/
FactoryResetPreferenceController.java
31
private final UserManager
mUm
;
35
mUm
= (UserManager) context.getSystemService(Context.USER_SERVICE);
41
return
mUm
.isAdminUser() || Utils.isDemoUser(mContext);
/packages/apps/Settings/src/com/android/settings/applications/
AppCounter.java
30
protected final UserManager
mUm
;
34
mUm
= (UserManager) context.getSystemService(Context.USER_SERVICE);
40
for (UserInfo user :
mUm
.getProfiles(UserHandle.myUserId())) {
AppLister.java
37
protected final UserManager
mUm
;
41
mUm
= userManager;
47
for (UserInfo user :
mUm
.getProfiles(UserHandle.myUserId())) {
ApplicationFeatureProviderImpl.java
44
private final UserManager
mUm
;
52
mUm
= UserManager.get(mContext);
75
new CurrentUserPolicyInstalledAppLister(mPm,
mUm
, callback);
97
mUm
, callback);
105
final UserInfo userInfo =
mUm
.getUserInfo(userId);
/packages/apps/Settings/src/com/android/settings/backup/
BackupSettingsActivityPreferenceController.java
33
private final UserManager
mUm
;
38
mUm
= (UserManager) context.getSystemService(Context.USER_SERVICE);
44
return
mUm
.isAdminUser();
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
InstallNonMarketAppsDeprecationTest.java
50
private UserManager
mUm
;
88
mUm
= (UserManager) getContext().getSystemService(Context.USER_SERVICE);
89
mHasUserRestriction =
mUm
.hasUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES);
90
mSystemSetUserRestriction =
mUm
.getUserRestrictionSource(
116
UserInfo newUser =
mUm
.createUser("TEST_USER", 0);
134
mUm
.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, !mHasUserRestriction);
140
mUm
.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES, mHasUserRestriction);
151
mUm
.setUserRestriction(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,
155
mUm
.removeUser(userId);
/frameworks/base/core/java/android/util/
IconDrawableFactory.java
39
protected final UserManager
mUm
;
46
mUm
= context.getSystemService(UserManager.class);
52
return appInfo.isInstantApp() ||
mUm
.isManagedProfile(userId);
78
if (
mUm
.isManagedProfile(userId)) {
81
getUserBadgeColor(
mUm
, userId));
/frameworks/base/services/core/java/com/android/server/storage/
AppCollector.java
101
private final UserManager
mUm
;
109
mUm
= um;
118
List<UserInfo> users =
mUm
.getUsers();
/packages/apps/Settings/src/com/android/settings/dashboard/conditional/
WorkModeCondition.java
33
private UserManager
mUm
;
38
mUm
= (UserManager) mManager.getContext().getSystemService(Context.USER_SERVICE);
42
List<UserInfo> profiles =
mUm
.getProfiles(UserHandle.myUserId());
58
setActive(mUserHandle != null &&
mUm
.isQuietModeEnabled(mUserHandle));
94
mUm
.trySetQuietModeDisabled(mUserHandle.getIdentifier(), null);
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
BatteryStatsUserLifecycleTests.java
60
private UserManager
mUm
;
71
mUm
= UserManager.get(mContext);
73
final UserInfo user =
mUm
.createUser("Test_user_" + System.currentTimeMillis() / 1000, 0);
99
mUm
.removeUser(mTestUserId);
101
for (UserInfo user :
mUm
.getUsers()) {
116
mUm
.removeUser(mTestUserId);
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
AppCollectorTest.java
63
@Mock private UserManager
mUm
;
73
when(mContext.getSystemService(Context.USER_SERVICE)).thenReturn(
mUm
);
88
when(
mUm
.getUsers()).thenReturn(mUsers);
/packages/apps/Settings/src/com/android/settings/accounts/
AccountPreferenceBase.java
51
private UserManager
mUm
;
63
mUm
= (UserManager) getSystemService(Context.USER_SERVICE);
65
mUserHandle = Utils.getSecureTargetUser(activity.getActivityToken(),
mUm
, getArguments(),
ChooseAccountActivity.java
83
private UserManager
mUm
;
129
mUm
= UserManager.get(getContext());
130
mUserHandle = Utils.getSecureTargetUser(getActivity().getActivityToken(),
mUm
,
/packages/apps/Settings/src/com/android/settings/deviceinfo/
BuildNumberPreferenceController.java
58
private final UserManager
mUm
;
72
mUm
= (UserManager) context.getSystemService(Context.USER_SERVICE);
124
if (!
mUm
.isAdminUser()) {
137
if (
mUm
.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES)) {
SystemUpdatePreferenceController.java
43
private final UserManager
mUm
;
47
mUm
= um;
52
return
mUm
.isAdminUser();
/packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageBase.java
43
protected UserManager
mUm
;
49
mUm
= (UserManager) activity.getSystemService(Context.USER_SERVICE);
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
UserLifecycleTests.java
70
private UserManager
mUm
;
82
mUm
= UserManager.get(context);
92
mUm
.removeUser(userId);
102
final UserInfo userInfo =
mUm
.createUser("TestUser", 0);
120
final UserInfo userInfo =
mUm
.createUser("TestUser", 0);
136
final UserInfo userInfo =
mUm
.createUser("TestUser", 0);
156
final UserInfo userInfo =
mUm
.createUser("TestUser", 0);
175
final UserInfo userInfo =
mUm
.createProfileForUser("TestUser",
195
final UserInfo userInfo =
mUm
.createUser("TestUser",
226
final UserInfo userInfo =
mUm
.createProfileForUser("TestUser"
[
all
...]
/frameworks/base/core/tests/coretests/src/android/content/
AbstractCrossUserContentResolverTest.java
52
protected UserManager
mUm
;
59
mUm
= UserManager.get(mContext);
83
mUm
.removeUser(mCrossUserId);
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
RestrictionsManagerService.java
61
private final IUserManager
mUm
;
66
mUm
= (IUserManager) getBinderService(Context.USER_SERVICE);
72
return
mUm
.getApplicationRestrictions(packageName);
/packages/apps/Settings/src/com/android/settings/
EncryptionAndCredential.java
59
private UserManager
mUm
;
77
mUm
= UserManager.get(activity);
95
mIsAdmin =
mUm
.isAdminUser();
/packages/apps/Settings/src/com/android/settings/enterprise/
EnterprisePrivacyFeatureProviderImpl.java
45
private final UserManager
mUm
;
57
mUm
= um;
71
for (final UserInfo userInfo :
mUm
.getProfiles(MY_USER_ID)) {
227
for (final UserInfo userInfo :
mUm
.getProfiles(MY_USER_ID)) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
EnterpriseSetDefaultAppsPreferenceControllerTest.java
68
private UserManager
mUm
;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/
EnterprisePolicyGuardTest.java
280
private UserManager
mUm
;
285
mUm
= um;
292
return
mUm
;
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
AppRestrictionsHelperTest.java
60
private @Mock UserManager
mUm
;
77
when(
mUm
.getUserInfo(mTestUser.getIdentifier())).thenReturn(user);
294
return
mUm
;
Completed in 598 milliseconds
1
2