Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/model/
DPackageUpdatedTask.java74 private final UserHandle mUser; field in PackageUpdatedTask
79 mUser = user; in PackageUpdatedTask()
92 ItemInfoMatcher matcher = ItemInfoMatcher.ofPackages(packageSet, mUser); in execute()
97 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
101 appsList.addPackage(context, packages[i], mUser); in execute()
104 if (!Utilities.ATLEAST_OREO && !Process.myUserHandle().equals(mUser)) { in execute()
105 SessionCommitReceiver.queueAppIconAddition(context, packages[i], mUser); in execute()
114 iconCache.updateIconsForPkg(packages[i], mUser); in execute()
115 appsList.updatePackage(context, packages[i], mUser); in execute()
116 app.getWidgetCache().removePackage(packages[i], mUser); in execute()
[all …]
DUserLockStateChangedTask.java45 private final UserHandle mUser; field in UserLockStateChangedTask
48 mUser = user; in UserLockStateChangedTask()
54 boolean isUserUnlocked = UserManagerCompat.getInstance(context).isUserUnlocked(mUser); in execute()
60 deepShortcutManager.queryForPinnedShortcuts(null, mUser); in execute()
79 && mUser.equals(itemInfo.user)) { in execute()
100 bindUpdatedShortcuts(updatedShortcutInfos, mUser); in execute()
108 if (keysIter.next().user.equals(mUser)) { in execute()
115 null, mUser, deepShortcutManager.queryForAllShortcuts(mUser)); in execute()
DShortcutsChangedTask.java44 private final UserHandle mUser; field in ShortcutsChangedTask
51 mUser = user; in ShortcutsChangedTask()
69 if (si.getIntent().getPackage().equals(mPackageName) && si.user.equals(mUser)) { in execute()
80 mPackageName, new ArrayList<>(allIds), mUser); in execute()
107 bindUpdatedShortcuts(updatedShortcutInfos, mUser); in execute()
114 dataModel.updateDeepShortcutMap(mPackageName, mUser, mShortcuts); in execute()
DCacheDataUpdatedTask.java43 private final UserHandle mUser; field in CacheDataUpdatedTask
48 mUser = user; in CacheDataUpdatedTask()
61 if (info instanceof ShortcutInfo && mUser.equals(info.user)) { in execute()
72 apps.updateIconsAndLabels(mPackages, mUser, updatedApps); in execute()
74 bindUpdatedShortcuts(updatedShortcuts, mUser); in execute()
DWidgetsModel.java120 && nextWidget.user.equals(packageUser.mUser)) { in setWidgetsAndShortcuts()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DUserProfileController.java48 private UserInfo mUser; field in UserProfileController
55 mUser = Preconditions.checkNotNull(info); in UserProfileController()
67 return PREFERENCE_KEY_BASE + mUser.id; in getPreferenceKey()
74 mStoragePreference.setKey(PREFERENCE_KEY_BASE + mUser.id); in displayPreference()
75 mStoragePreference.setTitle(mUser.name); in displayPreference()
83 args.putInt(StorageProfileFragment.USER_ID_EXTRA, mUser.id); in handlePreferenceTreeClick()
87 mUser.name, false, MetricsProto.MetricsEvent.DEVICEINFO_STORAGE); in handlePreferenceTreeClick()
100 int userId = mUser.id; in handleResult()
128 Drawable userIcon = fetchedIcons.get(mUser.id); in handleUserIcons()
DSecondaryUserController.java51 private @NonNull UserInfo mUser; field in SecondaryUserController
100 mUser = info; in SecondaryUserController()
111 mStoragePreference.setTitle(mUser.name); in displayPreference()
112 mStoragePreference.setKey(PREFERENCE_KEY_BASE + mUser.id); in displayPreference()
138 return mUser; in getUser()
170 mUserIcon = fetchedIcons.get(mUser.id); in handleUserIcons()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java85 private 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/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.java82 UserInfo info = Utils.getExistingUser(mUserManager, mUser); in onResume()
121 this, mUser); in onCreateDialog()
124 UserDialogs.createRemoveDialog(getActivity(), mUser.getIdentifier(), in onCreateDialog()
152 mUserManager.removeUser(mUser.getIdentifier()); in removeUser()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPackageUserKey.java15 public UserHandle mUser; field in PackageUserKey
32 mUser = user; in update()
57 return mPackageName.equals(otherKey.mPackageName) && mUser.equals(otherKey.mUser); in equals()
DContentWriter.java41 private UserHandle mUser; field in ContentWriter
84 mUser = user; in putIcon()
99 .isDefaultIcon(mIcon, mUser)) { in getValues()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java605 UserState mUser; field in RunningState.MergedItem
636 if (mUser != null) { in update()
644 mLabel = mUser != null ? mUser.mLabel : null; in update()
683 if (mUser != null) { in updateSize()
710 if (mUser == null) { in loadIcon()
713 if (mUser.mIcon != null) { in loadIcon()
714 ConstantState constState = mUser.mIcon.getConstantState(); in loadIcon()
716 return mUser.mIcon; in loadIcon()
887 userItem.mUser = new UserState(); in addOtherUserItem()
888 userItem.mUser.mInfo = info; in addOtherUserItem()
[all …]
DMusicViewHolderController.java48 private UserHandle mUser; field in MusicViewHolderController
55 mUser = user; in MusicViewHolderController()
62 mMusicSize = mSource.getExternalStorageStats(mVolumeUuid, mUser).audioBytes; in queryStats()
89 intent.putExtra(Intent.EXTRA_USER_ID, mUser); in onClick()
DFetchPackageStorageAsyncLoader.java40 private final UserHandle mUser; field in FetchPackageStorageAsyncLoader
47 mUser = user; in FetchPackageStorageAsyncLoader()
54 result = mSource.getStatsForPackage(mInfo.volumeUuid, mInfo.packageName, mUser); in loadInBackground()
DPhotosViewHolderController.java45 private UserHandle mUser; field in PhotosViewHolderController
52 mUser = user; in PhotosViewHolderController()
60 mSource.getExternalStorageStats(mVolumeUuid, mUser); in queryStats()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DPackageDeletionTask.java33 private UserHandle mUser; field in PackageDeletionTask
39 mUser = android.os.Process.myUserHandle(); in PackageDeletionTask()
49 mPm.deletePackageAsUser(packageName, observer, 0, mUser.getIdentifier()); in run()
/packages/apps/Settings/src/com/android/settings/
DApnEditor.java88 private EditTextPreference mUser; field in ApnEditor
190 mUser = (EditTextPreference) findPreference("apn_user"); in onCreate()
379 return mUser; in getPreferenceFromFieldName()
437 mUser.setEnabled(false); in disableAllFields()
493 mUser.setText(mCursor.getString(USER_INDEX)); in fillUi()
565 mUser.setSummary(checkNull(mUser.getText())); in fillUi()
927 checkNotSet(mUser.getText()), in validateAndSave()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DShortcutConfigActivityInfo.java48 private final UserHandle mUser; field in ShortcutConfigActivityInfo
52 mUser = user; in ShortcutConfigActivityInfo()
60 return mUser; in getUser()
DAppWidgetManagerCompatVO.java44 packageUser.mUser); in getAllProviders()
DAppWidgetManagerCompatVL.java61 .getInstalledProvidersForProfile(packageUser.mUser)); in getAllProviders()
DLauncherAppsCompatVO.java76 users.add(packageUser.mUser); in getCustomShortcutActivityList()
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java834 private final UserHandle mUser; field in IconCache.ActivityInfoProvider
838 mUser = user; in ActivityInfoProvider()
843 return mLauncherApps.resolveActivity(mIntent, mUser); in get()
/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()

12