/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ |
D | WorkModeCondition.java | 33 private UserManager mUm; field in WorkModeCondition 38 mUm = (UserManager) mManager.getContext().getSystemService(Context.USER_SERVICE); in WorkModeCondition() 42 List<UserInfo> profiles = mUm.getProfiles(UserHandle.myUserId()); in updateUserHandle() 58 setActive(mUserHandle != null && mUm.isQuietModeEnabled(mUserHandle)); in refreshState() 93 mUm.trySetQuietModeDisabled(mUserHandle.getIdentifier(), null); in onActionClick()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppCounter.java | 33 protected final UserManager mUm; field in AppCounter 38 mUm = UserManager.get(context); in AppCounter() 44 for (UserInfo user : mUm.getProfiles(UserHandle.myUserId())) { in doInBackground()
|
D | RunningState.java | 82 final UserManager mUm; field in RunningState 782 mUm = (UserManager)mApplicationContext.getSystemService(Context.USER_SERVICE); in RunningState() 784 UserInfo userInfo = mUm.getUserInfo(mMyUserId); in RunningState() 873 UserInfo info = mUm.getUserInfo(newItem.mUserId); in addOtherUserItem() 890 userItem.mUser.mIcon = Utils.getUserIcon(context, mUm, info); in addOtherUserItem()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutFragment.java | 80 private UserManager mUm; field in AboutFragment 95 mUm = UserManager.get(getActivity()); in onCreate() 168 if (mUm.isAdminUser()) { in onCreatePreferences() 250 if (mUm.hasUserRestriction(UserManager.DISALLOW_FUN)) { in onPreferenceTreeClick() 267 if (!mUm.isAdminUser()) in onPreferenceTreeClick() 270 if (mUm.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES)) in onPreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DeviceInfoSettings.java | 81 private UserManager mUm; field in DeviceInfoSettings 101 mUm = UserManager.get(getActivity()); in onCreate() 162 if (mUm.isAdminUser()) { in onCreate() 211 if (mUm.hasUserRestriction(UserManager.DISALLOW_FUN)) { in onPreferenceTreeClick() 231 if (!mUm.isAdminUser()) return true; in onPreferenceTreeClick() 238 if (mUm.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES)) { in onPreferenceTreeClick()
|
D | DeviceAdminSettings.java | 65 private UserManager mUm; field in DeviceAdminSettings 115 mUm = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onCreateView() 138 final List<UserHandle> profiles = mUm.getUserProfiles(); in onResume() 160 final List<UserHandle> profiles = mUm.getUserProfiles(); in updateList()
|
D | SecuritySettings.java | 129 private UserManager mUm; field in SecuritySettings 172 mUm = UserManager.get(getActivity()); in onCreate() 242 mProfileChallengeUserId = Utils.getManagedProfileId(mUm, MY_USER_ID); in createPreferenceHierarchy() 276 mIsAdmin = mUm.isAdminUser(); in createPreferenceHierarchy() 628 if (Utils.startQuietModeDialogIfNecessary(this.getActivity(), mUm, in onPreferenceTreeClick() 753 if (Utils.startQuietModeDialogIfNecessary(this.getActivity(), mUm, in onPreferenceChange() 759 if (Utils.startQuietModeDialogIfNecessary(this.getActivity(), mUm, in onPreferenceChange()
|
D | WirelessSettings.java | 87 private UserManager mUm; field in WirelessSettings 223 mUm = (UserManager) getSystemService(Context.USER_SERVICE); 227 final boolean isAdmin = mUm.isAdminUser();
|
D | DevelopmentSettings.java | 224 private UserManager mUm; field in DevelopmentSettings 337 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 383 if (!mUm.isAdminUser()) { in onCreate()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSettings.java | 113 private UserManager mUm; field in LocationSettings 125 mUm = (UserManager) activity.getSystemService(Context.USER_SERVICE); in onActivityCreated() 238 && mUm.hasUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, mManagedProfile)) { in createPreferenceHierarchy() 250 mManagedProfile = Utils.getManagedProfile(mUm); in setupManagedProfileCategory() 430 return mUm.hasBaseUserRestriction(UserManager.DISALLOW_SHARE_LOCATION, mManagedProfile); in isManagedProfileRestrictedByBase() 438 mUm.setUserRestriction(UserManager.DISALLOW_SHARE_LOCATION,
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageBase.java | 45 protected UserManager mUm; field in PowerUsageBase 53 mUm = (UserManager) activity.getSystemService(Context.USER_SERVICE); in onAttach() 124 mStatsHelper.refreshStats(BatteryStats.STATS_SINCE_CHARGED, mUm.getUserProfiles()); in refreshStats()
|
D | PowerUsageSummary.java | 340 final BatteryEntry entry = new BatteryEntry(getActivity(), mHandler, mUm, sipper); in refreshStats() 341 final Drawable badgedIcon = mUm.getBadgedIconForUser(entry.getIcon(), in refreshStats() 343 final CharSequence contentDescription = mUm.getBadgedLabelForUser(entry.getLabel(), in refreshStats() 433 pgp.setIcon(mUm.getBadgedIconForUser(entry.getIcon(), userHandle));
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountPreferenceBase.java | 55 private UserManager mUm; field in AccountPreferenceBase 66 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 68 mUserHandle = Utils.getSecureTargetUser(activity.getActivityToken(), mUm, getArguments(), in onCreate()
|
D | AccountSettings.java | 98 private UserManager mUm; field in AccountSettings 144 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 235 mUm.removeUser(userId); in onPreferenceClick() 257 if (Utils.isManagedProfile(mUm)) { in updateUi() 265 if(mUm.isLinkedUser()) { in updateUi() 267 UserInfo userInfo = mUm.getUserInfo(UserHandle.myUserId()); in updateUi() 270 List<UserInfo> profiles = mUm.getProfiles(UserHandle.myUserId()); in updateUi()
|
D | ChooseAccountActivity.java | 74 private UserManager mUm; field in ChooseAccountActivity 116 mUm = UserManager.get(getContext()); in onCreate() 117 mUserHandle = Utils.getSecureTargetUser(getActivity().getActivityToken(), mUm, in onCreate()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApnSettingsActivity.java | 128 private UserManager mUm; field in ApnSettingsActivity.ApnSettingsFragment 155 mUm = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onCreate() 156 if (!mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) { in onCreate() 176 mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) { in onActivityCreated()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/enterprise/ |
D | EnterprisePolicyGuardTest.java | 280 private UserManager mUm; field in EnterprisePolicyGuardTest.TestMockContext 285 mUm = um; in TestMockContext() 292 return mUm; in getSystemService()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NetworkSetting.java | 82 private UserManager mUm; field in NetworkSetting 244 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 246 if (mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) { in onCreate()
|
D | MobileNetworkSettings.java | 121 private UserManager mUm; field in MobileNetworkSettings 428 mUm = (UserManager) getSystemService(Context.USER_SERVICE); in onCreate() 431 if (mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS)) { in onCreate() 714 if (!mUm.isAdminUser() || !isCellBroadcastAppLinkEnabled in updateBody() 715 || mUm.hasUserRestriction(UserManager.DISALLOW_CONFIG_CELL_BROADCASTS)) { in updateBody()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationSettingsBase.java | 59 protected UserManager mUm; field in NotificationSettingsBase 100 mUm = (UserManager) mContext.getSystemService(Context.USER_SERVICE); in onCreate()
|
D | AppNotificationSettings.java | 106 UserInfo parentUser = mUm.getProfileParent(UserHandle.myUserId()); in updateDependents()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 167 private UserManager mUm; field in DevelopmentFragment 258 mUm = (UserManager) getActivity().getSystemService(Context.USER_SERVICE); in onCreate() 270 if (!mUm.isAdminUser() in onCreatePreferences() 271 || mUm.hasUserRestriction(UserManager.DISALLOW_DEBUGGING_FEATURES) in onCreatePreferences() 330 if (!mUm.isAdminUser()) { in onCreatePreferences()
|