/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | PackageUpdatedTask.java | 74 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 …]
|
D | UserLockStateChangedTask.java | 45 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()
|
D | ShortcutsChangedTask.java | 44 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()
|
D | CacheDataUpdatedTask.java | 43 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()
|
D | WidgetsModel.java | 120 && nextWidget.user.equals(packageUser.mUser)) { in setWidgetsAndShortcuts()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | UserProfileController.java | 48 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()
|
D | SecondaryUserController.java | 51 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/ |
D | AppRestrictionsFragment.java | 85 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/ |
D | AppRestrictionsFragment.java | 82 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 …]
|
D | EditUserInfoController.java | 56 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()
|
D | RestrictedProfileSettings.java | 82 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/ |
D | PackageUserKey.java | 15 public UserHandle mUser; field in PackageUserKey 32 mUser = user; in update() 57 return mPackageName.equals(otherKey.mPackageName) && mUser.equals(otherKey.mUser); in equals()
|
D | ContentWriter.java | 41 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/ |
D | RunningState.java | 605 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 …]
|
D | MusicViewHolderController.java | 48 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()
|
D | FetchPackageStorageAsyncLoader.java | 40 private final UserHandle mUser; field in FetchPackageStorageAsyncLoader 47 mUser = user; in FetchPackageStorageAsyncLoader() 54 result = mSource.getStatsForPackage(mInfo.volumeUuid, mInfo.packageName, mUser); in loadInBackground()
|
D | PhotosViewHolderController.java | 45 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/ |
D | PackageDeletionTask.java | 33 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/ |
D | ApnEditor.java | 88 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/ |
D | ShortcutConfigActivityInfo.java | 48 private final UserHandle mUser; field in ShortcutConfigActivityInfo 52 mUser = user; in ShortcutConfigActivityInfo() 60 return mUser; in getUser()
|
D | AppWidgetManagerCompatVO.java | 44 packageUser.mUser); in getAllProviders()
|
D | AppWidgetManagerCompatVL.java | 61 .getInstalledProvidersForProfile(packageUser.mUser)); in getAllProviders()
|
D | LauncherAppsCompatVO.java | 76 users.add(packageUser.mUser); in getCustomShortcutActivityList()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 834 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/ |
D | LauncherModel.java | 2025 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()
|