Home
last modified time | relevance | path

Searched refs:mUser (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DUserHandleCompat.java26 private UserHandle mUser; field in UserHandleCompat
29 mUser = user; in UserHandleCompat()
53 return mUser; in getUser()
59 return mUser.toString(); in toString()
71 return mUser.equals(((UserHandleCompat) other).mUser); in equals()
80 return mUser.hashCode(); in hashCode()
92 if (Utilities.ATLEAST_LOLLIPOP && mUser != null) { in addToIntent()
93 intent.putExtra(name, mUser); in addToIntent()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java82 protected UserHandle mUser; field in AppRestrictionsFragment
213 mUser = new UserHandle(icicle.getInt(EXTRA_USER_ID)); in init()
218 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in init()
224 if (mUser == null) { in init()
225 mUser = android.os.Process.myUserHandle(); in init()
228 mHelper = new AppRestrictionsHelper(getContext(), mUser); in init()
232 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in init()
252 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
350 final int userId = mUser.getIdentifier(); in populateApps()
353 if (Utils.getExistingUser(mUserManager, mUser) == null) { in populateApps()
[all …]
DEditUserInfoController.java56 private UserHandle mUser; field in EditUserInfoController
115 mUser = user; in createDialog()
122 UserInfo info = mUserManager.getUserInfo(mUser.getIdentifier()); in createDialog()
156 mUserManager.setUserName(mUser.getIdentifier(), in createDialog()
171 mUserManager.setUserIcon(mUser.getIdentifier(), in createDialog()
DRestrictedProfileSettings.java81 UserInfo info = Utils.getExistingUser(mUserManager, mUser); in onResume()
120 this, mUser); in onCreateDialog()
123 UserDialogs.createRemoveDialog(getActivity(), mUser.getIdentifier(), in onCreateDialog()
139 mUserManager.removeUser(mUser.getIdentifier()); in removeUser()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java85 protected UserHandle mUser; field in AppRestrictionsFragment
243 mUser = new UserHandle(savedInstanceState.getInt(EXTRA_USER_ID)); in onCreate()
248 mUser = new UserHandle(args.getInt(EXTRA_USER_ID)); in onCreate()
254 if (mUser == null) { in onCreate()
255 mUser = android.os.Process.myUserHandle(); in onCreate()
258 mHelper = new AppRestrictionsHelper(getContext(), mUser); in onCreate()
263 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in onCreate()
285 outState.putInt(EXTRA_USER_ID, mUser.getIdentifier()); in onSaveInstanceState()
382 final int userId = mUser.getIdentifier(); in populateApps()
385 if (getExistingUser(mUserManager, mUser) == null) { in populateApps()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DUninstallAppProgress.java66 private UserHandle mUser; field in UninstallAppProgress
274 mUser = intent.getParcelableExtra(Intent.EXTRA_USER); in onCreate()
275 if (mUser == null) { in onCreate()
276 mUser = android.os.Process.myUserHandle(); in onCreate()
280 if (!profiles.contains(mUser)) { in onCreate()
282 + "request uninstall for user " + mUser); in onCreate()
296 mAllUsers ? PackageManager.DELETE_ALL_USERS : 0, mUser.getIdentifier()); in onCreate()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java606 UserState mUser; field in RunningState.MergedItem
637 if (mUser != null) { in update()
645 mLabel = mUser != null ? mUser.mLabel : null; in update()
684 if (mUser != null) { in updateSize()
711 if (mUser == null) { in loadIcon()
714 if (mUser.mIcon != null) { in loadIcon()
715 ConstantState constState = mUser.mIcon.getConstantState(); in loadIcon()
717 return mUser.mIcon; in loadIcon()
888 userItem.mUser = new UserState(); in addOtherUserItem()
889 userItem.mUser.mInfo = info; in addOtherUserItem()
[all …]
DRunningServiceDetails.java442 if (mMergedItem.mUser != null) {
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java2989 UserHandleCompat mUser;
3003 mUser = user;
3021 mIconCache.updateIconsForPkg(packages[i], mUser);
3022 mBgAllAppsList.addPackage(context, packages[i], mUser);
3025 ManagedProfileHeuristic heuristic = ManagedProfileHeuristic.get(context, mUser);
3034 mIconCache.updateIconsForPkg(packages[i], mUser);
3035 mBgAllAppsList.updatePackage(context, packages[i], mUser);
3036 mApp.getWidgetCache().removePackage(packages[i], mUser);
3042 ManagedProfileHeuristic heuristic = ManagedProfileHeuristic.get(context, mUser);
3048 mIconCache.removeIconsForPkg(packages[i], mUser);
[all …]
/packages/apps/Settings/src/com/android/settings/
DApnEditor.java78 private EditTextPreference mUser; field in ApnEditor
173 mUser = (EditTextPreference) findPreference("apn_user"); in onCreate()
288 mUser.setText(mCursor.getString(USER_INDEX)); in fillUi()
360 mUser.setSummary(checkNull(mUser.getText())); in fillUi()
638 values.put(Telephony.Carriers.USER, checkNotSet(mUser.getText())); in validateAndSave()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java79 private final UserHandleCompat mUser; field in ManagedProfileHeuristic
93 mUser = user; in ManagedProfileHeuristic()
256 launcherApps.getActivityList(packageName, mUser); in processPackageAdd()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherModel.java2025 UserHandle mUser; field in LauncherModel.PackageUpdatedTask
2036 mUser = user; in PackageUpdatedTask()
2048 mBgAllAppsList.addPackage(context, packages[i], mUser); in run()
2054 mBgAllAppsList.updatePackage(context, packages[i], mUser); in run()
2065 mBgAllAppsList.removePackage(packages[i], mUser); in run()
2131 removedApps, permanent, mUser); in run()
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt95036 mUser=0