Home
last modified time | relevance | path

Searched defs:user (Results 1 – 25 of 184) sorted by relevance

12345678

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompat.java40 void onPackageRemoved(String packageName, UserHandle user); in onPackageRemoved()
41 void onPackageAdded(String packageName, UserHandle user); in onPackageAdded()
42 void onPackageChanged(String packageName, UserHandle user); in onPackageChanged()
43 void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing); in onPackagesAvailable()
44 void onPackagesUnavailable(String[] packageNames, UserHandle user, boolean replacing); in onPackagesUnavailable()
45 void onPackagesSuspended(String[] packageNames, UserHandle user); in onPackagesSuspended()
46 void onPackagesUnsuspended(String[] packageNames, UserHandle user); in onPackagesUnsuspended()
48 UserHandle user); in onShortcutsChanged()
73 UserHandle user); in getActivityList()
75 UserHandle user); in resolveActivity()
[all …]
DLauncherAppsCompatVL.java58 public List<LauncherActivityInfo> getActivityList(String packageName, UserHandle user) { in getActivityList()
63 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { in resolveActivity()
68 public void startActivityForProfile(ComponentName component, UserHandle user, in startActivityForProfile()
74 public ApplicationInfo getApplicationInfo(String packageName, int flags, UserHandle user) { in getApplicationInfo()
100 public void showAppDetailsForProfile(ComponentName component, UserHandle user, in showAppDetailsForProfile()
126 public boolean isPackageEnabledForProfile(String packageName, UserHandle user) { in isPackageEnabledForProfile()
131 public boolean isActivityEnabledForProfile(ComponentName component, UserHandle user) { in isActivityEnabledForProfile()
143 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
148 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
153 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
[all …]
DUserManagerCompat.java52 public abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser()
54 public abstract boolean isQuietModeEnabled(UserHandle user); in isQuietModeEnabled()
55 public abstract boolean isUserUnlocked(UserHandle user); in isUserUnlocked()
58 public abstract boolean requestQuietModeEnabled(boolean enableQuietMode, UserHandle user); in requestQuietModeEnabled()
DUserManagerCompatVNMr1.java47 public boolean isQuietModeEnabled(UserHandle user) { in isQuietModeEnabled()
52 public boolean isUserUnlocked(UserHandle user) { in isUserUnlocked()
71 public long getSerialNumberForUser(UserHandle user) { in getSerialNumberForUser()
97 public boolean requestQuietModeEnabled(boolean enableQuietMode, UserHandle user) { in requestQuietModeEnabled()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java84 List<String> shortcutIds, UserHandle user) { in queryForFullDetails()
93 UserHandle user) { in queryForShortcutsContainer()
105 UserHandle user = key.user; in unpinShortcut() local
124 UserHandle user = key.user; in pinShortcut() local
137 Bundle startActivityOptions, UserHandle user) { in startShortcut()
165 public List<ShortcutInfo> queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
170 List<String> shortcutIds, UserHandle user) { in queryForPinnedShortcuts()
174 public List<ShortcutInfo> queryForAllShortcuts(UserHandle user) { in queryForAllShortcuts()
193 ComponentName activity, List<String> shortcutIds, UserHandle user) { in query()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoleBehavior.java41 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
65 default boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
74 default Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
83 @NonNull TwoTargetPreference preference, @NonNull UserHandle user, in preparePreferenceAsUser()
92 @NonNull UserHandle user, @NonNull Context context) {} in prepareApplicationPreferenceAsUser()
107 default List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
136 @NonNull UserHandle user, @NonNull Context context) {} in onHolderSelectedAsUser()
141 default void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
DAssistantRoleBehavior.java62 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
75 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
82 public Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
96 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
215 public void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
217 Utils.updateUserSensitive((Application) context.getApplicationContext(), user); in onHolderChangedAsUser() local
DHomeRoleBehavior.java56 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
96 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
103 @NonNull UserHandle user, @NonNull Context context) { in preparePreferenceAsUser()
131 @NonNull UserHandle user, @NonNull Context context) { in prepareApplicationPreferenceAsUser()
167 @NonNull UserHandle user, @NonNull Context context) { in onHolderSelectedAsUser()
DDialerRoleBehavior.java43 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
52 @NonNull UserHandle user, @NonNull Context context) { in prepareApplicationPreferenceAsUser()
77 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
DRole.java264 public boolean isAvailableAsUser(@NonNull UserHandle user, @NonNull Context context) { in isAvailableAsUser()
323 public boolean isVisibleAsUser(@NonNull UserHandle user, @NonNull Context context) { in isVisibleAsUser()
350 public Intent getManageIntentAsUser(@NonNull UserHandle user, @NonNull Context context) { in getManageIntentAsUser()
365 @NonNull UserHandle user, @NonNull Context context) { in preparePreferenceAsUser()
380 @NonNull ApplicationInfo applicationInfo, @NonNull UserHandle user, in prepareApplicationPreferenceAsUser()
449 public List<String> getQualifyingPackagesAsUser(@NonNull UserHandle user, in getQualifyingPackagesAsUser()
511 @NonNull String packageName, @NonNull UserHandle user, @NonNull Context context) { in isPackageMinimallyQualifiedAsUser()
666 public void onHolderAddedAsUser(@NonNull String packageName, @NonNull UserHandle user, in onHolderAddedAsUser()
681 public void onHolderSelectedAsUser(@NonNull String packageName, @NonNull UserHandle user, in onHolderSelectedAsUser()
694 public void onHolderChangedAsUser(@NonNull UserHandle user, in onHolderChangedAsUser()
[all …]
DBrowserRoleBehavior.java75 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
91 @NonNull UserHandle user, @NonNull Context context) { in getQualifyingPackagesAsUserInternal()
119 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
/packages/apps/Launcher3/go/src/com/android/launcher3/shortcuts/
DDeepShortcutManager.java69 List<String> shortcutIds, UserHandle user) { in queryForFullDetails()
78 UserHandle user) { in queryForShortcutsContainer()
97 Bundle startActivityOptions, UserHandle user) { in startShortcut()
109 public List<ShortcutInfo> queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
114 List<String> shortcutIds, UserHandle user) { in queryForPinnedShortcuts()
118 public List<ShortcutInfo> queryForAllShortcuts(UserHandle user) { in queryForAllShortcuts()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DUserUtils.java46 public static boolean isWorkProfile(@NonNull UserHandle user, @NonNull Context context) { in isWorkProfile()
62 UserHandle user = Process.myUserHandle(); in getWorkProfile() local
88 public static Context getUserContext(@NonNull Context context, @NonNull UserHandle user) { in getUserContext()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictionUtils.java49 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { in getRestrictions()
69 UserHandle user) { in setRestrictions()
73 um.setUserRestriction(entry.getKey(), !entry.getSelectedState(), user); in setRestrictions() local
/packages/apps/Settings/src/com/android/settings/users/
DRestrictionUtils.java58 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { in getRestrictions()
78 UserHandle user) { in setRestrictions()
81 um.setUserRestriction(entry.getKey(), !entry.getSelectedState(), user); in setRestrictions() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DRestrictionUtils.java58 public static ArrayList<RestrictionEntry> getRestrictions(Context context, UserHandle user) { in getRestrictions()
78 UserHandle user) { in setRestrictions()
81 um.setUserRestriction(entry.getKey(), !entry.getSelectedState(), user); in setRestrictions() local
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DShortcutKey.java19 public ShortcutKey(String packageName, UserHandle user, String id) { in ShortcutKey()
24 public ShortcutKey(ComponentName componentName, UserHandle user) { in ShortcutKey()
37 public static ShortcutKey fromIntent(Intent intent, UserHandle user) { in fromIntent()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java134 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser()
183 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
192 public synchronized void remove(ComponentName componentName, UserHandle user) { in remove()
199 private void removeFromMemCacheLocked(String packageName, UserHandle user) { in removeFromMemCacheLocked()
215 public synchronized void removeIconsForPkg(String packageName, UserHandle user) { in removeIconsForPkg()
251 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() local
289 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
296 public boolean isDefaultIcon(Bitmap icon, UserHandle user) { in isDefaultIcon()
305 @NonNull ComponentName componentName, @NonNull UserHandle user, in cacheLocked()
313 @NonNull ComponentName componentName, @NonNull UserHandle user, in cacheLocked()
[all …]
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/util/
DComponentKey.java27 public final UserHandle user; field in ComponentKey
31 public ComponentKey(ComponentName componentName, UserHandle user) { in ComponentKey()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DDefaultAppActivity.java56 public static Intent createIntent(@NonNull String roleName, @NonNull UserHandle user, in createIntent()
77 UserHandle user = intent.getParcelableExtra(Intent.EXTRA_USER); in onCreate() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java226 UserHandle user = mUserManager.getUserForSerialNumber( in loadAlreadyNotifiedPackagesLocked() local
282 private void markAsNotified(@NonNull String pkg, @NonNull UserHandle user) { in markAsNotified()
295 private void createPermissionReminderChannel(@NonNull UserHandle user) { in createPermissionReminderChannel()
447 UserHandle user = getUserHandleForUid(packageOps.getUid()); in getLocationUsersWithNoNotificationYetLocked() local
566 UserHandle user = getUserHandleForUid(pkg.applicationInfo.uid); in createNotificationForLocationUser() local
703 private void forgetAboutPackage(@NonNull String pkg, @NonNull UserHandle user) { in forgetAboutPackage()
742 UserHandle user = UserHandle.of(myUserId()); in isRunningInParentProfile() local
874 UserHandle user = getParcelableExtraSafe(intent, EXTRA_USER); in onReceive() local
896 UserHandle user = getParcelableExtraSafe(intent, EXTRA_USER); in onReceive() local
935 UserHandle user = getUserHandleForUid(intent.getIntExtra(EXTRA_UID, 0)); in onReceive() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAllAppsList.java127 public void addPackage(Context context, String packageName, UserHandle user) { in addPackage()
140 public void removePackage(String packageName, UserHandle user) { in removePackage()
165 public void updateIconsAndLabels(HashSet<String> packages, UserHandle user, in updateIconsAndLabels()
178 public void updatePackage(Context context, String packageName, UserHandle user) { in updatePackage()
242 @NonNull UserHandle user) { in findAppInfo()
DLauncherModel.java209 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
215 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
219 public void onPackagesRemoved(UserHandle user, String... packages) { in onPackagesRemoved()
225 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
231 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
238 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
247 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
253 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
260 UserHandle user) { in onShortcutsChanged()
265 UserHandle user) { in updatePinnedShortcuts()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAppLaunchTracker.java49 public void onStartShortcut(String packageName, String shortcutId, UserHandle user, in onStartShortcut()
52 public void onStartApp(ComponentName componentName, UserHandle user, in onStartApp()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DItemInfoMatcher.java91 static ItemInfoMatcher ofUser(UserHandle user) { in ofUser()
95 static ItemInfoMatcher ofComponents(HashSet<ComponentName> components, UserHandle user) { in ofComponents()
99 static ItemInfoMatcher ofPackages(HashSet<String> packageNames, UserHandle user) { in ofPackages()

12345678