Home
last modified time | relevance | path

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

12345678

/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompat.java42 default void onPackageRemoved(String packageName, UserHandle user) { } in onPackageRemoved()
43 default void onPackageAdded(String packageName, UserHandle user) { } in onPackageAdded()
44 default void onPackageChanged(String packageName, UserHandle user) { } in onPackageChanged()
45 default void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
47 default void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
49 default void onPackagesSuspended(String[] packageNames, UserHandle user) { } in onPackagesSuspended()
50 default void onPackagesUnsuspended(String[] packageNames, UserHandle user) { } in onPackagesUnsuspended()
52 UserHandle user) { } in onShortcutsChanged()
77 UserHandle user); in getActivityList()
79 UserHandle user); in resolveActivity()
[all …]
DLauncherAppsCompatVL.java63 public List<LauncherActivityInfo> getActivityList(String packageName, UserHandle user) { in getActivityList()
68 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { in resolveActivity()
73 public void startActivityForProfile(ComponentName component, UserHandle user, in startActivityForProfile()
79 public ApplicationInfo getApplicationInfo(String packageName, int flags, UserHandle user) { in getApplicationInfo()
105 public void showAppDetailsForProfile(ComponentName component, UserHandle user, in showAppDetailsForProfile()
131 public boolean isPackageEnabledForProfile(String packageName, UserHandle user) { in isPackageEnabledForProfile()
136 public boolean isActivityEnabledForProfile(ComponentName component, UserHandle user) { in isActivityEnabledForProfile()
148 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
153 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
158 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()
DPackageInstallerCompat.java69 public abstract SessionInfo getActiveSessionInfo(UserHandle user, String pkg); in getActiveSessionInfo()
78 public final UserHandle user; field in PackageInstallerCompat.PackageInstallInfo
88 public PackageInstallInfo(String packageName, int state, int progress, UserHandle user) { in PackageInstallInfo()
100 public static PackageInstallInfo fromState(int state, String packageName, UserHandle user) { in fromState()
/packages/apps/Launcher3/src_shortcuts_overrides/com/android/launcher3/shortcuts/
DDeepShortcutManager.java67 List<String> shortcutIds, UserHandle user) { in queryForFullDetails()
76 UserHandle user) { in queryForShortcutsContainer()
89 UserHandle user = key.user; in unpinShortcut() local
106 UserHandle user = key.user; in pinShortcut() local
117 Bundle startActivityOptions, UserHandle user) { in startShortcut()
140 public QueryResult queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
145 UserHandle user) { in queryForPinnedShortcuts()
149 public QueryResult queryForAllShortcuts(UserHandle user) { in queryForAllShortcuts()
168 List<String> shortcutIds, UserHandle user) { in query()
/packages/apps/Launcher3/go/src/com/android/launcher3/shortcuts/
DDeepShortcutManager.java55 List<String> shortcutIds, UserHandle user) { in queryForFullDetails()
64 UserHandle user) { in queryForShortcutsContainer()
83 Bundle startActivityOptions, UserHandle user) { in startShortcut()
95 public QueryResult queryForPinnedShortcuts(String packageName, UserHandle user) { in queryForPinnedShortcuts()
100 List<String> shortcutIds, UserHandle user) { in queryForPinnedShortcuts()
104 public QueryResult queryForAllShortcuts(UserHandle user) { in queryForAllShortcuts()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoleBehavior.java46 default boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
70 default boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
79 default Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
88 @NonNull TwoTargetPreference preference, @NonNull UserHandle user, in preparePreferenceAsUser()
95 @NonNull ApplicationInfo applicationInfo, @NonNull UserHandle user, in isApplicationVisibleAsUser()
106 @NonNull UserHandle user, @NonNull Context context) {} in prepareApplicationPreferenceAsUser()
121 default List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
150 @NonNull UserHandle user, @NonNull Context context) {} in onHolderSelectedAsUser()
155 default void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
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()
130 @NonNull ApplicationInfo applicationInfo, @NonNull UserHandle user, in isApplicationVisibleAsUser()
139 @NonNull UserHandle user, @NonNull Context context) { in prepareApplicationPreferenceAsUser()
172 @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()
DAssistantRoleBehavior.java78 public boolean isAvailableAsUser(@NonNull Role role, @NonNull UserHandle user, in isAvailableAsUser()
91 public boolean isVisibleAsUser(@NonNull Role role, @NonNull UserHandle user, in isVisibleAsUser()
98 public Intent getManageIntentAsUser(@NonNull Role role, @NonNull UserHandle user, in getManageIntentAsUser()
112 public List<String> getQualifyingPackagesAsUser(@NonNull Role role, @NonNull UserHandle user, in getQualifyingPackagesAsUser()
231 public void onHolderChangedAsUser(@NonNull Role role, @NonNull UserHandle user, in onHolderChangedAsUser()
233 Utils.updateUserSensitive((Application) context.getApplicationContext(), user); in onHolderChangedAsUser() local
DRole.java275 public boolean isAvailableAsUser(@NonNull UserHandle user, @NonNull Context context) { in isAvailableAsUser()
334 public boolean isVisibleAsUser(@NonNull UserHandle user, @NonNull Context context) { in isVisibleAsUser()
361 public Intent getManageIntentAsUser(@NonNull UserHandle user, @NonNull Context context) { in getManageIntentAsUser()
376 @NonNull UserHandle user, @NonNull Context context) { in preparePreferenceAsUser()
392 @NonNull UserHandle user, @NonNull Context context) { in isApplicationVisibleAsUser()
408 @NonNull ApplicationInfo applicationInfo, @NonNull UserHandle user, in prepareApplicationPreferenceAsUser()
477 public List<String> getQualifyingPackagesAsUser(@NonNull UserHandle user, in getQualifyingPackagesAsUser()
539 @NonNull String packageName, @NonNull UserHandle user, @NonNull Context context) { in isPackageMinimallyQualifiedAsUser()
694 public void onHolderAddedAsUser(@NonNull String packageName, @NonNull UserHandle user, in onHolderAddedAsUser()
709 public void onHolderSelectedAsUser(@NonNull String packageName, @NonNull UserHandle user, in onHolderSelectedAsUser()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherModel.java137 public void updateSessionDisplayInfo(final String packageName, final UserHandle user) { in updateSessionDisplayInfo()
171 public void onPackageChanged(String packageName, UserHandle user) { in onPackageChanged()
176 public void onSessionFailure(String packageName, UserHandle user) { in onSessionFailure()
201 public void onPackageRemoved(String packageName, UserHandle user) { in onPackageRemoved()
205 public void onPackagesRemoved(UserHandle user, String... packages) { in onPackagesRemoved()
212 public void onPackageAdded(String packageName, UserHandle user) { in onPackageAdded()
218 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable()
225 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable()
234 public void onPackagesSuspended(String[] packageNames, UserHandle user) { in onPackagesSuspended()
240 public void onPackagesUnsuspended(String[] packageNames, UserHandle user) { in onPackagesUnsuspended()
[all …]
/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/Launcher3/src_plugins/com/android/systemui/plugins/
DAppLaunchEventsPlugin.java35 void onStartShortcut(String packageName, String shortcutId, UserHandle user, String container); in onStartShortcut()
41 void onStartApp(ComponentName componentName, UserHandle user, String container); in onStartApp()
47 void onDismissApp(ComponentName componentName, UserHandle user, String container); in onDismissApp()
/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/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/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/Launcher3/src/com/android/launcher3/model/
DAppLaunchTracker.java48 public void onStartShortcut(String packageName, String shortcutId, UserHandle user, in onStartShortcut()
51 public void onStartApp(ComponentName componentName, UserHandle user, in onStartApp()
54 public void onDismissApp(ComponentName componentName, UserHandle user, in onDismissApp()
DAllAppsList.java129 UserHandle user = Process.myUserHandle(); in updatePromiseInstallInfo() local
166 public void addPackage(Context context, String packageName, UserHandle user) { in addPackage()
179 public void removePackage(String packageName, UserHandle user) { in removePackage()
203 public void updateIconsAndLabels(HashSet<String> packages, UserHandle user) { in updateIconsAndLabels()
216 public void updatePackage(Context context, String packageName, UserHandle user) { in updatePackage()
279 @NonNull UserHandle user) { in findAppInfo()
/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/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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java137 protected abstract long getSerialNumberForUser(UserHandle user); in getSerialNumberForUser()
186 private BitmapInfo makeDefaultIcon(UserHandle user) { in makeDefaultIcon()
195 public synchronized void remove(ComponentName componentName, UserHandle user) { in remove()
202 private void removeFromMemCacheLocked(String packageName, UserHandle user) { in removeFromMemCacheLocked()
218 public synchronized void removeIconsForPkg(String packageName, UserHandle user) { in removeIconsForPkg()
254 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() local
296 public synchronized BitmapInfo getDefaultIcon(UserHandle user) { in getDefaultIcon()
303 public boolean isDefaultIcon(Bitmap icon, UserHandle user) { in isDefaultIcon()
312 @NonNull ComponentName componentName, @NonNull UserHandle user, in cacheLocked()
377 public synchronized void cachePackageInstallInfo(String packageName, UserHandle user, in cachePackageInstallInfo()
[all …]
/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 …]

12345678